46 #define imake_ccflags "-DSYSV"
48 #define imake_ccflags "-Wc,-Nd4000,-Ns3000 -DSYSV"
52 #if defined(macII) || defined(_AUX_SOURCE)
53 #define imake_ccflags "-DmacII -DSYSV"
57 #define imake_ccflags "-DSYSV"
60 #if defined(USL) || defined(Oki) || defined(NCR)
61 #define imake_ccflags "-Xc -DSVR4"
65 #if defined(SYSTYPE_SYSV) || defined(_SYSTYPE_SYSV)
66 #define imake_ccflags "-DSVR4"
68 #include <sys/param.h>
70 #define imake_ccflags "-Dbsd43 -DNOSTDHDRS"
73 #define imake_ccflags "-Dbsd43"
80 #define imake_ccflags "-DSYSV -DUSG"
83 #if defined(_IBMR2) || defined(aix)
84 #define imake_ccflags "-Daix -DSYSV"
88 # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
89 # define imake_ccflags "-DBSD43"
91 # define imake_ccflags "-DSYSV"
96 #define imake_ccflags "-Dluna -Duniosb"
101 # define imake_ccflags "-Xc -DSVR4"
103 # define imake_ccflags "-DSYSV"
109 # define imake_ccflags "-Xc -DSVR4"
115 # define imake_ccflags "-DSYSV"
120 #define imake_ccflags "-fn -tm c1"
124 #define imake_ccflags "-DX_NOT_POSIX"
128 #define imake_ccflags "-nologo -batch -D__STDC__"
132 #define imake_ccflags "-DSVR4 -DANSICPP"
136 #define imake_ccflags "-DSYSV -DUSG -DNOSTDHDRS"
140 #define imake_ccflags "-DX_NOT_STDC_ENV -DX_NOT_POSIX"
144 #define imake_ccflags "-DSYSV -DUSG"
147 #if defined(SX) || defined(PC_UX)
148 #define imake_ccflags "-DSYSV"
152 #define imake_ccflags "-DUSG"
155 #if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up) || defined(_nec_ft)
156 #define imake_ccflags "-DSVR4"
160 #define imake_ccflags "-DNOSTDHDRS"
165 #define imake_ccflags "-DBSD43"
176 #if defined(SYSV) && !defined(_CRAY) && !defined(Mips) && !defined(_SEQUENT_)
177 #define dup2(fd1,fd2) ((fd1 == fd2) ? fd1 : (close(fd2), \
178 fcntl(fd1, F_DUPFD, fd2)))
191 #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || (defined(AMOEBA) && defined(CROSS_COMPILE))
192 #define FIXUP_CPP_WHITESPACE
195 #define REMOVE_CPP_LEADSPACE
196 #define INLINE_SYNTAX
197 #define MAGIC_MAKE_VARS
200 #define FIXUP_CPP_WHITESPACE
214 #define DEFAULT_CC "cl"
217 #define DEFAULT_CPP "/usr/lib/cpp"
219 #if defined(_IBMR2) && !defined(DEFAULT_CPP)
220 #define DEFAULT_CPP "/usr/lpp/X11/Xamples/util/cpp/cpp"
222 #if defined(sun) && defined(SVR4)
223 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
226 #define DEFAULT_CPP "/usr/bin/cpp"
229 #define DEFAULT_CPP "/usr/ccs/lib/cpp"
232 #define DEFAULT_CPP "/usr/lib/cpp"
235 #define DEFAULT_CPP "/lib/pcpp"
237 #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
238 #define DEFAULT_CPP "/usr/libexec/cpp"
244 #define DEFAULT_CPP "/usr/lib/cpp"
248 #define DEFAULT_CPP "cpp"
275 #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(MACH)
289 #if defined(macII) || defined(_AUX_SOURCE)
297 #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
336 # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
479 # ifdef CROSS_COMPILE
487 # ifdef CROSS_mc68000
519 struct symtab predefs[] = {
557 {
"__hp9000s800",
"1"},
560 {
"__hp9000s700",
"1"},
599 {(
char *)
"__GNUC__", (
char *)
"1"},
602 {(
char *)
"__STDC__", (
char *)
"1"},
652 {
"SYSTYPE_SYSV",
"1"},
655 {
"_SYSTYPE_SYSV",
"1"},
687 {
"nec_ews_svr2",
"1"},
690 {
"nec_ews_svr4",
"1"},
693 {
"_nec_ews_svr4",
"1"},
708 {(
char *)
"PC_UX", (
char *)
"1"},
char * cpp_argv[ARGUMENTS]