Clone of mesa.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Make-config 40KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095
  1. # Mesa Make-config file
  2. # This file describes the compiler options, etc needed to build Mesa
  3. # on various systems using conventional Makefiles (not autoconf/automake).
  4. #
  5. # To add a new system configuration use an existing config as an example,
  6. # then update the top-level Makefile.X11 file. You may also have to add
  7. # new platform support to the bin/mklib script.
  8. MESA_MAJOR=5
  9. MESA_MINOR=1
  10. MESA_TINY=0
  11. VERSION=$(MESA_MAJOR).$(MESA_MINOR)
  12. # The following variables should be defined for each configuration:
  13. #
  14. # GL_LIB the name of the Mesa "GL" library file (usually libGL.so)
  15. # GLU_LIB the name of the Mesa "GLU" library file (usually libGLU.so)
  16. # GLUT_LIB the name of the GLUT library file (usually libglut.so)
  17. # GLW_LIB the name of the GLw widget library file (usually libGLw.so)
  18. # CC the C compiler (usually cc or gcc)
  19. # CXX the C++ compiler (usuall c++ or g++ or CC)
  20. # CFLAGS options for C compiler (like -O)
  21. # CXXFLAGS options for the C++ compiler (like -O)
  22. # GLUT_CFLAGS extra flags for compiling GLUT
  23. # GL_LIB_DEPS list of libraries which the GL library depends on
  24. # GLU_LIB_DEPS list of libraries which the GLU library depends on
  25. # GLUT_LIB_DEPS list of libraries which the GLUT library depends on
  26. # GLW_LIB_DEPS list of libraries which the GLw (Xt/OpenGL) library depends on
  27. # APP_LIB_DEPS list of libraries which demo programs depend upon
  28. # ASM_SOURCES optional list of assembly language files to assemble
  29. # MAKELIB the script or command to make a library file
  30. # XXX MAKELIB is obsolete; edit bin/mklib to support new systems
  31. aix:
  32. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  33. "GL_LIB = libGL.a" \
  34. "GLU_LIB = libGLU.a" \
  35. "GLUT_LIB = libglut.a" \
  36. "GLW_LIB = libGLw.a" \
  37. "OSMESA_LIB = libOSMesa.a" \
  38. "CC = cc" \
  39. "CFLAGS = -O -DAIXV3" \
  40. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  41. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
  42. aix-sl:
  43. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  44. "GL_LIB = libGL.a" \
  45. "GLU_LIB = libGLU.a" \
  46. "GLUT_LIB = libglut.a" \
  47. "GLW_LIB = libGLw.a" \
  48. "OSMESA_LIB = libOSMesa.a" \
  49. "CC = cc" \
  50. "CFLAGS = -O -DAIXV3" \
  51. "MAKELIB = $(TOP)/bin/mklib.aix" \
  52. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
  53. beos-r4:
  54. $(MAKE) -f Makefile.BeOS-R4 targets \
  55. "GL_LIB = libGL.so" \
  56. "GLU_LIB = libGLU.so" \
  57. "GLUT_LIB = libglut.so" \
  58. "GLW_LIB = libGLw.so" \
  59. "OSMESA_LIB = libOSMesa.so" \
  60. "CC = g++" \
  61. "CFLAGS = -O -DNO_CONST" \
  62. "APP_LIB_DEPS = "
  63. cygnus:
  64. $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \
  65. "GL_LIB = libGL.a" \
  66. "GLU_LIB = libGLU.a" \
  67. "GLUT_LIB = libglut.a" \
  68. "GLW_LIB = libGLw.a" \
  69. "OSMESA_LIB = libOSMesa.a" \
  70. "CC = gcc" \
  71. "CXX = g++" \
  72. "DLLTOOL = dlltool" \
  73. "WING_DIR= /wing" \
  74. "LD = ld" \
  75. "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \
  76. -O2 -funroll-loops \
  77. -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \
  78. "CXXFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \
  79. -O2 -funroll-loops \
  80. -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \
  81. "GLUT_CFLAGS = -fexceptions" \
  82. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  83. "WLIBS = $(TOP)/lib/wing32.a -lkernel32 -luser32 -lgdi32"
  84. cygnus-linux:
  85. $(MAKE) -f Makefile.cygnus $(MFLAGS) -f Makefile.X11 targets \
  86. "GL_LIB = libGL.a" \
  87. "GLU_LIB = libGLU.a" \
  88. "GLUT_LIB = libglut.a" \
  89. "GLW_LIB = libGLw.a" \
  90. "OSMESA_LIB = libOSMesa.a" \
  91. "CC = gnuwin32gcc" \
  92. "DLLTOOL = gnuwin32dlltool --as gnuwin32as" \
  93. "LD = gnuwin32ld" \
  94. "WING_DIR= /dos/wing" \
  95. "CFLAGS = -I. -DWIN32 -D__WIN32__ -D_WINDOWS \
  96. -O2 -funroll-loops \
  97. -fexpensive-optimizations -fomit-frame-pointer -ffast-math" \
  98. "MAKELIB = $(TOP)/bin/mklib.cygnus-linux" \
  99. "WLIBS = $(TOP)/lib/wing32.a -lkernel32 -luser32 -lgdi32"
  100. darwin:
  101. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  102. "GL_LIB = libGL.dylib" \
  103. "GLU_LIB = libGLU.dylib" \
  104. "GLUT_LIB = libglut.dylib" \
  105. "GLW_LIB = libGLw.dylib" \
  106. "OSMESA_LIB = libOSMesa.dylib" \
  107. "CC = cc" \
  108. "CXX = cc" \
  109. "CFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math \
  110. -funroll-loops -fexpensive-optimizations -no-cpp-precomp \
  111. -dynamic -Ddarwin" \
  112. "CXXFLAGS = -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math \
  113. -funroll-loops -fexpensive-optimizations -no-cpp-precomp \
  114. -dynamic -Ddarwin" \
  115. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  116. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  117. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL \
  118. -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm"
  119. freebsd:
  120. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  121. "GL_LIB = libGL.a" \
  122. "GLU_LIB = libGLU.a" \
  123. "GLUT_LIB = libglut.a" \
  124. "GLW_LIB = libGLw.a" \
  125. "OSMESA_LIB = libOSMesa.a" \
  126. "CC = gcc" \
  127. "CXX = g++" \
  128. "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \
  129. "CXXFLAGS = -O2 -fPIC -pedantic" \
  130. "GLUT_CFLAGS = -fexceptions" \
  131. "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
  132. freebsd-386:
  133. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  134. "GL_LIB = libGL.a" \
  135. "GLU_LIB = libGLU.a" \
  136. "GLUT_LIB = libglut.a" \
  137. "GLW_LIB = libGLw.a" \
  138. "OSMESA_LIB = libOSMesa.a" \
  139. "CC = gcc" \
  140. "CXX = g++" \
  141. "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 -DUSE_X86_ASM -DFREEBSD" \
  142. "CXXFLAGS = -O3 -ffast-math -fPIC -pedantic -DFREEBSD" \
  143. "GLUT_CFLAGS = -fexceptions" \
  144. "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm" \
  145. "ASM_SOURCES = $(X86_SOURCES)"
  146. gcc-sl:
  147. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  148. "GL_LIB = libGL.so" \
  149. "GLU_LIB = libGLU.so" \
  150. "GLUT_LIB = libglut.so" \
  151. "GLW_LIB = libGLw.so" \
  152. "OSMESA_LIB = libOSMesa.so" \
  153. "CC = gcc" \
  154. "CPLUSPLUS = g++" \
  155. "CFLAGS = -fPIC -O3" \
  156. "CXXFLAGS = -fPIC -O3" \
  157. "GLUT_CFLAGS = -fexceptions" \
  158. "MAKELIB = $(TOP)/bin/mklib.gcc-sl" \
  159. "APP_LIB_DEPS = -lX11 -lm"
  160. #special hidden target, to make a shared lib for ONLY Mesa "core"
  161. gcc-mesa-sl:
  162. $(MAKE) $(MFLAGS) -f Makefile.X11 libmesa \
  163. "MESA_LIB = libMesa.so" \
  164. "CC = gcc" \
  165. "CFLAGS = -fPIC -O3" \
  166. "GLUT_CFLAGS = -fexceptions" \
  167. "MAKELIB = $(TOP)/bin/mklib.gcc-sl" \
  168. hpux9:
  169. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  170. "GL_LIB = libGL.a" \
  171. "GLU_LIB = libGLU.a" \
  172. "GLUT_LIB = libglut.a" \
  173. "GLW_LIB = libGLw.a" \
  174. "OSMESA_LIB = libOSMesa.a" \
  175. "CC = cc" \
  176. "CFLAGS = +O3 -Aa -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
  177. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  178. "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
  179. hpux9-gcc:
  180. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  181. "GL_LIB = libGL.a" \
  182. "GLU_LIB = libGLU.a" \
  183. "GLUT_LIB = libglut.a" \
  184. "GLW_LIB = libGLw.a" \
  185. "OSMESA_LIB = libOSMesa.a" \
  186. "CC = gcc" \
  187. "CXX = g++" \
  188. "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
  189. "CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE" \
  190. "GLUT_CFLAGS = -fexceptions" \
  191. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  192. "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
  193. hpux9-sl:
  194. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  195. "GL_LIB = libGL.sl" \
  196. "GLU_LIB = libGLU.sl" \
  197. "GLUT_LIB = libglut.sl" \
  198. "GLW_LIB = libGLw.sl" \
  199. "OSMESA_LIB = libOSMesa.sl" \
  200. "CC = cc" \
  201. "CFLAGS = +z +O3 +Olibcalls +ESlit -Aa +Onolimit -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
  202. "APP_LIB_DEPS = -L/usr/lib/X11R5 -s -Wl,+s,-B,nonfatal,-B,immediate -lXext -lXmu -lXi -lX11 -lm"
  203. hpux9-gcc-sl:
  204. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  205. "GL_LIB = libGL.sl" \
  206. "GLU_LIB = libGLU.sl" \
  207. "GLUT_LIB = libglut.sl" \
  208. "GLW_LIB = libGLw.sl" \
  209. "OSMESA_LIB = libOSMesa.sl" \
  210. "CC = gcc" \
  211. "CXX = g++" \
  212. "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R5 -DUSE_XSHM" \
  213. "CXXFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE" \
  214. "GLUT_CFLAGS = -fexceptions" \
  215. "APP_LIB_DEPS = -L/usr/lib/X11R5 -lXext -lXmu -lXi -lX11 -lm"
  216. # The hpux10 configs should work for hpux11 as well.
  217. hpux10:
  218. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  219. "GL_LIB = libGL.a" \
  220. "GLU_LIB = libGLU.a" \
  221. "GLUT_LIB = libglut.a" \
  222. "GLW_LIB = libGLw.a" \
  223. "OSMESA_LIB = libOSMesa.a" \
  224. "CC = cc" \
  225. "CXX = aCC" \
  226. "CFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
  227. "CXXFLAGS = +O3 +DAportable -Aa -D_HPUX_SOURCE" \
  228. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  229. "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm -L/usr/lib -lCsup"
  230. hpux10-sl:
  231. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  232. "GL_LIB = libGL" \
  233. "GLU_LIB = libGLU" \
  234. "GLUT_LIB = libglut" \
  235. "GLW_LIB = libGLw" \
  236. "OSMESA_LIB = libOSMesa" \
  237. "CC = cc" \
  238. "CXX = aCC" \
  239. "CFLAGS = +O3 +DAportable +z -Aa -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
  240. "CXXFLAGS = +O3 +DAportable +Z -Aa -D_HPUX_SOURCE" \
  241. "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
  242. hpux10-gcc:
  243. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  244. "GL_LIB = libGL.a" \
  245. "GLU_LIB = libGLU.a" \
  246. "GLUT_LIB = libglut.a" \
  247. "GLW_LIB = libGLw.a" \
  248. "OSMESA_LIB = libOSMesa.a" \
  249. "CC = gcc" \
  250. "CXX = g++" \
  251. "CFLAGS = -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
  252. "CXXFLAGS = -ansi -O3 -D_HPUX_SOURCE" \
  253. "GLUT_CFLAGS = -fexceptions" \
  254. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  255. "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
  256. hpux10-gcc-sl:
  257. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  258. "GL_LIB = libGL.sl" \
  259. "GLU_LIB = libGLU.sl" \
  260. "GLUT_LIB = libglut.sl" \
  261. "GLW_LIB = libGLw.a" \
  262. "OSMESA_LIB = libOSMesa.a" \
  263. "CC = gcc" \
  264. "CXX = g++" \
  265. "CFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE -I/usr/include/X11R6 -I/usr/contrib/X11R6/include -DUSE_XSHM" \
  266. "CXXFLAGS = -fPIC -ansi -O3 -D_HPUX_SOURCE" \
  267. "GLUT_CFLAGS = -fexceptions" \
  268. "APP_LIB_DEPS = -L/usr/lib/X11R6 -L/usr/contrib/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
  269. # IRIX 6 32-bit Targets
  270. # Turn Warnings off for these errors (MIPSpro Compiler 7.30)
  271. # 1521: A nonstandard preprocessing directive is used.
  272. # 1552: The variable "" is set but never used.
  273. # C++
  274. # 3262: The variable "" was declared but never referenced.
  275. # 3666: The variable "" is set but never used.
  276. # Use -v if using pmake to compile files in subdirectories.
  277. irix6-o32:
  278. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  279. "GL_LIB = libGL.a" \
  280. "GLU_LIB = libGLU.a" \
  281. "GLUT_LIB = libglut.a" \
  282. "GLW_LIB = libGLw.a" \
  283. "OSMESA_LIB = libOSMesa.a" \
  284. "LIBDIR = $(TOP)/lib32" \
  285. "CC = cc" \
  286. "CXX = CC" \
  287. "CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM" \
  288. "CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666" \
  289. "APP_LIB_DEPS = -32 -glut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm"
  290. irix6-o32-dso:
  291. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  292. "GL_LIB = libGL.so" \
  293. "GLU_LIB = libGLU.so" \
  294. "GLUT_LIB = libglut.so" \
  295. "GLW_LIB = libGLw.so" \
  296. "OSMESA_LIB = libOSMesa.so" \
  297. "LIBDIR = $(TOP)/lib32" \
  298. "CC = cc" \
  299. "CXX = CC" \
  300. "CFLAGS = -32 -mips2 -O2 -ansi -woff 1521,1552 -DUSE_XSHM" \
  301. "CXXFLAGS = -32 -mips2 -O2 -ansi -woff 3262,3666" \
  302. "APP_LIB_DEPS = -32 -rpath $(TOP)/lib32 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm"
  303. irix6-n32:
  304. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  305. "GL_LIB = libGL.a" \
  306. "GLU_LIB = libGLU.a" \
  307. "GLUT_LIB = libglut.a" \
  308. "GLW_LIB = libGLw.a" \
  309. "OSMESA_LIB = libOSMesa.a" \
  310. "LIBDIR = $(TOP)/lib32" \
  311. "CC = cc" \
  312. "CXX = CC" \
  313. "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM" \
  314. "CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552" \
  315. "APP_LIB_DEPS = -n32 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm"
  316. irix6-n32-dso:
  317. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  318. "GL_LIB = libGL.so" \
  319. "GLU_LIB = libGLU.so" \
  320. "GLUT_LIB = libglut.so" \
  321. "GLW_LIB = libGLw.so" \
  322. "OSMESA_LIB = libOSMesa.so" \
  323. "LIBDIR = $(TOP)/lib32" \
  324. "CC = cc" \
  325. "CXX = CC" \
  326. "CFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1521,1552 -DUSE_XSHM" \
  327. "CXXFLAGS = -n32 -mips3 -O3 -ansi -woff 1174,1552" \
  328. "APP_LIB_DEPS = -n32 -rpath $(TOP)/lib32 -lglut -lGLU -lGL -lX11 -lXmu -lXi -lfpe -lm"
  329. irix6-gcc-n32-sl:
  330. make $(MFLAGS) -f Makefile.X11 targets \
  331. "GL_LIB = libGL.so" \
  332. "GLU_LIB = libGLU.so" \
  333. "GLUT_LIB = libglut.so" \
  334. "GLW_LIB = libGLw.so" \
  335. "OSMESA_LIB = libOSMesa.so" \
  336. "LIBDIR = $(TOP)/lib32" \
  337. "CC = gcc" \
  338. "CXX = g++" \
  339. "CFLAGS = -mabi=n32 -mips3 -O3 -DUSE_XSHM" \
  340. "CXXFLAGS = -mabi=n32 -mips3 -O3" \
  341. "GLUT_CFLAGS = -fexceptions" \
  342. "APP_LIB_DEPS = -rpath $(TOP)/lib32 -lX11 -lXmu -lXi -lm"
  343. # For IRIX 6-64: -woff:
  344. # 1068 - integer conversion resulted in a change of sign
  345. # 1069 - integer conversion resulted in truncation
  346. # 1174 - variable was declared but never referenced
  347. # 1185 - enumerated type mixed with another type
  348. # 1209 - controlling expression is constant
  349. # 1474 - declaring a void parameter list with a typedef is nonstandard
  350. # 1552 - variable was set but never used
  351. irix6-64:
  352. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  353. "GL_LIB = libGL.a" \
  354. "GLU_LIB = libGLU.a" \
  355. "GLUT_LIB = libglut.a" \
  356. "GLW_LIB = libGLw.a" \
  357. "OSMESA_LIB = libOSMesa.a" \
  358. "LIBDIR = $(TOP)/lib64" \
  359. "CC = cc" \
  360. "CXX = CC" \
  361. "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \
  362. "CXXFLAGS = -64 -O3 -ansi -woff 1174" \
  363. "APP_LIB_DEPS = -64 -lglut -lGLU -lGL -lX11 -lXext -lXmu -lXi -lm"
  364. irix6-64-dso:
  365. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  366. "GL_LIB = libGL.so" \
  367. "GLU_LIB = libGLU.so" \
  368. "GLUT_LIB = libglut.so" \
  369. "GLW_LIB = libGLw.so" \
  370. "OSMESA_LIB = libOSMesa.so" \
  371. "LIBDIR = $(TOP)/lib64" \
  372. "CC = cc" \
  373. "CFLAGS = -64 -O3 -ansi -woff 1068,1069,1174,1185,1209,1474,1552 -DUSE_XSHM" \
  374. "CXX = CC" \
  375. "CXXFLAGS = -64 -O3 -ansi -woff 1174" \
  376. "APP_LIB_DEPS = -64 -rpath $(TOP)/lib64 -lglut -lGLU -lGL -lX11 -lXmu -lXi -lm"
  377. linux:
  378. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  379. "GL_LIB = libGL.so" \
  380. "GLU_LIB = libGLU.so" \
  381. "GLUT_LIB = libglut.so" \
  382. "GLW_LIB = libGLw.so" \
  383. "OSMESA_LIB = libOSMesa.so" \
  384. "CC = gcc" \
  385. "CXX = g++" \
  386. "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include" \
  387. "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  388. "GLUT_CFLAGS = -fexceptions" \
  389. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  390. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  391. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  392. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  393. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
  394. linux-x86:
  395. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  396. "GL_LIB = libGL.so" \
  397. "GLU_LIB = libGLU.so" \
  398. "GLUT_LIB = libglut.so" \
  399. "GLW_LIB = libGLw.so" \
  400. "OSMESA_LIB = libOSMesa.so" \
  401. "CC = gcc" \
  402. "CXX = g++" \
  403. "CFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \
  404. "CXXFLAGS = -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  405. "GLUT_CFLAGS = -fexceptions" \
  406. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
  407. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  408. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  409. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  410. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
  411. "ASM_SOURCES = $(X86_SOURCES)"
  412. linux-x86-sse:
  413. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  414. "GL_LIB = libGL.so" \
  415. "GLU_LIB = libGLU.so" \
  416. "GLUT_LIB = libglut.so" \
  417. "GLW_LIB = libGLw.so" \
  418. "OSMESA_LIB = libOSMesa.so" \
  419. "CC = gcc" \
  420. "CXX = g++" \
  421. "CFLAGS = -mcpu=pentium4 -mfpmath=sse -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \
  422. "CXXFLAGS = -mcpu=pentium4 -mfpmath=sse -Wall -O3 -ansi -pedantic -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  423. "GLUT_CFLAGS = -fexceptions" \
  424. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
  425. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  426. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  427. "APP_LIB_DEPS = -lm" \
  428. "ASM_SOURCES = $(X86_SOURCES)"
  429. linux-icc:
  430. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  431. "GL_LIB = libGL.so" \
  432. "GLU_LIB = libGLU.so" \
  433. "GLUT_LIB = libglut.so" \
  434. "GLW_LIB = libGLw.so" \
  435. "OSMESA_LIB = libOSMesa.so" \
  436. "CC = icc" \
  437. "CXX = g++" \
  438. "CFLAGS = -O3 -tpp6 -axK -KPIC -D_GCC_LIMITS_H_ -D__GNUC__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include" \
  439. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
  440. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  441. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  442. "APP_LIB_DEPS = -lm" \
  443. "ASM_SOURCES = $(X86_SOURCES)"
  444. # Contributed by Uwe_Maurer@t-online.de
  445. linux-ggi:
  446. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  447. "GL_LIB = libGL.so" \
  448. "GLU_LIB = libGLU.so" \
  449. "GLUT_LIB = libglut.so" \
  450. "GLW_LIB = libGLw.a" \
  451. "OSMESA_LIB = libOSMesa.a" \
  452. "CC = gcc" \
  453. "CXX = g++" \
  454. "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DGGI -DCDECL=" \
  455. "CXXFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DCDECL=" \
  456. "GLUT_CFLAGS = -fexceptions" \
  457. "GL_LIB_DEPS = -L/usr/X11R6/lib -ggi -lX11 -lXext -lm -lm -lpthread" \
  458. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  459. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  460. "APP_LIB_DEPS = -lm"
  461. # Contributed by Emmanuel marty core@ggi-project.org
  462. linux-x86-ggi:
  463. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  464. "GL_LIB = libGL.so" \
  465. "GLU_LIB = libGLU.so" \
  466. "GLUT_LIB = libglut.so" \
  467. "GLW_LIB = libGLw.so" \
  468. "OSMESA_LIB = libOSMesa.so" \
  469. "CC = gcc" \
  470. "CXX = g++" \
  471. "CFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DUSE_X86_ASM -DGGI -DCDECL=" \
  472. "CXXFLAGS = -O3 -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DCDECL=" \
  473. "GLUT_CFLAGS = -fexceptions" \
  474. "GL_LIB_DEPS = -L/usr/X11R6/lib -ggi -lX11 -lXext -lm -lm -lpthread" \
  475. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  476. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  477. "APP_LIB_DEPS = -lm" \
  478. "ASM_SOURCES = $(X86_SOURCES)"
  479. linux-glide:
  480. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  481. "GL_LIB = libGL.so" \
  482. "GLU_LIB = libGLU.so" \
  483. "GLUT_LIB = libglut.so" \
  484. "GLW_LIB = libGLw.so" \
  485. "OSMESA_LIB = libOSMesa.so" \
  486. "CC = gcc" \
  487. "CXX = g++" \
  488. "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include" \
  489. "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE" \
  490. "GLUT_CFLAGS = -fexceptions" \
  491. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread -L/usr/local/glide/lib -lglide3x" \
  492. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  493. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  494. "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide3x -lglut -lGLU -lGL"
  495. linux-x86-glide:
  496. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  497. "GL_LIB = libGL.so" \
  498. "GLU_LIB = libGLU.so" \
  499. "GLUT_LIB = libglut.so" \
  500. "GLW_LIB = libGLw.so" \
  501. "OSMESA_LIB = libOSMesa.so" \
  502. "CC = gcc" \
  503. "CXX = g++" \
  504. "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DUSE_XSHM -DFX -DPTHREADS -I/usr/X11R6/include -I/usr/include/glide -I/usr/local/glide/include -I/usr/src/mesa-glx/src/FX/X86" \
  505. "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -funroll-loops -fomit-frame-pointer -D_SVID_SOURCE -D_BSD_SOURCE" \
  506. "GLUT_CFLAGS = -fexceptions" \
  507. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -L/usr/local/glide/lib -lglide3x -lm -lpthread" \
  508. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  509. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  510. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  511. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm" \
  512. "ASM_SOURCES = $(X86_SOURCES)"
  513. linux-alpha:
  514. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  515. "GL_LIB = libGL.so" \
  516. "GLU_LIB = libGLU.so" \
  517. "GLUT_LIB = libglut.so" \
  518. "GLW_LIB = libGLw.so" \
  519. "OSMESA_LIB = libOSMesa.so" \
  520. "CC = gcc" \
  521. "CXX = g++" \
  522. "CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE -DUSE_XSHM" \
  523. "CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -fPIC -D_XOPEN_SOURCE" \
  524. "GLUT_CFLAGS = -fexceptions" \
  525. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  526. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  527. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  528. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  529. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
  530. linux-alpha-static:
  531. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  532. "GL_LIB = libGL.a" \
  533. "GLU_LIB = libGLU.a" \
  534. "GLUT_LIB = libglut.a" \
  535. "GLW_LIB = libGLw.a" \
  536. "OSMESA_LIB = libOSMesa.a" \
  537. "CC = gcc" \
  538. "CXX = g++" \
  539. "CFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -L/usr/X11R6/lib -D_XOPEN_SOURCE -DUSE_XSHM" \
  540. "CXXFLAGS = -O3 -mcpu=ev5 -ansi -mieee -pedantic -D_XOPEN_SOURCE" \
  541. "GLUT_CFLAGS = -fexceptions" \
  542. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  543. "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lm"
  544. linux-ppc:
  545. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  546. "GL_LIB = libGL.so" \
  547. "GLU_LIB = libGLU.so" \
  548. "GLUT_LIB = libglut.so" \
  549. "GLW_LIB = libGLw.so" \
  550. "OSMESA_LIB = libOSMesa.so" \
  551. "CC = gcc" \
  552. "CXX = g++" \
  553. "CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
  554. "CXXFLAGS = -O3 -mcpu=603 -ansi -pedantic -fPIC -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE" \
  555. "GLUT_CFLAGS = -fexceptions" \
  556. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  557. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  558. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  559. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  560. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
  561. linux-ppc-static:
  562. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  563. "GL_LIB = libGL.a" \
  564. "GLU_LIB = libGLU.a" \
  565. "GLUT_LIB = libglut.a" \
  566. "GLW_LIB = libGLw.a" \
  567. "OSMESA_LIB = libOSMesa.a" \
  568. "CC = gcc" \
  569. "CXX = g++" \
  570. "CFLAGS = -O3 -mcpu=603 -ansi -pedantic -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
  571. "CXXFLAGS = -O3 -mcpu=603 -ansi -pedantic -fsigned-char -ffast-math -funroll-loops -D_SVID_SOURCE -D_BSD_SOURCE" \
  572. "GLUT_CFLAGS = -fexceptions" \
  573. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  574. "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm"
  575. linux-sparc:
  576. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  577. "GL_LIB = libGL.so" \
  578. "GLU_LIB = libGLU.so" \
  579. "GLUT_LIB = libglut.so" \
  580. "GLW_LIB = libGLw.so" \
  581. "OSMESA_LIB = libOSMesa.so" \
  582. "CC = gcc" \
  583. "CXX = g++" \
  584. "CFLAGS = -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
  585. "CXXFLAGS = -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \
  586. "GLUT_CFLAGS = -fexceptions" \
  587. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  588. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  589. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  590. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  591. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
  592. linux-sparc5:
  593. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  594. "GL_LIB = libGL.so" \
  595. "GLU_LIB = libGLU.so" \
  596. "GLUT_LIB = libglut.so" \
  597. "GLW_LIB = libGLw.so" \
  598. "OSMESA_LIB = libOSMesa.so" \
  599. "CC = gcc" \
  600. "CXX = g++" \
  601. "CFLAGS = -mv8 -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
  602. "CXXFLAGS = -mv8 -O2 -ffast-math -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \
  603. "GLUT_CFLAGS = -fexceptions" \
  604. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  605. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  606. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  607. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  608. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
  609. # 32-bit Sparc ELF userland, on UltraSparc
  610. linux-sparc-ultra:
  611. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  612. "GL_LIB = libGL.so" \
  613. "GLU_LIB = libGLU.so" \
  614. "GLUT_LIB = libglut.so" \
  615. "GLW_LIB = libGLw.so" \
  616. "OSMESA_LIB = libOSMesa.so" \
  617. "CC = gcc" \
  618. "CXX = g++" \
  619. "CFLAGS = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM" \
  620. "CXXFLAGS = -mv8 -O2 -mtune=ultrasparc -ansi -pedantic -fPIC -D_SVID_SOURCE -D_BSD_SOURCE" \
  621. "GLUT_CFLAGS = -fexceptions" \
  622. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  623. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  624. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  625. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  626. "APP_LIB_DEPS = -lglut -lGLU -lGL -lm"
  627. # 16-bit/channel Mesa using OSMesa driver
  628. linux-osmesa16:
  629. $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \
  630. "OSMESA16_LIB = libOSMesa16.so" \
  631. "CC = gcc" \
  632. "CXX = g++" \
  633. "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
  634. "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  635. "GLUT_CFLAGS = -fexceptions" \
  636. "GL_LIB_DEPS = -lm -lpthread" \
  637. "APP_LIB_DEPS = -lOSMesa16 -lGL"
  638. linux-osmesa16-static:
  639. $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \
  640. "OSMESA16_LIB = libOSMesa16.a" \
  641. "CC = gcc" \
  642. "CXX = g++" \
  643. "CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DPTHREADS -I/usr/X11R6/include -DCHAN_BITS=16 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
  644. "CXXFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  645. "GLUT_CFLAGS = -fexceptions" \
  646. "GL_LIB_DEPS = -lm -lpthread" \
  647. "MAKELIB_FLAGS = -static" \
  648. "APP_LIB_DEPS = -lOSMesa16 -lGL"
  649. # 32-bit/channel Mesa using OSMesa driver
  650. linux-osmesa32:
  651. $(MAKE) $(MFLAGS) -f Makefile.OSMesa16 targets \
  652. "OSMESA16_LIB = libOSMesa32.so" \
  653. "CC = gcc" \
  654. "CXX = g++" \
  655. "CFLAGS = -O3 -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
  656. "CXXFLAGS = -O3 -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE" \
  657. "GLUT_CFLAGS = -fexceptions" \
  658. "GL_LIB_DEPS = -lm -lpthread" \
  659. "APP_LIB_DEPS = -lOSMesa32 -lGL"
  660. # standalone Mesa -- embedded
  661. # change -g to -O3 for non-debug
  662. linux-solo:
  663. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  664. "SOLO = true" \
  665. "LIBMESA = mesa.a" \
  666. "GLU_LIB = libGLU.so" \
  667. "GLUT_LIB = libglut.so" \
  668. "CC = gcc" \
  669. "CXX = g++" \
  670. "CFLAGS = -g -std=c99 -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  671. "CXXFLAGS = -g -std=c99 -pedantic -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE" \
  672. "GLUT_CFLAGS = -fexceptions" \
  673. "GL_LIB_DEPS = -lm -lpthread -lexpat" \
  674. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm -Wl,-rpath,$(TOP)/lib" \
  675. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm -Wl,-rpath,$(TOP)/lib" \
  676. "APP_LIB_DEPS = -L$(TOP)/lib -lglut -lGLU -lGL -lm -lpthread -Wl,-rpath,$(TOP)/lib"
  677. # May want to add these CFLAGS for better performance under LynxOS and GCC:
  678. # -fPIC -O2 -ansi -pedantic -mieee-fp -DUSE_XSHM -funroll-loops
  679. # -fexpensive-optimizations -fomit-frame-pointer -ffast-math
  680. lynxos:
  681. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  682. "GL_LIB = libGL.a" \
  683. "GLU_LIB = libGLU.a" \
  684. "GLUT_LIB = libglut.a" \
  685. "GLW_LIB = libGLw.a" \
  686. "OSMESA_LIB = libOSMesa.a" \
  687. "CC = gcc" \
  688. "CXX = g++" \
  689. "CFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math -DUSE_XSHM" \
  690. "CXXFLAGS = -O2 -ansi -pedantic -funroll-loops -ffast-math" \
  691. "GLUT_CFLAGS = -fexceptions" \
  692. "APP_LIB_DEPS = -L/usr/X11/lib -lXext -lXi -lXmu -lX11 -lbsd -lm"
  693. mklinux:
  694. $(MAKE) targets \
  695. "GL_LIB = libGL.a" \
  696. "GLU_LIB = libGLU.a" \
  697. "GLUT_LIB = libglut.a" \
  698. "GLW_LIB = libGLw.a" \
  699. "OSMESA_LIB = libOSMesa.a" \
  700. "CC = gcc" \
  701. "CXX = g++" \
  702. "CFLAGS = -pedantic -O2" \
  703. "CXXFLAGS = -pedantic -O2" \
  704. "GLUT_CFLAGS = -fexceptions" \
  705. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  706. "APP_LIB_DEPS = -lmoto -L/usr/X11/lib -lXmu -lX11 -lm"
  707. netbsd:
  708. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  709. "GL_LIB = libGL.so" \
  710. "GLU_LIB = libGLU.so" \
  711. "GLUT_LIB = libglut.so" \
  712. "GLW_LIB = libGLw.so" \
  713. "OSMESA_LIB = libOSMesa.so" \
  714. "CC = gcc" \
  715. "CXX = g++" \
  716. "CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100" \
  717. "CXXFLAGS = -O2 -fPIC" \
  718. "GLUT_CFLAGS = -fexceptions" \
  719. "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
  720. openbsd:
  721. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  722. "GL_LIB = libGL.so" \
  723. "GLU_LIB = libGLU.so" \
  724. "GLUT_LIB = libglut.so" \
  725. "GLW_LIB = libGLw.so" \
  726. "OSMESA_LIB = libOSMesa.so" \
  727. "CC = cc" \
  728. "CFLAGS = -O2 -fPIC -I/usr/X11R6/include -DUSE_XSHM -DHZ=100" \
  729. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXi -lm" \
  730. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL" \
  731. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL" \
  732. "APP_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXi -lm"
  733. openstep:
  734. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  735. "DRIVER_SOURCES = OSmesa/osmesa.c" \
  736. "GL_LIB = libGL.a" \
  737. "GLU_LIB = libGLU.a" \
  738. "OSMESA_LIB = libOSMesa.a" \
  739. "CC = ${MYCC}" \
  740. "CFLAGS = -traditional-cpp -DOPENSTEP -O4" \
  741. "MAKELIB = $(TOP)/bin/mklib.openstep"
  742. openstep-win32:
  743. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  744. "DRIVER_SOURCES = OSmesa/osmesa.c" \
  745. "GL_LIB = libGL.a" \
  746. "GLU_LIB = libGLU.a" \
  747. "OSMESA_LIB = libOSMesa.a" \
  748. "CC = gcc" \
  749. "CXX = g++" \
  750. "CFLAGS = -DOPENSTEP -O4" \
  751. "CXXFLAGS = -DOPENSTEP -O4" \
  752. "GLUT_CFLAGS = -fexceptions" \
  753. "MAKELIB = $(TOP)/bin/mklib.openstep"
  754. osf1:
  755. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  756. "GL_LIB = libGL.so" \
  757. "GLU_LIB = libGLU.so" \
  758. "GLUT_LIB = libglut.so" \
  759. "GLW_LIB = libGLw.so" \
  760. "OSMESA_LIB = libOSMesa.so" \
  761. "CC = cc" \
  762. "CFLAGS = -O0 -std1 -ieee_with_no_inexact -DUSE_XSHM" \
  763. "GL_LIB_DEPS = -lX11 -lXext -lm -lm -lpthread" \
  764. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  765. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lX11 -lXmu -lXt -lXi -lm" \
  766. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
  767. # QNX V4 & Watcom Compiler
  768. qnx:
  769. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  770. "GL_LIB = libGL.a" \
  771. "GLU_LIB = libGLU.a" \
  772. "GLUT_LIB = libglut.a" \
  773. "GLW_LIB = libGLw.a" \
  774. "OSMESA_LIB = libOSMesa.a" \
  775. "CC = cc" \
  776. "CFLAGS = -O" \
  777. "MAKELIB = $(TOP)/bin/mklib.qnx" \
  778. "APP_LIB_DEPS = -L/usr/X11/lib -lX11 -lm"
  779. solaris-x86:
  780. $(MAKE) -f Makefile.X11 targets \
  781. "GL_LIB = libGL.a" \
  782. "GLU_LIB = libGLU.a" \
  783. "GLUT_LIB = libglut.a" \
  784. "GLW_LIB = libGLw.a" \
  785. "OSMESA_LIB = libOSMesa.a" \
  786. "CC = cc" \
  787. "CFLAGS = -Xa -xO3 -xpentium -KPIC -I/usr/openwin/include -DUSE_XSHM" \
  788. "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
  789. solaris-x86-gcc:
  790. $(MAKE) -f Makefile.X11 targets \
  791. "GL_LIB = libGL.a" \
  792. "GLU_LIB = libGLU.a" \
  793. "GLUT_LIB = libglut.a" \
  794. "GLW_LIB = libGLw.a" \
  795. "OSMESA_LIB = libOSMesa.a" \
  796. "CC = gcc" \
  797. "CXX = g++" \
  798. "CFLAGS = -O3 -m486 -fPIC -I/usr/openwin/include -DUSE_XSHM" \
  799. "CXXFLAGS = -O3 -m486 -fPIC" \
  800. "GLUT_CFLAGS = -fexceptions" \
  801. "APP_LIB_DEPS = -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
  802. sunos4:
  803. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  804. "GL_LIB = libGL.a" \
  805. "GLU_LIB = libGLU.a" \
  806. "GLUT_LIB = libglut.a" \
  807. "GLW_LIB = libGLw.a" \
  808. "OSMESA_LIB = libOSMesa.a" \
  809. "CC = acc" \
  810. "CFLAGS = -O -DUSE_XSHM -DSUNOS4" \
  811. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  812. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lm"
  813. sunos4-sl:
  814. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  815. "GL_LIB = libGL.so" \
  816. "GLU_LIB = libGLU.so" \
  817. "GLUT_LIB = libglut.so" \
  818. "GLW_LIB = libGLw.so" \
  819. "OSMESA_LIB = libOSMesa.so" \
  820. "CC = acc" \
  821. "CFLAGS = -Kpic -O -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4" \
  822. "MAKELIB = ld -assert pure-text -o" \
  823. "APP_LIB_DEPS = -L/usr/lib/X11R5 -lX11 -lXext -lXmu -lXi -lm"
  824. sunos4-gcc:
  825. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  826. "GL_LIB = libGL.a" \
  827. "GLU_LIB = libGLU.a" \
  828. "GLUT_LIB = libglut.a" \
  829. "GLW_LIB = libGLw.a" \
  830. "OSMESA_LIB = libOSMesa.a" \
  831. "CC = gcc" \
  832. "CXX = g++" \
  833. "CFLAGS = -O3 -DUSE_XSHM -DSUNOS4 -I/usr/openwin/include" \
  834. "CXXFLAGS = -O3 -DSUNOS4 -I/usr/openwin/include" \
  835. "GLUT_CFLAGS = -fexceptions" \
  836. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  837. "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
  838. sunos4-gcc-sl:
  839. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  840. "GL_LIB = libGL.so.$(VERSION)" \
  841. "GLU_LIB = libGLU.so.$(VERSION)" \
  842. "GLUT_LIB = libglut.so" \
  843. "GLW_LIB = libGLw.so" \
  844. "OSMESA_LIB = libOSMesa.so" \
  845. "CC = gcc" \
  846. "CXX = g++" \
  847. "CFLAGS = -fPIC -O3 -I/usr/openwin/include -I/usr/include/X11R5 -I/usr/include/X11R5 -DUSE_XSHM -DSUNOS4" \
  848. "CXXFLAGS = -fPIC -O3 -I/usr/openwin/include -DSUNOS4" \
  849. "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \
  850. "MAKELIB = $(TOP)/bin/mklib.sunos4" \
  851. "APP_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm"
  852. sunos4-gcc-x11r6-sl:
  853. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  854. "GL_LIB = libGL.so.$(VERSION)" \
  855. "GLU_LIB = libGLU.so.$(VERSION)" \
  856. "GLUT_LIB = libglut.so" \
  857. "GLW_LIB = libGLw.so" \
  858. "OSMESA_LIB = libOSMesa.so" \
  859. "CC = gcc" \
  860. "CXX = g++" \
  861. "CFLAGS = -fPIC -O3 -I/usr/X11R6.3/include -DUSE_XSHM -DSUNOS4" \
  862. "CXXFLAGS = -fPIC -O3 -I/usr/X11R6.3/include -DSUNOS4" \
  863. "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \
  864. "MAKELIB = $(TOP)/bin/mklib.sunos4" \
  865. "APP_LIB_DEPS = -L/usr/X11R6.3/lib/X11 -lX11 -lXext -lXmu -lXi -lm"
  866. sunos5:
  867. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  868. "GL_LIB = libGL.so" \
  869. "GLU_LIB = libGLU.so" \
  870. "GLUT_LIB = libglut.so" \
  871. "GLW_LIB = libGLw.so" \
  872. "OSMESA_LIB = libOSMesa.so" \
  873. "CC = cc" \
  874. "CXX = c++" \
  875. "CFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM" \
  876. "CXXFLAGS = -KPIC -Xa -O -I/usr/openwin/include -I/usr/dt/include" \
  877. "GL_LIB_DEPS = -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -lXmu -lXi -lm" \
  878. "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \
  879. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  880. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \
  881. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
  882. "APP_LIB_DEPS = -lCrun -lX11 -lglut -lGLU -lGL -lm"
  883. sunos5-smp:
  884. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  885. "GL_LIB = libGL.so" \
  886. "GLU_LIB = libGLU.so" \
  887. "GLUT_LIB = libglut.so" \
  888. "GLW_LIB = libGLw.so" \
  889. "OSMESA_LIB = libOSMesa.so" \
  890. "CC = cc" \
  891. "CXX = c++" \
  892. "CFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include -DUSE_XSHM -DSOLARIS_2_4_BUG" \
  893. "CXXFLAGS = -KPIC -Xa -native -fast -xO5 -xlibmil -xsafe=mem -xdepend -I/usr/openwin/include -I/usr/dt/include" \
  894. "GLUT_CFLAGS = -DSOLARIS_2_4_BUG" \
  895. "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \
  896. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  897. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \
  898. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
  899. "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm -lCrun"
  900. sunos5-gcc:
  901. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  902. "GL_LIB = libGL.so" \
  903. "GLU_LIB = libGLU.so" \
  904. "GLUT_LIB = libglut.so" \
  905. "GLW_LIB = libGLw.so" \
  906. "OSMESA_LIB = libOSMesa.so" \
  907. "CC = gcc" \
  908. "CXX = g++" \
  909. "CFLAGS = -O3 -I/usr/openwin/include -DUSE_XSHM" \
  910. "CXXFLAGS = -O3 -I/usr/openwin/include" \
  911. "GLUT_CFLAGS = -fexceptions -DSOLARIS_2_4_BUG" \
  912. "GL_LIB_DEPS = -L/usr/openwin/lib -lX11 -lXext -lXmu -lXi -lm" \
  913. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  914. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -lm" \
  915. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/openwin/lib -lXt -lX11" \
  916. "APP_LIB_DEPS = -lX11 -lglut -lGLU -lGL -lm"
  917. ultrix-gcc:
  918. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  919. "GL_LIB = libGL.a" \
  920. "GLU_LIB = libGLU.a" \
  921. "GLUT_LIB = libglut.a" \
  922. "GLW_LIB = libGLw.a" \
  923. "OSMESA_LIB = libOSMesa.a" \
  924. "CC = gcc" \
  925. "CXX = g++" \
  926. "CFLAGS = -pedantic -O2" \
  927. "CXXFLAGS = -pedantic -O2" \
  928. "GLUT_CFLAGS = -fexceptions" \
  929. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  930. "APP_LIB_DEPS = -lXmu -lX11 -lXi -lm"
  931. unixware:
  932. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  933. "GL_LIB = libGL.a" \
  934. "GLU_LIB = libGLU.a" \
  935. "GLUT_LIB = libglut.a" \
  936. "GLW_LIB = libGLw.a" \
  937. "OSMESA_LIB = libOSMesa.a" \
  938. "CC = cc" \
  939. "CFLAGS = -O -I/usr/X/include -DUSE_XSHM" \
  940. "CXXFLAGS = -O" \
  941. "MAKELIB = $(TOP)/bin/mklib.ar-ruv" \
  942. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm"
  943. unixware-shared:
  944. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  945. "GL_LIB = libGL" \
  946. "GLU_LIB = libGLU" \
  947. "GLUT_LIB = libglut" \
  948. "GLW_LIB = libGLw" \
  949. "OSMESA_LIB = libOSMesa" \
  950. "CC = cc" \
  951. "CFLAGS = -O -I/usr/X/include -KPIC,inline -DUSE_XSHM" \
  952. "CXXFLAGS = -O -KPIC,inline" \
  953. "APP_LIB_DEPS = -lX11 -lXext -lXmu -lXi -lsocket -lnsl -lm"
  954. # for debugging on IRIX 5.x systems
  955. # -woff 1209 = "controlling expression is constant"
  956. # -woff 1210 = "controlling expression is constant"
  957. # -woff 1506 = "implict conversion from unsigned long to smaller type"
  958. # -woff 1521 = "nonstandard preprocessing directive is used"
  959. # -woff 3496 = "bitwise operator precedence"
  960. irix-debug:
  961. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  962. "GL_LIB = libGL.a" \
  963. "GLU_LIB = libGLU.a" \
  964. "GLUT_LIB = libglut.a" \
  965. "GLW_LIB = libGLw.a" \
  966. "OSMESA_LIB = libOSMesa.a" \
  967. "LIBDIR = $(TOP)/lib32" \
  968. "CC = cc" \
  969. "CFLAGS = -g -n32 -ansi -fullwarn -DUSE_XSHM -DDEBUG -woff 1209,1210,1506,1521,3496" \
  970. "APP_LIB_DEPS = -rpath $(TOP)/lib32 -lX11 -lXext -lXmu -lXi -lfpe -lXext -lXmu -lXi -lm"
  971. # for debugging on Linux systems
  972. linux-debug:
  973. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  974. "GL_LIB = libGL.so" \
  975. "GLU_LIB = libGLU.so" \
  976. "GLUT_LIB = libglut.so" \
  977. "GLW_LIB = libGLw.so" \
  978. "OSMESA_LIB = libOSMesa.so" \
  979. "CC = gcc" \
  980. "CXX = g++" \
  981. "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DDEBUG -DMESA_DEBUG" \
  982. "CXXFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -Wundef -fPIC -ffast-math -D_POSIX_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG -DMESA_DEBUG" \
  983. "GLUT_CFLAGS = -fexceptions" \
  984. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lpthread" \
  985. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  986. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  987. "GLW_LIB_DEPS = -L$(TOP)/lib -lGL -L/usr/X11R6/lib -lXt -lX11" \
  988. "APP_LIB_DEPS = -lglut -lGLU -lGL"
  989. linux-x86-debug:
  990. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  991. "GL_LIB = libGL.so" \
  992. "GLU_LIB = libGLU.so" \
  993. "GLUT_LIB = libglut.so" \
  994. "GLW_LIB = libGLw.so" \
  995. "OSMESA_LIB = libOSMesa.so" \
  996. "CC = gcc" \
  997. "CXX = g++" \
  998. "CFLAGS = -O2 -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DPTHREADS -I/usr/X11R6/include -DDEBUG -DMESA_DEBUG" \
  999. "CXXFLAGS = -O2 -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG" \
  1000. "GLUT_CFLAGS = -fexceptions" \
  1001. "GL_LIB_DEPS = -L/usr/X11R6/lib -lX11 -lXext -lm -lm -lpthread" \
  1002. "GLU_LIB_DEPS = -L$(TOP)/lib -lGL -lm" \
  1003. "GLUT_LIB_DEPS = -L$(TOP)/lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lXmu -lXt -lXi -lm" \
  1004. "APP_LIB_DEPS = -lm" \
  1005. "ASM_SOURCES = $(X86_SOURCES)"
  1006. linux-glide-debug:
  1007. $(MAKE) $(MFLAGS) -f Makefile.X11 targets \
  1008. "GL_LIB = libGL.so" \
  1009. "GLU_LIB = libGLU.so" \
  1010. "GLUT_LIB = libglut.so" \
  1011. "GLW_LIB = libGLw.so" \
  1012. "OSMESA_LIB = libOSMesa.so" \
  1013. "CC = gcc" \
  1014. "CXX = g++" \
  1015. "CFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -I/usr/X11R6/include -DUSE_XSHM -DPTHREADS -DFX -DDEBUG -I/usr/local/glide/include -I/usr/include/glide" \
  1016. "CXXFLAGS = -g -ansi -pedantic -Wall -Wmissing-prototypes -fPIC -ffast-math -D_SVID_SOURCE -D_BSD_SOURCE -DDEBUG" \
  1017. "GLUT_CFLAGS = -fexceptions" \
  1018. "APP_LIB_DEPS = -L/usr/local/glide/lib -lglide3x -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lvga -lm -lpthread"