LocalSetup.pp 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. //
  2. // LocalSetup.pp
  3. //
  4. // This file contains further instructions to set up the DTOOL package
  5. // when using ppremake. In particular, it creates the dtool_config.h
  6. // file based on the user's selected configure variables. This script
  7. // need not execute when BUILD_TYPE is "autoconf"; in this case, the
  8. // dtool_config.h file will automatically be correctly generated by
  9. // configure.
  10. //
  11. #if $[ne $[BUILD_TYPE],autoconf]
  12. #output dtool_config.h notouch
  13. #format straight
  14. /* dtool_config.h. Generated automatically by $[PPREMAKE] $[PPREMAKE_VERSION] from $[SOURCEFILE]. */
  15. /* Define if your processor stores words with the most significant
  16. byte first (like Motorola and SPARC, unlike Intel and VAX). */
  17. $[cdefine WORDS_BIGENDIAN]
  18. /* Define if the C++ compiler uses namespaces. */
  19. $[cdefine HAVE_NAMESPACE]
  20. /* Define if the C++ iostream library supports ios::binary. */
  21. $[cdefine HAVE_IOS_BINARY]
  22. /* Define if we can trust the compiler not to insert extra bytes in
  23. structs between base structs and derived structs. */
  24. $[cdefine SIMPLE_STRUCT_POINTERS]
  25. /* Define if we have Dinkumware STL installed. */
  26. $[cdefine HAVE_DINKUM]
  27. /* Define if we have Python installed. */
  28. $[cdefine HAVE_PYTHON]
  29. /* Define if we want to track callbacks from within the show code. */
  30. $[cdefine TRACK_IN_INTERPRETER]
  31. /* Define if we want to compile in support for pipelining. */
  32. $[cdefine DO_PIPELINING]
  33. /* Define if we have RAD game tools, Miles Sound System installed. */
  34. $[cdefine HAVE_RAD_MSS]
  35. /* Define if we have Freetype 2.0 or better available. */
  36. $[cdefine HAVE_FREETYPE]
  37. /* Define if we have NSPR installed. */
  38. $[cdefine HAVE_NSPR]
  39. /* Define if we have crypto++ installed. */
  40. $[cdefine HAVE_CRYPTO]
  41. /* Define if we have libjpeg installed. */
  42. $[cdefine HAVE_JPEG]
  43. /* Define if we have libtiff installed. */
  44. $[cdefine HAVE_TIFF]
  45. /* Define if we have libfftw installed. */
  46. $[cdefine HAVE_FFTW]
  47. /* Define if we have NURBS++ installed. */
  48. $[cdefine HAVE_NURBSPP]
  49. /* Define if we have VRPN installed. */
  50. $[cdefine HAVE_VRPN]
  51. /* Define if we have zlib installed. */
  52. /* $[ZLIB_LPATH] */
  53. $[cdefine HAVE_ZLIB]
  54. /* Define if we have sox libst installed. */
  55. $[cdefine HAVE_SOXST]
  56. /* Define if we have OpenGL installed and want to build for GL. */
  57. $[cdefine HAVE_GL]
  58. /* Define if we have Chromium OpenGL installed and want to build for GL. */
  59. /* $[CHROMIUM_LPATH] */
  60. $[cdefine HAVE_CHROMIUM]
  61. /* Define if we have Chromium installed and want to run it in Windows. */
  62. $[cdefine HAVE_WCR]
  63. /* Define if we want to build with SGI OpenGL extensions. */
  64. $[cdefine HAVE_SGIGL]
  65. /* Define if we have GLX installed and want to build for GLX. */
  66. $[cdefine HAVE_GLX]
  67. /* Define if we have Windows-GL installed and want to build for Wgl. */
  68. $[cdefine HAVE_WGL]
  69. /* Define if we have Glut installed and want to build for Glut. */
  70. $[cdefine HAVE_GLUT]
  71. /* Define if we have DirectX installed and want to build for DX. */
  72. $[cdefine HAVE_DX]
  73. /* Define if we want to build the Renderman interface. */
  74. $[cdefine HAVE_RIB]
  75. /* Define if we want to use mikmod for audio. */
  76. $[cdefine HAVE_MIKMOD]
  77. /* Define if we want to compile the ipc code. */
  78. $[cdefine HAVE_IPC]
  79. /* Define if we want to compile the net code. */
  80. $[cdefine HAVE_NET]
  81. /* Define if we want to use PStats. */
  82. $[cdefine DO_PSTATS]
  83. /* Define if we want to keep Notify debug messages around, or undefine
  84. to compile them out. */
  85. $[cdefine NOTIFY_DEBUG]
  86. /* Define if we want to compile the audio code. */
  87. $[cdefine HAVE_AUDIO]
  88. /* Define if we want to export template classes from the DLL. Only
  89. makes sense to MSVC++. */
  90. $[cdefine EXPORT_TEMPLATES]
  91. /* Define if we are linking PANDAGL in with PANDA. */
  92. $[cdefine LINK_IN_GL]
  93. /* Define if we are linking PANDAPHYSICS in with PANDA. */
  94. $[cdefine LINK_IN_PHYSICS]
  95. /* Define if we have a gettimeofday() function. */
  96. $[cdefine HAVE_GETTIMEOFDAY]
  97. /* Define if gettimeofday() takes only one parameter. */
  98. $[cdefine GETTIMEOFDAY_ONE_PARAM]
  99. /* Define if you have the getopt function. */
  100. $[cdefine HAVE_GETOPT]
  101. /* Define if you have the getopt_long_only function. */
  102. $[cdefine HAVE_GETOPT_LONG_ONLY]
  103. /* Define if you have ioctl(TIOCGWINSZ) to determine terminal width. */
  104. $[cdefine IOCTL_TERMINAL_WIDTH]
  105. /* Do the compiler or the system headers define a "streamsize" typedef? */
  106. $[cdefine HAVE_STREAMSIZE]
  107. /* Can we safely call getenv() at static init time? */
  108. $[cdefine STATIC_INIT_GETENV]
  109. /* Can we read the file /proc/self/environ to determine our
  110. environment variables at static init time? */
  111. $[cdefine HAVE_PROC_SELF_ENVIRON]
  112. /* Do we have a global pair of argc/argv variables that we can read at
  113. static init time? Should we prototype them? What are they called? */
  114. $[cdefine HAVE_GLOBAL_ARGV]
  115. $[cdefine PROTOTYPE_GLOBAL_ARGV]
  116. $[cdefine GLOBAL_ARGV]
  117. $[cdefine GLOBAL_ARGC]
  118. /* Can we read the file /proc/self/cmdline to determine our
  119. command-line arguments at static init time? */
  120. $[cdefine HAVE_PROC_SELF_CMDLINE]
  121. /* Define if you have the <io.h> header file. */
  122. $[cdefine HAVE_IO_H]
  123. /* Define if you have the <iostream> header file. */
  124. $[cdefine HAVE_IOSTREAM]
  125. /* Define if you have the <malloc.h> header file. */
  126. $[cdefine HAVE_MALLOC_H]
  127. /* Define if you have the <alloca.h> header file. */
  128. $[cdefine HAVE_ALLOCA_H]
  129. /* Define if you have the <minmax.h> header file. */
  130. $[cdefine HAVE_MINMAX_H]
  131. /* Define if you have the <sstream> header file. */
  132. $[cdefine HAVE_SSTREAM]
  133. /* Define if you have the <sys/types.h> header file. */
  134. $[cdefine HAVE_SYS_TYPES]
  135. /* Define if you have the <unistd.h> header file. */
  136. $[cdefine HAVE_UNISTD_H]
  137. /* Define if you have the <utime.h> header file. */
  138. $[cdefine HAVE_UTIME_H]
  139. /* Define if you have the <dirent.h> header file. */
  140. $[cdefine HAVE_DIRENT_H]
  141. /* Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  142. interface)? */
  143. $[cdefine HAVE_SYS_SOUNDCARD_H]
  144. /* Do we have RTTI (and <typeinfo>)? */
  145. $[cdefine HAVE_RTTI]
  146. /* Must global operator new and delete functions throw exceptions? */
  147. $[cdefine GLOBAL_OPERATOR_NEW_EXCEPTIONS]
  148. /* What style STL allocator should we declare? */
  149. // Use this to force UNKNOWN_ALLOCATOR for non-Opt4 (it is already default for Opt4 using /DUNKNOWN_ALLOCATOR)
  150. // see dtoolbase.h
  151. $[cdefine USE_UNKNOWN_ALLOCATOR]
  152. $[cdefine OLD_STYLE_ALLOCATOR]
  153. $[cdefine GNU_STYLE_ALLOCATOR]
  154. #end dtool_config.h
  155. #endif // BUILD_TYPE