imakemdep.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. /* $XConsortium: imakemdep.h,v 1.83 95/04/07 19:47:46 kaleb Exp $ */
  2. /* $XFree86: xc/config/imake/imakemdep.h,v 3.12 1995/07/08 10:22:17 dawes Exp $ */
  3. /*
  4. Copyright (c) 1993, 1994 X Consortium
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in
  12. all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  17. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  18. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. Except as contained in this notice, the name of the X Consortium shall not be
  20. used in advertising or otherwise to promote the sale, use or other dealings
  21. in this Software without prior written authorization from the X Consortium.
  22. */
  23. /*
  24. * This file contains machine-dependent constants for the imake utility.
  25. * When porting imake, read each of the steps below and add in any necessary
  26. * definitions. In general you should *not* edit ccimake.c or imake.c!
  27. */
  28. #ifdef CCIMAKE
  29. /*
  30. * Step 1: imake_ccflags
  31. * Define any special flags that will be needed to get imake.c to compile.
  32. * These will be passed to the compile along with the contents of the
  33. * make variable BOOTSTRAPCFLAGS.
  34. */
  35. #ifdef hpux
  36. #ifdef hp9000s800
  37. #define imake_ccflags "-DSYSV"
  38. #else
  39. #define imake_ccflags "-Wc,-Nd4000,-Ns3000 -DSYSV"
  40. #endif
  41. #endif
  42. #if defined(macII) || defined(_AUX_SOURCE)
  43. #define imake_ccflags "-DmacII -DSYSV"
  44. #endif
  45. #ifdef stellar
  46. #define imake_ccflags "-DSYSV"
  47. #endif
  48. #if defined(USL) || defined(Oki) || defined(NCR)
  49. #define imake_ccflags "-Xc -DSVR4"
  50. #endif
  51. #ifdef sony
  52. #if defined(SYSTYPE_SYSV) || defined(_SYSTYPE_SYSV)
  53. #define imake_ccflags "-DSVR4"
  54. #else
  55. #include <sys/param.h>
  56. #if NEWSOS < 41
  57. #define imake_ccflags "-Dbsd43 -DNOSTDHDRS"
  58. #else
  59. #if NEWSOS < 42
  60. #define imake_ccflags "-Dbsd43"
  61. #endif
  62. #endif
  63. #endif
  64. #endif
  65. #ifdef _CRAY
  66. #define imake_ccflags "-DSYSV -DUSG"
  67. #endif
  68. #if defined(_IBMR2) || defined(aix)
  69. #define imake_ccflags "-Daix -DSYSV"
  70. #endif
  71. #ifdef Mips
  72. # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
  73. # define imake_ccflags "-DBSD43"
  74. # else
  75. # define imake_ccflags "-DSYSV"
  76. # endif
  77. #endif
  78. #ifdef is68k
  79. #define imake_ccflags "-Dluna -Duniosb"
  80. #endif
  81. #ifdef SYSV386
  82. # ifdef SVR4
  83. # define imake_ccflags "-Xc -DSVR4"
  84. # else
  85. # define imake_ccflags "-DSYSV"
  86. # endif
  87. #endif
  88. #ifdef SVR4
  89. # ifdef i386
  90. # define imake_ccflags "-Xc -DSVR4"
  91. # endif
  92. #endif
  93. #ifdef SYSV
  94. # ifdef i386
  95. # define imake_ccflags "-DSYSV"
  96. # endif
  97. #endif
  98. #ifdef __convex__
  99. #define imake_ccflags "-fn -tm c1"
  100. #endif
  101. #ifdef apollo
  102. #define imake_ccflags "-DX_NOT_POSIX"
  103. #endif
  104. #ifdef WIN32
  105. #define imake_ccflags "-nologo -batch -D__STDC__"
  106. #endif
  107. #ifdef __uxp__
  108. #define imake_ccflags "-DSVR4 -DANSICPP"
  109. #endif
  110. #ifdef __sxg__
  111. #define imake_ccflags "-DSYSV -DUSG -DNOSTDHDRS"
  112. #endif
  113. #ifdef sequent
  114. #define imake_ccflags "-DX_NOT_STDC_ENV -DX_NOT_POSIX"
  115. #endif
  116. #ifdef _SEQUENT_
  117. #define imake_ccflags "-DSYSV -DUSG"
  118. #endif
  119. #if defined(SX) || defined(PC_UX)
  120. #define imake_ccflags "-DSYSV"
  121. #endif
  122. #ifdef nec_ews_svr2
  123. #define imake_ccflags "-DUSG"
  124. #endif
  125. #if defined(nec_ews_svr4) || defined(_nec_ews_svr4) || defined(_nec_up) || defined(_nec_ft)
  126. #define imake_ccflags "-DSVR4"
  127. #endif
  128. #ifdef MACH
  129. #define imake_ccflags "-DNOSTDHDRS"
  130. #endif
  131. /* this is for OS/2 under EMX. This won't work with DOS */
  132. #if defined(__EMX__)
  133. #define imake_ccflags "-DBSD43"
  134. #endif
  135. #else /* not CCIMAKE */
  136. #ifndef MAKEDEPEND
  137. /*
  138. * Step 2: dup2
  139. * If your OS doesn't have a dup2() system call to duplicate one file
  140. * descriptor onto another, define such a mechanism here (if you don't
  141. * already fall under the existing category(ies).
  142. */
  143. #if defined(SYSV) && !defined(_CRAY) && !defined(Mips) && !defined(_SEQUENT_)
  144. #define dup2(fd1,fd2) ((fd1 == fd2) ? fd1 : (close(fd2), \
  145. fcntl(fd1, F_DUPFD, fd2)))
  146. #endif
  147. /*
  148. * Step 3: FIXUP_CPP_WHITESPACE
  149. * If your cpp collapses tabs macro expansions into a single space and
  150. * replaces escaped newlines with a space, define this symbol. This will
  151. * cause imake to attempt to patch up the generated Makefile by looking
  152. * for lines that have colons in them (this is why the rules file escapes
  153. * all colons). One way to tell if you need this is to see whether or not
  154. * your Makefiles have no tabs in them and lots of @@ strings.
  155. */
  156. #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || (defined(AMOEBA) && defined(CROSS_COMPILE))
  157. #define FIXUP_CPP_WHITESPACE
  158. #endif
  159. #ifdef WIN32
  160. #define REMOVE_CPP_LEADSPACE
  161. #define INLINE_SYNTAX
  162. #define MAGIC_MAKE_VARS
  163. #endif
  164. #ifdef __minix_vmd
  165. #define FIXUP_CPP_WHITESPACE
  166. #endif
  167. /*
  168. * Step 4: USE_CC_E, DEFAULT_CC, DEFAULT_CPP
  169. * If you want to use cc -E instead of cpp, define USE_CC_E.
  170. * If use cc -E but want a different compiler, define DEFAULT_CC.
  171. * If the cpp you need is not in /lib/cpp, define DEFAULT_CPP.
  172. */
  173. #ifdef hpux
  174. #define USE_CC_E
  175. #endif
  176. #ifdef WIN32
  177. #define USE_CC_E
  178. #define DEFAULT_CC "cl"
  179. #endif
  180. #ifdef apollo
  181. #define DEFAULT_CPP "/usr/lib/cpp"
  182. #endif
  183. #if defined(_IBMR2) && !defined(DEFAULT_CPP)
  184. #define DEFAULT_CPP "/usr/lpp/X11/Xamples/util/cpp/cpp"
  185. #endif
  186. #if defined(sun) && defined(SVR4)
  187. #define DEFAULT_CPP "/usr/ccs/lib/cpp"
  188. #endif
  189. #ifdef __bsdi__
  190. #define DEFAULT_CPP "/usr/bin/cpp"
  191. #endif
  192. #ifdef __uxp__
  193. #define DEFAULT_CPP "/usr/ccs/lib/cpp"
  194. #endif
  195. #ifdef __sxg__
  196. #define DEFAULT_CPP "/usr/lib/cpp"
  197. #endif
  198. #ifdef _CRAY
  199. #define DEFAULT_CPP "/lib/pcpp"
  200. #endif
  201. #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
  202. #define DEFAULT_CPP "/usr/libexec/cpp"
  203. #endif
  204. #ifdef MACH
  205. #define USE_CC_E
  206. #endif
  207. #ifdef __minix_vmd
  208. #define DEFAULT_CPP "/usr/lib/cpp"
  209. #endif
  210. #if defined(__EMX__)
  211. /* expects cpp in PATH */
  212. #define DEFAULT_CPP "cpp"
  213. #endif
  214. /*
  215. * Step 5: cpp_argv
  216. * The following table contains the flags that should be passed
  217. * whenever a Makefile is being generated. If your preprocessor
  218. * doesn't predefine any unique symbols, choose one and add it to the
  219. * end of this table. Then, do the following:
  220. *
  221. * a. Use this symbol in Imake.tmpl when setting MacroFile.
  222. * b. Put this symbol in the definition of BootstrapCFlags in your
  223. * <platform>.cf file.
  224. * c. When doing a make World, always add "BOOTSTRAPCFLAGS=-Dsymbol"
  225. * to the end of the command line.
  226. *
  227. * Note that you may define more than one symbol (useful for platforms
  228. * that support multiple operating systems).
  229. */
  230. #define ARGUMENTS 50 /* number of arguments in various arrays */
  231. char *cpp_argv[ARGUMENTS] = {
  232. "cc", /* replaced by the actual program to exec */
  233. "-I.", /* add current directory to include path */
  234. #ifdef unix
  235. "-Uunix", /* remove unix symbol so that filename unix.c okay */
  236. #endif
  237. #if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
  238. # ifdef __i386__
  239. "-D__i386__",
  240. # endif
  241. # ifdef __x86_64__
  242. "-D__x86_64__",
  243. # endif
  244. # ifdef __GNUC__
  245. "-traditional",
  246. # endif
  247. #endif
  248. #ifdef M4330
  249. "-DM4330", /* Tektronix */
  250. #endif
  251. #ifdef M4310
  252. "-DM4310", /* Tektronix */
  253. #endif
  254. #if defined(macII) || defined(_AUX_SOURCE)
  255. "-DmacII", /* Apple A/UX */
  256. #endif
  257. #ifdef USL
  258. "-DUSL", /* USL */
  259. #endif
  260. #ifdef sony
  261. "-Dsony", /* Sony */
  262. #if !defined(SYSTYPE_SYSV) && !defined(_SYSTYPE_SYSV) && NEWSOS < 42
  263. "-Dbsd43",
  264. #endif
  265. #endif
  266. #ifdef _IBMR2
  267. "-D_IBMR2", /* IBM RS-6000 (we ensured that aix is defined above */
  268. #ifndef aix
  269. #define aix /* allow BOOTSTRAPCFLAGS="-D_IBMR2" */
  270. #endif
  271. #endif /* _IBMR2 */
  272. #ifdef aix
  273. "-Daix", /* AIX instead of AOS */
  274. #ifndef ibm
  275. #define ibm /* allow BOOTSTRAPCFLAGS="-Daix" */
  276. #endif
  277. #endif /* aix */
  278. #ifdef ibm
  279. "-Dibm", /* IBM PS/2 and RT under both AOS and AIX */
  280. #endif
  281. #ifdef luna
  282. "-Dluna", /* OMRON luna 68K and 88K */
  283. #ifdef luna1
  284. "-Dluna1",
  285. #endif
  286. #ifdef luna88k /* need not on UniOS-Mach Vers. 1.13 */
  287. "-traditional", /* for some older version */
  288. #endif /* instead of "-DXCOMM=\\#" */
  289. #ifdef uniosb
  290. "-Duniosb",
  291. #endif
  292. #ifdef uniosu
  293. "-Duniosu",
  294. #endif
  295. #endif /* luna */
  296. #ifdef _CRAY /* Cray */
  297. "-Ucray",
  298. #endif
  299. #ifdef Mips
  300. "-DMips", /* Define and use Mips for Mips Co. OS/mach. */
  301. # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43)
  302. "-DBSD43", /* Mips RISCOS supports two environments */
  303. # else
  304. "-DSYSV", /* System V environment is the default */
  305. # endif
  306. #endif /* Mips */
  307. #ifdef MOTOROLA
  308. "-DMOTOROLA", /* Motorola Delta Systems */
  309. # ifdef SYSV
  310. "-DSYSV",
  311. # endif
  312. # ifdef SVR4
  313. "-DSVR4",
  314. # endif
  315. #endif /* MOTOROLA */
  316. #ifdef i386
  317. "-Di386",
  318. # ifdef SVR4
  319. "-DSVR4",
  320. # endif
  321. # ifdef SYSV
  322. "-DSYSV",
  323. # ifdef ISC
  324. "-DISC",
  325. # ifdef ISC40
  326. "-DISC40", /* ISC 4.0 */
  327. # else
  328. # ifdef ISC202
  329. "-DISC202", /* ISC 2.0.2 */
  330. # else
  331. # ifdef ISC30
  332. "-DISC30", /* ISC 3.0 */
  333. # else
  334. "-DISC22", /* ISC 2.2.1 */
  335. # endif
  336. # endif
  337. # endif
  338. # endif
  339. # ifdef SCO
  340. "-DSCO",
  341. # ifdef SCO324
  342. "-DSCO324",
  343. # endif
  344. # endif
  345. # endif
  346. # ifdef ESIX
  347. "-DESIX",
  348. # endif
  349. # ifdef ATT
  350. "-DATT",
  351. # endif
  352. # ifdef DELL
  353. "-DDELL",
  354. # endif
  355. #endif
  356. #ifdef SYSV386 /* System V/386 folks, obsolete */
  357. "-Di386",
  358. # ifdef SVR4
  359. "-DSVR4",
  360. # endif
  361. # ifdef ISC
  362. "-DISC",
  363. # ifdef ISC40
  364. "-DISC40", /* ISC 4.0 */
  365. # else
  366. # ifdef ISC202
  367. "-DISC202", /* ISC 2.0.2 */
  368. # else
  369. # ifdef ISC30
  370. "-DISC30", /* ISC 3.0 */
  371. # else
  372. "-DISC22", /* ISC 2.2.1 */
  373. # endif
  374. # endif
  375. # endif
  376. # endif
  377. # ifdef SCO
  378. "-DSCO",
  379. # ifdef SCO324
  380. "-DSCO324",
  381. # endif
  382. # endif
  383. # ifdef ESIX
  384. "-DESIX",
  385. # endif
  386. # ifdef ATT
  387. "-DATT",
  388. # endif
  389. # ifdef DELL
  390. "-DDELL",
  391. # endif
  392. #endif
  393. #ifdef __osf__
  394. "-D__osf__",
  395. # ifdef __mips__
  396. "-D__mips__",
  397. # endif
  398. # ifdef __alpha
  399. "-D__alpha",
  400. # endif
  401. # ifdef __i386__
  402. "-D__i386__",
  403. # endif
  404. # ifdef __GNUC__
  405. "-traditional",
  406. # endif
  407. #endif
  408. #ifdef Oki
  409. "-DOki",
  410. #endif
  411. #ifdef sun
  412. #ifdef SVR4
  413. "-DSVR4",
  414. #endif
  415. #endif
  416. #ifdef WIN32
  417. "-DWIN32",
  418. "-nologo",
  419. "-batch",
  420. "-D__STDC__",
  421. #endif
  422. #ifdef NCR
  423. "-DNCR", /* NCR */
  424. #endif
  425. #ifdef linux
  426. "-traditional",
  427. "-Dlinux",
  428. #endif
  429. #ifdef __uxp__
  430. "-D__uxp__",
  431. #endif
  432. #ifdef __sxg__
  433. "-D__sxg__",
  434. #endif
  435. #ifdef nec_ews_svr2
  436. "-Dnec_ews_svr2",
  437. #endif
  438. #ifdef AMOEBA
  439. "-DAMOEBA",
  440. # ifdef CROSS_COMPILE
  441. "-DCROSS_COMPILE",
  442. # ifdef CROSS_i80386
  443. "-Di80386",
  444. # endif
  445. # ifdef CROSS_sparc
  446. "-Dsparc",
  447. # endif
  448. # ifdef CROSS_mc68000
  449. "-Dmc68000",
  450. # endif
  451. # else
  452. # ifdef i80386
  453. "-Di80386",
  454. # endif
  455. # ifdef sparc
  456. "-Dsparc",
  457. # endif
  458. # ifdef mc68000
  459. "-Dmc68000",
  460. # endif
  461. # endif
  462. #endif
  463. #ifdef __minix_vmd
  464. "-Dminix",
  465. #endif
  466. #if defined(__EMX__)
  467. "-traditional",
  468. "-Demxos2",
  469. #endif
  470. };
  471. #else /* else MAKEDEPEND */
  472. /*
  473. * Step 6: predefs
  474. * If your compiler and/or preprocessor define any specific symbols, add
  475. * them to the the following table. The definition of struct symtab is
  476. * in util/makedepend/def.h.
  477. */
  478. #define QUOTEIT(x) #x
  479. #define QUOTEEXPANSION(x) QUOTEIT(x)
  480. struct symtab predefs[] = {
  481. #ifdef apollo
  482. {"apollo", "1"},
  483. #endif
  484. #ifdef ibm032
  485. {"ibm032", "1"},
  486. #endif
  487. #ifdef ibm
  488. {"ibm", "1"},
  489. #endif
  490. #ifdef aix
  491. {"aix", "1"},
  492. #endif
  493. #ifdef sun
  494. {"sun", "1"},
  495. #endif
  496. #ifdef sun2
  497. {"sun2", "1"},
  498. #endif
  499. #ifdef sun3
  500. {"sun3", "1"},
  501. #endif
  502. #ifdef sun4
  503. {"sun4", "1"},
  504. #endif
  505. #ifdef sparc
  506. {"sparc", "1"},
  507. #endif
  508. #ifdef __sparc__
  509. {"__sparc__", "1"},
  510. #endif
  511. #ifdef hpux
  512. {"hpux", "1"},
  513. #endif
  514. #ifdef __hpux
  515. {"__hpux", "1"},
  516. #endif
  517. #ifdef __hp9000s800
  518. {"__hp9000s800", "1"},
  519. #endif
  520. #ifdef __hp9000s700
  521. {"__hp9000s700", "1"},
  522. #endif
  523. #ifdef vax
  524. {"vax", "1"},
  525. #endif
  526. #ifdef VMS
  527. {"VMS", "1"},
  528. #endif
  529. #ifdef cray
  530. {"cray", "1"},
  531. #endif
  532. #ifdef CRAY
  533. {"CRAY", "1"},
  534. #endif
  535. #ifdef _CRAY
  536. {"_CRAY", "1"},
  537. #endif
  538. #ifdef att
  539. {"att", "1"},
  540. #endif
  541. #ifdef mips
  542. {"mips", "1"},
  543. #endif
  544. #ifdef __mips__
  545. {"__mips__", "1"},
  546. #endif
  547. #ifdef ultrix
  548. {"ultrix", "1"},
  549. #endif
  550. #ifdef stellar
  551. {"stellar", "1"},
  552. #endif
  553. #ifdef mc68000
  554. {"mc68000", "1"},
  555. #endif
  556. #ifdef mc68020
  557. {"mc68020", "1"},
  558. #endif
  559. #ifdef __GNUC__
  560. {"__GNUC__", "1"},
  561. #endif
  562. #if __STDC__
  563. {"__STDC__", "1"},
  564. #endif
  565. #ifdef __HIGHC__
  566. {"__HIGHC__", "1"},
  567. #endif
  568. #ifdef CMU
  569. {"CMU", "1"},
  570. #endif
  571. #ifdef luna
  572. {"luna", "1"},
  573. #ifdef luna1
  574. {"luna1", "1"},
  575. #endif
  576. #ifdef luna2
  577. {"luna2", "1"},
  578. #endif
  579. #ifdef luna88k
  580. {"luna88k", "1"},
  581. #endif
  582. #ifdef uniosb
  583. {"uniosb", "1"},
  584. #endif
  585. #ifdef uniosu
  586. {"uniosu", "1"},
  587. #endif
  588. #endif
  589. #ifdef ieeep754
  590. {"ieeep754", "1"},
  591. #endif
  592. #ifdef is68k
  593. {"is68k", "1"},
  594. #endif
  595. #ifdef m68k
  596. {"m68k", "1"},
  597. #endif
  598. #ifdef m88k
  599. {"m88k", "1"},
  600. #endif
  601. #ifdef __m88k__
  602. {"__m88k__", "1"},
  603. #endif
  604. #ifdef bsd43
  605. {"bsd43", "1"},
  606. #endif
  607. #ifdef hcx
  608. {"hcx", "1"},
  609. #endif
  610. #ifdef sony
  611. {"sony", "1"},
  612. #ifdef SYSTYPE_SYSV
  613. {"SYSTYPE_SYSV", "1"},
  614. #endif
  615. #ifdef _SYSTYPE_SYSV
  616. {"_SYSTYPE_SYSV", "1"},
  617. #endif
  618. #endif
  619. #ifdef __OSF__
  620. {"__OSF__", "1"},
  621. #endif
  622. #ifdef __osf__
  623. {"__osf__", "1"},
  624. #endif
  625. #ifdef __alpha
  626. {"__alpha", "1"},
  627. #endif
  628. #ifdef __DECC
  629. {"__DECC", "1"},
  630. #endif
  631. #ifdef __decc
  632. {"__decc", "1"},
  633. #endif
  634. #ifdef __uxp__
  635. {"__uxp__", "1"},
  636. #endif
  637. #ifdef __sxg__
  638. {"__sxg__", "1"},
  639. #endif
  640. #ifdef _SEQUENT_
  641. {"_SEQUENT_", "1"},
  642. {"__STDC__", "1"},
  643. #endif
  644. #ifdef __bsdi__
  645. {"__bsdi__", "1"},
  646. #endif
  647. #ifdef nec_ews_svr2
  648. {"nec_ews_svr2", "1"},
  649. #endif
  650. #ifdef nec_ews_svr4
  651. {"nec_ews_svr4", "1"},
  652. #endif
  653. #ifdef _nec_ews_svr4
  654. {"_nec_ews_svr4", "1"},
  655. #endif
  656. #ifdef _nec_up
  657. {"_nec_up", "1"},
  658. #endif
  659. #ifdef SX
  660. {"SX", "1"},
  661. #endif
  662. #ifdef nec
  663. {"nec", "1"},
  664. #endif
  665. #ifdef _nec_ft
  666. {"_nec_ft", "1"},
  667. #endif
  668. #ifdef PC_UX
  669. {"PC_UX", "1"},
  670. #endif
  671. #ifdef sgi
  672. {"sgi", "1"},
  673. #endif
  674. #ifdef __sgi
  675. {"__sgi", "1"},
  676. #endif
  677. #ifdef __FreeBSD__
  678. {"__FreeBSD__", "1"},
  679. #endif
  680. #ifdef __NetBSD__
  681. {"__NetBSD__", "1"},
  682. #endif
  683. #ifdef __OpenBSD__
  684. {"__OpenBSD__", "1"},
  685. #endif
  686. #ifdef __EMX__
  687. {"__EMX__", "1"},
  688. #endif
  689. /* ADDED THE FOLLOWING SYMBOLS FOR WINDOWS */
  690. #ifdef _WIN32
  691. {"_WIN32", QUOTEEXPANSION(_WIN32) },
  692. #endif
  693. #ifdef _WIN64
  694. {"_WIN64", QUOTEEXPANSION(_WIN64) },
  695. #endif
  696. #ifdef _X86
  697. {"_X86", QUOTEEXPANSION(_X86) },
  698. #endif
  699. #ifdef _X86_
  700. {"_X86_", QUOTEEXPANSION(_X86_) },
  701. #endif
  702. #ifdef _X86_64
  703. {"_X86_64", QUOTEEXPANSION(_X86_64) },
  704. #endif
  705. #ifdef _X86_64_
  706. {"_X86_64_", QUOTEEXPANSION(_X86_64_) },
  707. #endif
  708. #ifdef _DEBUG
  709. {"_DEBUG", QUOTEEXPANSION(_DEBUG) },
  710. #endif
  711. #ifdef _DLL
  712. {"_DLL", QUOTEEXPANSION(_DLL) },
  713. #endif
  714. #ifdef _M_IX86
  715. {"_M_IX86", QUOTEEXPANSION(_M_IX86) },
  716. #endif
  717. #ifdef _M_X64
  718. {"_M_X64", QUOTEEXPANSION(_M_X64) },
  719. #endif
  720. #ifdef _MSC_FULL_VER
  721. {"_MSC_FULL_VER", QUOTEEXPANSION(_MSC_FULL_VER) },
  722. #endif
  723. #ifdef _MSC_VER
  724. {"_MSC_VER", QUOTEEXPANSION(_MSC_VER) },
  725. #endif
  726. #ifdef _MSVC_RUNTIME_CHECKS
  727. {"_MSVC_RUNTIME_CHECKS", QUOTEEXPANSION(_MSVC_RUNTIME_CHECKS) },
  728. #endif
  729. #ifdef _MT
  730. {"_MT", QUOTEEXPANSION(_MT) },
  731. #endif
  732. #ifdef _CHAR_UNSIGNED
  733. {"_CHAR_UNSIGNED", QUOTEEXPANSION(_CHAR_UNSIGNED) },
  734. #endif
  735. /* add any additional symbols before this line */
  736. {NULL, NULL}
  737. };
  738. #endif /* MAKEDEPEND */
  739. #endif /* CCIMAKE */