#!/bin/sh # A wrapper for CPP (C preprocessor) # specially for rpcgen source files (*.x) # which uses "%#ifdef " while # is defined by default in GCC's CPP # For example: # "%#ifdef _LP64" will become "#ifdef 1" # instead of "#ifdef _LP64", because GNU CPP # defines _LP64 by default. # # Used as: # RCPGEN='rpcgen -Y $(CURDIR)/debian' set -x set -e exec /usr/bin/cpp -U_LP64 -U__STDC__ "$@"