Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.X11 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. # $Id: Makefile.X11,v 1.6 1999/09/16 16:43:38 brianp Exp $
  2. # Mesa 3-D graphics library
  3. # Version: 3.1
  4. #
  5. # Copyright (C) 1999 Brian Paul All Rights Reserved.
  6. #
  7. # Permission is hereby granted, free of charge, to any person obtaining a
  8. # copy of this software and associated documentation files (the "Software"),
  9. # to deal in the Software without restriction, including without limitation
  10. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  11. # and/or sell copies of the Software, and to permit persons to whom the
  12. # Software is furnished to do so, subject to the following conditions:
  13. #
  14. # The above copyright notice and this permission notice shall be included
  15. # in all copies or substantial portions of the Software.
  16. #
  17. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  18. # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  20. # BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  21. # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23. # Top-level makefile for Mesa
  24. # To add a new configuration for your system add it to the list below
  25. # then update the Make-config file.
  26. SHELL = /bin/sh
  27. default:
  28. @echo "Type one of the following:"
  29. @echo " make aix for IBM RS/6000 with AIX"
  30. @echo " make aix-sl for IBM RS/6000, make shared libs"
  31. @echo " make amiwin for Amiga with SAS/C and AmiWin"
  32. @echo " make amix for Amiga 3000 UX SVR4 v2.1 systems"
  33. @echo " make beos-r4 for BeOS R4"
  34. @echo " make bsdos for BSD/OS from BSDI using GCC"
  35. @echo " make bsdos4 for BSD/OS 4.x, dynamic libraries"
  36. @echo " make cygnus for Win95/NT using Cygnus-Win32"
  37. @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux"
  38. @echo " make dgux for Data General"
  39. @echo " make freebsd for FreeBSD systems with GCC"
  40. @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly"
  41. @echo " make gcc for a generic system with GCC"
  42. @echo " make hpux9 for HP systems with HPUX 9.x"
  43. @echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs"
  44. @echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC"
  45. @echo " make hpux9-gcc-sl for HP systems with HPUX 9.x, GCC, make shared libs"
  46. @echo " make hpux10 for HP systems with HPUX 10.x"
  47. @echo " make hpux10-sl for HP systems with HPUX 10.x, shared libs"
  48. @echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC"
  49. @echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs"
  50. @echo " make irix4 for SGI systems with IRIX 4.x"
  51. @echo " make irix5 for SGI systems with IRIX 5.x"
  52. @echo " make irix5-gcc for SGI systems with IRIX 5.x using GCC"
  53. @echo " make irix5-dso for SGI systems with IRIX 5.x, make DSOs"
  54. @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs"
  55. @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs"
  56. @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs"
  57. @echo " make irix6-n32-dso for SGI systems with IRIX 6.x, make n32-bit DSOs"
  58. @echo " make irix6-gcc-n32-sl for SGI systems with IRIX 6.x, GCC, make n32 DSOs"
  59. @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs"
  60. @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs"
  61. @echo " make linux for Linux systems, make static .a libs"
  62. @echo " make linux-elf for Linux systems, make ELF shared libs"
  63. @echo " make linux-386 for Linux w/ Intel assembly"
  64. @echo " make linux-386-elf for Linux w/ Intel assembly, make ELF shared libs"
  65. @echo " make linux-ggi for Linux systems with libggi"
  66. @echo " make linux-386-ggi for Linux systems with libggi w/ Intel assembly"
  67. @echo " make linux-alpha for Linux on Alpha systems"
  68. @echo " make linux-alpha-elf for Linux on Alpha systems, make ELF shared libs"
  69. @echo " make linux-ppc for Linux on PowerPC systems"
  70. @echo " make linux-ppc-so for Linux on PowerPC systems, make shared libs"
  71. @echo " make linux-glide for Linux w/ 3Dfx Glide driver"
  72. @echo " make linux-386-glide for Linux w/ 3Dfx Glide driver, Intel assembly"
  73. @echo " make linux-386-opt-glide for Linux with 3Dfx Voodoo1 for GLQuake"
  74. @echo " make linux-386-opt-V2-glide for Linux with 3Dfx Voodoo2 for GLQuake"
  75. @echo " make linux-3dnow for Linux on AMD w/ 3DNow!"
  76. @echo " make linux-3dnow-glide for Linux on AMD w/ 3DNow! for Glide"
  77. @echo " make linux-386-pthread for Linux w/ Intel assembly and linuxthreads"
  78. @echo " make linux-386-pthread-shared for Linux w/ Intel assembly and linuxthreads"
  79. @echo " make linux-386-pthread-shared-glide for Linux w/ Intel assembly, linuxthreads, and 3Dfx Glide driver"
  80. @echo " make linux-sparc for Linux on Sparc systems"
  81. @echo " make linux-sparc5-elf for Sparc5 systems, make ELF shared libs"
  82. @echo " make linux-sparc-ultra for UltraSparc systems, make ELF shared libs"
  83. @echo " make lynxos for LynxOS systems with GCC"
  84. @echo " make macintosh for Macintosh"
  85. @echo " make machten-2.2 for Macs w/ MachTen 2.2 (68k w/ FPU)"
  86. @echo " make machten-4.0 for Macs w/ MachTen 4.0.1 or newer with GNU make"
  87. @echo " make mklinux for Linux on Power Macintosh"
  88. @echo " make netbsd for NetBSD 1.0 systems with GCC"
  89. @echo " make next for NeXT systems with NEXTSTEP 3.3"
  90. @echo " make openbsd for OpenBSD systems"
  91. @echo " make openstep for OpenStep/MacOSX Server systems"
  92. @echo " make os2-x11 for OS/2 with XFree86"
  93. @echo " make osf1 for DEC Alpha systems with OSF/1"
  94. @echo " make osf1-sl for DEC Alpha systems with OSF/1, make shared libs"
  95. @echo " make pgi-cygnus for Cygnus with Portland Group, Inc. compiler"
  96. @echo " make pgi-mingw32 for mingW32 with Portland Group, Inc. compiler"
  97. @echo " make qnx for QNX V4 systems with Watcom compiler"
  98. @echo " make sco for SCO Unix systems with ODT"
  99. @echo " make solaris-x86 for PCs with Solaris"
  100. @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
  101. @echo " make sunos4 for Suns with SunOS 4.x"
  102. @echo " make sunos4-sl for Suns with SunOS 4.x, make shared libs"
  103. @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
  104. @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
  105. @echo " make sunos5 for Suns with SunOS 5.x"
  106. @echo " make sunos5-sl for Suns with SunOS 5.x, make shared libs"
  107. @echo " make sunos5-ultra for Sun UltraSPARCs with SunOS 5.x"
  108. @echo " make sunos5-ultra-sl for Sun UltraSPARCs with SunOS 5.x, make shared libs"
  109. @echo " make sunos5-thread for Suns with SunOS 5.x, using Solaris threads"
  110. @echo " make sunos5-pthread for Suns with SunOS 5.[56] using POSIX threads"
  111. @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
  112. @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
  113. @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
  114. @echo " make sunos5-gcc-sl for Suns with SunOS 5.x, GCC, make shared libs"
  115. @echo " make sunos5-x11r6-gcc-sl for Suns with X11R6, GCC, make shared libs"
  116. @echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
  117. @echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
  118. @echo " make sunSolaris-CC for Solaris using C++ compiler"
  119. @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
  120. @echo " make unicos for Cray C90 (and other?) systems"
  121. @echo " make unixware for PCs running UnixWare"
  122. @echo " make unixware-shared for PCs running UnixWare, shared libs"
  123. @echo " make uwin for Windows NT with AT&T/Wipro UWIN"
  124. @echo " make vistra for Stardent Vistra systems"
  125. @echo " make clean remove .o files"
  126. @echo " make realclean remove .o, library and executable files"
  127. aix aix-sl amix bsdos bsdos4 dgux freebsd freebsd-386 gcc \
  128. hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
  129. hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
  130. irix4 irix5 irix5-gcc irix5-dso irix6-o32 irix6-o32-dso \
  131. linux linux-debug linux-prof linux-elf linux-elf-debug \
  132. linux-glide linux-386-glide linux-386-opt-glide \
  133. linux-386-opt-V2-glide \
  134. linux-386 linux-386-elf \
  135. linux-3dnow linux-3dnow-glide \
  136. linux-alpha linux-alpha-elf \
  137. linux-ppc linux-ppc-so \
  138. linux-386-pthread linux-386-pthread-shared linux-386-pthread-shared-glide \
  139. linux-sparc \
  140. linux-sparc5-elf \
  141. linux-sparc-ultra \
  142. lynxos machten-2.2 machten-4.0 \
  143. mklinux netbsd osf1 osf1-sl openbsd qnx sco \
  144. solaris-x86 solaris-x86-gcc sunSolaris-CC \
  145. sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
  146. sunos5 sunos5-sl sunos5-ultra sunos5-ultra-sl sunos5-gcc sunos5-gcc-sl \
  147. sunos5-thread sunos5-pthread sunos5-gcc-thread sunos5-gcc-pthread \
  148. sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra:
  149. -mkdir lib
  150. touch src/depend
  151. touch src-glu/depend
  152. if [ -d src-glut ] ; then touch src-glut/depend ; fi
  153. cd src ; $(MAKE) -f Makefile.X11 $@
  154. cd src-glu ; $(MAKE) -f Makefile.X11 $@
  155. if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
  156. if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
  157. if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
  158. if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
  159. if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
  160. irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug:
  161. -mkdir lib32
  162. touch src/depend
  163. touch src-glu/depend
  164. if [ -d src-glut ] ; then touch src-glut/depend ; fi
  165. cd src ; $(MAKE) -f Makefile.X11 $@
  166. cd src-glu ; $(MAKE) -f Makefile.X11 $@
  167. if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
  168. if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
  169. if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
  170. if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
  171. if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
  172. irix6-64 irix6-64-dso:
  173. -mkdir lib64
  174. touch src/depend
  175. touch src-glu/depend
  176. if [ -d src-glut ] ; then touch src-glut/depend ; fi
  177. cd src ; $(MAKE) -f Makefile.X11 $@
  178. cd src-glu ; $(MAKE) -f Makefile.X11 $@
  179. if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
  180. if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
  181. if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
  182. if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
  183. if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
  184. amiwin:
  185. bin/mklib.amiwin
  186. beos-r4:
  187. -mkdir lib
  188. -rm src/depend
  189. touch src/depend
  190. -rm src-glu/depend
  191. touch src-glu/depend
  192. cd src ; $(MAKE) -f Makefile.BeOS-R4 $@
  193. cd src-glu ; $(MAKE) -f Makefile.BeOS-R4 $@
  194. if [ -d BeOS ] ; then cd BeOS ; $(MAKE) ; fi
  195. if [ -d src-glut.beos ] ; then cd src-glut.beos ; $(MAKE) ; fi
  196. if [ -d src-glut.beos ] ; then cp src-glut.beos/obj*/libglut.so lib ; fi
  197. if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
  198. if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
  199. if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
  200. pgi-cygnus pgi-mingw32 \
  201. cygnus cygnus-linux:
  202. -mkdir lib
  203. touch src/depend
  204. touch src-glu/depend
  205. cd src ; $(MAKE) -f Makefile.X11 $@
  206. cd src-glu ; $(MAKE) -f Makefile.X11 $@
  207. cd src-glut ; $(MAKE) -f Makefile.X11 $@
  208. cd demos ; $(MAKE) -f Makefile.X11 $@
  209. if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
  210. macintosh:
  211. @echo "See the README file for Macintosh intallation information"
  212. next:
  213. -mkdir lib
  214. cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
  215. cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
  216. openstep:
  217. -mkdir lib
  218. cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
  219. cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
  220. os2-x11:
  221. if not EXIST .\lib md lib
  222. touch src/depend
  223. touch src-glu/depend
  224. if exist src-glut touch src-glut/depend
  225. cd src & make -f Makefile.X11 $@
  226. cd src-glu & make -f Makefile.X11 $@
  227. if exist src-glut cd src-glut & make -f Makefile.X11 $@
  228. if exist demos cd demos & make -f Makefile.X11 $@
  229. if exist xdemos cd xdemos & make -f Makefile.X11 $@
  230. if exist samples cd samples & make -f Makefile.X11 $@
  231. if exist book cd book & make -f Makefile.X11 $@
  232. linux-ggi linux-386-ggi:
  233. -mkdir lib
  234. touch src/depend
  235. touch src-glu/depend
  236. if [ -d src-glut ] ; then touch src-glut/depend ; fi
  237. if [ -d ggi ] ; then touch ggi/depend ; fi
  238. cd src ; $(MAKE) -f Makefile.X11 $@
  239. cd src/GGI/default ; $(MAKE)
  240. cd src/GGI/display ; $(MAKE)
  241. cd src-glu ; $(MAKE) -f Makefile.X11 $@
  242. # if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
  243. if [ -d ggi ] ; then cd ggi ; $(MAKE) -f Makefile.X11 $@ ; fi
  244. if [ -d ggi ] ; then cd ggi/demos; $(MAKE) ; fi
  245. if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
  246. if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
  247. if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.X11 $@ ; fi
  248. if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
  249. # if you change GGI_DEST please change it in ggimesa.conf, too.
  250. DESTDIR=/usr/local
  251. GGI_DEST=lib/ggi/mesa
  252. linux-ggi-install linux-386-ggi-install:
  253. install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
  254. install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
  255. install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
  256. install -m 0644 src/GGI/ggimesa.conf $(DESTDIR)/etc/ggi
  257. # if [ -z "`grep ggimesa $(DESTDIR)/etc/ggi/libggi.conf`" ]; then \
  258. # echo ".include $(DESTDIR)/etc/ggi/ggimesa.conf" >> $(DESTDIR)/etc/ggi/libggi.conf ; \
  259. # fi
  260. # Remove .o files, emacs backup files, etc.
  261. clean:
  262. -rm -f ggi/*~ *.o
  263. -rm -f src/GGI/default/*~ *.so
  264. -rm -f src/GGI/display/*~ *.so
  265. -rm -f include/*~
  266. -rm -f include/GL/*~
  267. -rm -f src/*.o src/*~ src/*.a src/*/*.o src/*/*~
  268. -rm -f src-glu/*.o src-glu/*~ src-glu/*.a
  269. -rm -f src-glut/*.o
  270. -rm -f demos/*.o
  271. -rm -f book/*.o book/*~
  272. -rm -f xdemos/*.o xdemos/*~
  273. -rm -f samples/*.o samples/*~
  274. -rm -f ggi/*.o ggi/demos/*.o ggi/*.a
  275. # Remove everything that can be remade
  276. realclean: clean
  277. -rm -f lib/*
  278. cd demos && $(MAKE) -f Makefile.X11 realclean || true
  279. cd xdemos && $(MAKE) -f Makefile.X11 realclean || true
  280. cd book && $(MAKE) -f Makefile.X11 realclean || true
  281. cd samples && $(MAKE) -f Makefile.X11 realclean || true
  282. cd ggi/demos && ($MAKE) -f Makefile.X11 realclean || true
  283. cd src/GGI/default && $(MAKE) -f Makefile.X11 realclean || true
  284. DIRECTORY = Mesa-3.1
  285. LIB_NAME = MesaLib-3.1beta3
  286. DEMO_NAME = MesaDemos-3.1beta3
  287. LIB_FILES = \
  288. $(DIRECTORY)/Makefile* \
  289. $(DIRECTORY)/Make-config \
  290. $(DIRECTORY)/acconfig.h \
  291. $(DIRECTORY)/acinclude.m4 \
  292. $(DIRECTORY)/aclocal.m4 \
  293. $(DIRECTORY)/conf.h.in \
  294. $(DIRECTORY)/config.guess \
  295. $(DIRECTORY)/config.sub \
  296. $(DIRECTORY)/configure \
  297. $(DIRECTORY)/configure.in \
  298. $(DIRECTORY)/install-sh \
  299. $(DIRECTORY)/ltconfig \
  300. $(DIRECTORY)/ltmain.sh \
  301. $(DIRECTORY)/missing \
  302. $(DIRECTORY)/mkinstalldirs \
  303. $(DIRECTORY)/stamp-h.in \
  304. $(DIRECTORY)/configure \
  305. $(DIRECTORY)/docs/CONFIG \
  306. $(DIRECTORY)/docs/CONFORM \
  307. $(DIRECTORY)/docs/COPYING \
  308. $(DIRECTORY)/docs/COPYRIGHT \
  309. $(DIRECTORY)/docs/DEVINFO \
  310. $(DIRECTORY)/docs/IAFA-PACKAGE \
  311. $(DIRECTORY)/docs/INSTALL \
  312. $(DIRECTORY)/docs/INSTALL.GNU \
  313. $(DIRECTORY)/docs/README \
  314. $(DIRECTORY)/docs/README.* \
  315. $(DIRECTORY)/docs/RELNOTES \
  316. $(DIRECTORY)/docs/VERSIONS \
  317. $(DIRECTORY)/docs/*.spec \
  318. $(DIRECTORY)/bin/README \
  319. $(DIRECTORY)/bin/mklib* \
  320. $(DIRECTORY)/*.BAT \
  321. $(DIRECTORY)/*.bat \
  322. $(DIRECTORY)/descrip.mms \
  323. $(DIRECTORY)/mms-config \
  324. $(DIRECTORY)/xlib.opt \
  325. $(DIRECTORY)/STARTUP.MK \
  326. $(DIRECTORY)/mesawin32.mak \
  327. $(DIRECTORY)/Names.win \
  328. $(DIRECTORY)/win32-openstep.sh \
  329. $(DIRECTORY)/*.dja \
  330. $(DIRECTORY)/include/GL/dosmesa.h \
  331. $(DIRECTORY)/include/GL/foomesa.h \
  332. $(DIRECTORY)/include/GL/fxmesa.h \
  333. $(DIRECTORY)/include/GL/ggimesa.h \
  334. $(DIRECTORY)/include/GL/gl.h \
  335. $(DIRECTORY)/include/GL/gl_mangle.h \
  336. $(DIRECTORY)/include/GL/glu.h \
  337. $(DIRECTORY)/include/GL/glu_mangle.h \
  338. $(DIRECTORY)/include/GL/glx.h \
  339. $(DIRECTORY)/include/GL/glx_mangle.h \
  340. $(DIRECTORY)/include/GL/mglmesa.h \
  341. $(DIRECTORY)/include/GL/osmesa.h \
  342. $(DIRECTORY)/include/GL/svgamesa.h \
  343. $(DIRECTORY)/include/GL/wmesa.h \
  344. $(DIRECTORY)/include/GL/xmesa.h \
  345. $(DIRECTORY)/include/GL/xmesa_x.h \
  346. $(DIRECTORY)/include/GL/xmesa_xf86.h \
  347. $(DIRECTORY)/include/GLView.h \
  348. $(DIRECTORY)/src/Makefile* \
  349. $(DIRECTORY)/src/descrip.mms \
  350. $(DIRECTORY)/src/mms_depend \
  351. $(DIRECTORY)/src/*.def \
  352. $(DIRECTORY)/src/depend \
  353. $(DIRECTORY)/src/*.[chS] \
  354. $(DIRECTORY)/src/Allegro/*.[ch] \
  355. $(DIRECTORY)/src/BeOS/*.cpp \
  356. $(DIRECTORY)/src/D3D/*.cpp \
  357. $(DIRECTORY)/src/D3D/*.CPP \
  358. $(DIRECTORY)/src/D3D/*.h \
  359. $(DIRECTORY)/src/D3D/*.H \
  360. $(DIRECTORY)/src/D3D/*.c \
  361. $(DIRECTORY)/src/D3D/*.C \
  362. $(DIRECTORY)/src/D3D/MAKEFILE \
  363. $(DIRECTORY)/src/D3D/*bat \
  364. $(DIRECTORY)/src/D3D/*DEF \
  365. $(DIRECTORY)/src/DOS/DEPEND.DOS \
  366. $(DIRECTORY)/src/DOS/*.c \
  367. $(DIRECTORY)/src/FX/*.[ch] \
  368. $(DIRECTORY)/src/FX/*.def \
  369. $(DIRECTORY)/src/GGI/*.[ch] \
  370. $(DIRECTORY)/src/GGI/ggimesa.conf \
  371. $(DIRECTORY)/src/GGI/default/*.c \
  372. $(DIRECTORY)/src/GGI/default/Makefile \
  373. $(DIRECTORY)/src/GGI/display/*.c \
  374. $(DIRECTORY)/src/GGI/display/Makefile \
  375. $(DIRECTORY)/src/KNOWN_BUGS \
  376. $(DIRECTORY)/src/MGL/*.[ch] \
  377. $(DIRECTORY)/src/MGL/*.txt \
  378. $(DIRECTORY)/src/OSmesa/*.[ch] \
  379. $(DIRECTORY)/src/S3/*.[ch] \
  380. $(DIRECTORY)/src/S3/*.def \
  381. $(DIRECTORY)/src/S3/*.mak \
  382. $(DIRECTORY)/src/S3/*.rc \
  383. $(DIRECTORY)/src/SVGA/*.[ch] \
  384. $(DIRECTORY)/src/Windows/*.[ch] \
  385. $(DIRECTORY)/src/Windows/*.def \
  386. $(DIRECTORY)/src/X/*.[ch] \
  387. $(DIRECTORY)/src/X86/*.[ch] \
  388. $(DIRECTORY)/src/X86/Makefile \
  389. $(DIRECTORY)/src/X86/*.m4 \
  390. $(DIRECTORY)/src/X86/*.S \
  391. $(DIRECTORY)/src/*.dja \
  392. $(DIRECTORY)/src-glu/README[12] \
  393. $(DIRECTORY)/src-glu/Makefile* \
  394. $(DIRECTORY)/src-glu/descrip.mms \
  395. $(DIRECTORY)/src-glu/mms_depend \
  396. $(DIRECTORY)/src-glu/*.def \
  397. $(DIRECTORY)/src-glu/*.dja \
  398. $(DIRECTORY)/src-glu/depend \
  399. $(DIRECTORY)/src-glu/*.[ch] \
  400. $(DIRECTORY)/widgets-mesa \
  401. $(DIRECTORY)/widgets-sgi \
  402. $(DIRECTORY)/util/README \
  403. $(DIRECTORY)/util/*.[ch] \
  404. $(DIRECTORY)/util/sampleMakefile \
  405. $(DIRECTORY)/BeOS/Makefile \
  406. $(DIRECTORY)/BeOS/*.cpp
  407. # old stuff
  408. # $(DIRECTORY)/Win32 \
  409. # $(DIRECTORY)/win32
  410. # $(DIRECTORY)/OpenStep \
  411. #
  412. #
  413. DEMO_FILES = \
  414. $(DIRECTORY)/include/GL/glut.h \
  415. $(DIRECTORY)/include/GL/glutf90.h \
  416. $(DIRECTORY)/include/GL/glut_h.dja \
  417. $(DIRECTORY)/src-glut/Makefile* \
  418. $(DIRECTORY)/src-glut/depend \
  419. $(DIRECTORY)/src-glut/*def \
  420. $(DIRECTORY)/src-glut/descrip.mms \
  421. $(DIRECTORY)/src-glut/mms_depend \
  422. $(DIRECTORY)/src-glut/*.[ch] \
  423. $(DIRECTORY)/src-glut.dja/* \
  424. $(DIRECTORY)/images/* \
  425. $(DIRECTORY)/demos/Makefile* \
  426. $(DIRECTORY)/demos/descrip.mms \
  427. $(DIRECTORY)/demos/*.[ch] \
  428. $(DIRECTORY)/demos/*.dat \
  429. $(DIRECTORY)/xdemos/Makefile* \
  430. $(DIRECTORY)/xdemos/descrip.mms \
  431. $(DIRECTORY)/xdemos/*.[cf] \
  432. $(DIRECTORY)/book/Makefile* \
  433. $(DIRECTORY)/book/README \
  434. $(DIRECTORY)/book/*.[ch] \
  435. $(DIRECTORY)/samples/Makefile* \
  436. $(DIRECTORY)/samples/README \
  437. $(DIRECTORY)/samples/*.c \
  438. $(DIRECTORY)/samples/*.dja \
  439. $(DIRECTORY)/3Dfx \
  440. $(DIRECTORY)/mtdemos \
  441. $(DIRECTORY)/ggi
  442. # $(DIRECTORY)/src-glut.beos/Makefile \
  443. # $(DIRECTORY)/src-glut.beos/*.cpp \
  444. # $(DIRECTORY)/src-glut.beos/*.h \
  445. #
  446. lib_tar:
  447. cd .. ; \
  448. tar -cvf $(LIB_NAME).tar $(LIB_FILES) ; \
  449. gzip $(LIB_NAME).tar ; \
  450. mv $(LIB_NAME).tar.gz $(DIRECTORY)
  451. demo_tar:
  452. cd .. ; \
  453. tar -cvf $(DEMO_NAME).tar $(DEMO_FILES) ; \
  454. gzip $(DEMO_NAME).tar ; \
  455. mv $(DEMO_NAME).tar.gz $(DIRECTORY)
  456. lib_zip:
  457. -rm $(LIB_NAME).zip
  458. cd .. ; \
  459. zip -r $(LIB_NAME).zip $(LIB_FILES) ; \
  460. mv $(LIB_NAME).zip $(DIRECTORY)
  461. demo_zip:
  462. -rm $(DEMO_NAME).zip
  463. cd .. ; \
  464. zip -r $(DEMO_NAME).zip $(DEMO_FILES) ; \
  465. mv $(DEMO_NAME).zip $(DIRECTORY)
  466. SRC_FILES = \
  467. RELNOTES \
  468. src/Makefile* \
  469. src/depend \
  470. src/*.[chS] \
  471. src/*/*.[ch] \
  472. include/GL/*.h
  473. srctar:
  474. tar -cvf src.tar $(SRC_FILES) ; \
  475. gzip src.tar
  476. srctar.zip:
  477. -rm src.zip
  478. zip -r src.zip $(SRC_FILES) ; \