Commit 3ba8a49c authored by Brian Paul's avatar Brian Paul
Browse files

Remove a bunch of really old/obsolete configs.

Use the new mklib script.
parent 8c20c7ba
# $Id: Makefile.X11,v 1.76 2003/04/07 14:45:52 brianp Exp $ # $Id: Makefile.X11,v 1.77 2003/06/01 16:25:02 brianp Exp $
# Mesa 3-D graphics library # Mesa 3-D graphics library
# Version: 5.1 # Version: 5.1
...@@ -35,19 +35,12 @@ default: ...@@ -35,19 +35,12 @@ default:
@echo "Type one of the following:" @echo "Type one of the following:"
@echo " make aix for IBM RS/6000 with AIX" @echo " make aix for IBM RS/6000 with AIX"
@echo " make aix-sl for IBM RS/6000, make shared libs" @echo " make aix-sl for IBM RS/6000, make shared libs"
@echo " make amiwin for Amiga with SAS/C and AmiWin"
@echo " make amix for Amiga 3000 UX SVR4 v2.1 systems"
@echo " make beos-r4 for BeOS R4" @echo " make beos-r4 for BeOS R4"
@echo " make bsdos for BSD/OS from BSDI using GCC"
@echo " make bsdos4 for BSD/OS 4.x, dynamic libraries"
@echo " make cygnus for Win95/NT using Cygnus-Win32" @echo " make cygnus for Win95/NT using Cygnus-Win32"
@echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux" @echo " make cygnus-linux for Win95/NT using Cygnus-Win32 under Linux"
@echo " make darwin for Darwin - Mac OS X" @echo " make darwin for Darwin - Mac OS X"
@echo " make dgux for Data General"
@echo " make freebsd for FreeBSD systems with GCC" @echo " make freebsd for FreeBSD systems with GCC"
@echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly" @echo " make freebsd-386 for FreeBSD systems with GCC, w/ Intel assembly"
@echo " make gcc for a generic system with GCC"
@echo " make gcc-sl for a generic system with GCC for shared libs"
@echo " make hpux9 for HP systems with HPUX 9.x" @echo " make hpux9 for HP systems with HPUX 9.x"
@echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs" @echo " make hpux9-sl for HP systems with HPUX 9.x, make shared libs"
@echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC" @echo " make hpux9-gcc for HP systems with HPUX 9.x using GCC"
...@@ -56,10 +49,6 @@ default: ...@@ -56,10 +49,6 @@ default:
@echo " make hpux10-sl for HP systems with HPUX 10.x and 11.x, shared libs" @echo " make hpux10-sl for HP systems with HPUX 10.x and 11.x, shared libs"
@echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC" @echo " make hpux10-gcc for HP systems with HPUX 10.x w/ GCC"
@echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs" @echo " make hpux10-gcc-sl for HP systems with HPUX 10.x w/ GCC, shared libs"
@echo " make irix4 for SGI systems with IRIX 4.x"
@echo " make irix5 for SGI systems with IRIX 5.x"
@echo " make irix5-gcc for SGI systems with IRIX 5.x using GCC"
@echo " make irix5-dso for SGI systems with IRIX 5.x, make DSOs"
@echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs" @echo " make irix6-o32 for SGI systems with IRIX 6.x, make o32-bit libs"
@echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs" @echo " make irix6-o32-dso for SGI systems with IRIX 6.x, make o32-bit DSOs"
@echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs" @echo " make irix6-n32 for SGI systems with IRIX 6.x, make n32-bit libs"
...@@ -68,43 +57,29 @@ default: ...@@ -68,43 +57,29 @@ default:
@echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs" @echo " make irix6-64 for SGI systems with IRIX 6.x, make 64-bit libs"
@echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs" @echo " make irix6-64-dso for SGI systems with IRIX 6.x, make 64-bit DSOs"
@echo " make linux for Linux systems, make shared .so libs" @echo " make linux for Linux"
@echo " make linux-static for Linux systems, make static .a libs" @echo " make linux-x86 for Linux with x86 optimizations"
@echo " make linux-x86 for Linux on Intel, make shared .so libs" @echo " make linux-ggi for Linux with libggi driver"
@echo " make linux-x86-static for Linux on Intel, make static .a libs" @echo " make linux-x86-ggi for Linux with libggi driver and x86 optimizations"
@echo " make linux-ggi for Linux systems with libggi" @echo " make linux-glide for Linux with 3Dfx Glide driver"
@echo " make linux-386-ggi for Linux systems with libggi w/ Intel assembly" @echo " make linux-x86-glide for Linux with 3Dfx Glide driver and x86 opts"
@echo " make linux-glide for Linux w/ 3Dfx Glide driver" @echo " make linux-alpha for Linux with Alpha optimizations"
@echo " make linux-386-glide for Linux w/ 3Dfx Glide driver, Intel assembly" @echo " make linux-alpha-static for Linux with Alpha opts, make static libs"
@echo " make linux-386-opt-glide for Linux with 3Dfx Voodoo1 for GLQuake" @echo " make linux-ppc for Linux with PowerPC opts"
@echo " make linux-x86-glide for Linux w/ all x86 asm for Glide" @echo " make linux-ppc-static for Linux with PowerPC opts, make static libs"
@echo " make linux-alpha for Linux on Alpha systems" @echo " make linux-sparc for Linux with Sparc optimzations"
@echo " make linux-alpha-static for Linux on Alpha systems, static libs" @echo " make linux-sparc5 for Linux with Sparc5 optimizations"
@echo " make linux-ppc for Linux on PowerPC systems" @echo " make linux-sparc-ultra for Linux with UltraSparc optimizations"
@echo " make linux-ppc-static for Linux on PowerPC systems, static libs"
@echo " make linux-sparc for Linux on Sparc systems"
@echo " make linux-sparc5-elf for Sparc5 systems, make ELF shared libs"
@echo " make linux-sparc-ultra for UltraSparc systems, make ELF shared libs"
@echo " make linux-osmesa16 for 16-bit/channel OSMesa" @echo " make linux-osmesa16 for 16-bit/channel OSMesa"
@echo " make linux-osmesa32 for 32-bit/channel OSMesa" @echo " make linux-osmesa32 for 32-bit/channel OSMesa"
@echo " make linux-icc for Linux with the Intel C/C++ compiler" @echo " make linux-icc for Linux with the Intel C/C++ compiler"
@echo " make lynxos for LynxOS systems with GCC" @echo " make lynxos for LynxOS systems with GCC"
@echo " make macintosh for Macintosh"
@echo " make machten-2.2 for Macs w/ MachTen 2.2 (68k w/ FPU)"
@echo " make machten-4.0 for Macs w/ MachTen 4.0.1 or newer with GNU make"
@echo " make mklinux for Linux on Power Macintosh" @echo " make mklinux for Linux on Power Macintosh"
@echo " make netbsd for NetBSD 1.0 systems with GCC" @echo " make netbsd for NetBSD 1.0 systems with GCC"
@echo " make next for NeXT systems with NEXTSTEP 3.3"
@echo " make openbsd for OpenBSD systems" @echo " make openbsd for OpenBSD systems"
@echo " make openstep for OpenStep/MacOSX Server systems" @echo " make openstep for OpenStep/MacOSX Server systems"
@echo " make os2-x11 for OS/2 with XFree86"
@echo " make osf1 for DEC Alpha systems with OSF/1" @echo " make osf1 for DEC Alpha systems with OSF/1"
@echo " make osf1-sl for DEC Alpha systems with OSF/1, make shared libs"
@echo " make pgi-cygnus for Cygnus with Portland Group, Inc. compiler"
@echo " make pgi-mingw32 for mingW32 with Portland Group, Inc. compiler"
@echo " make qnx for QNX V4 systems with Watcom compiler" @echo " make qnx for QNX V4 systems with Watcom compiler"
@echo " make sco for SCO Unix systems with ODT"
@echo " make sco5 for SCO 5.0.5 OpenServer Unix"
@echo " make solaris-x86 for PCs with Solaris" @echo " make solaris-x86 for PCs with Solaris"
@echo " make solaris-x86-gcc for PCs with Solaris using GCC" @echo " make solaris-x86-gcc for PCs with Solaris using GCC"
@echo " make sunos4 for Suns with SunOS 4.x" @echo " make sunos4 for Suns with SunOS 4.x"
...@@ -112,25 +87,10 @@ default: ...@@ -112,25 +87,10 @@ default:
@echo " make sunos4-gcc for Suns with SunOS 4.x and GCC" @echo " make sunos4-gcc for Suns with SunOS 4.x and GCC"
@echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs" @echo " make sunos4-gcc-sl for Suns with SunOS 4.x, GCC, make shared libs"
@echo " make sunos5 for Suns with SunOS 5.x" @echo " make sunos5 for Suns with SunOS 5.x"
@echo " make sunos5-sl for Suns with SunOS 5.x, make shared libs"
@echo " make sunos5-ultra for Sun UltraSPARCs with SunOS 5.x"
@echo " make sunos5-ultra-sl for Sun UltraSPARCs with SunOS 5.x, make shared libs"
@echo " make sunos5-thread for Suns with SunOS 5.x, using Solaris threads"
@echo " make sunos5-pthread for Suns with SunOS 5.[56] using POSIX threads"
@echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
@echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
@echo " make sunos5-gcc for Suns with SunOS 5.x and GCC" @echo " make sunos5-gcc for Suns with SunOS 5.x and GCC"
@echo " make sunos5-gcc-sl for Suns with SunOS 5.x, GCC, make shared libs"
@echo " make sunos5-x11r6-gcc-sl for Suns with X11R6, GCC, make shared libs"
@echo " make sunos5-gcc-thread for Suns with SunOS 5.x and GCC, using Solaris threads"
@echo " make sunos5-gcc-pthread for Suns with SunOS 5.[56] and GCC, using POSIX threads"
@echo " make sunSolaris-CC for Solaris using C++ compiler"
@echo " make ultrix-gcc for DEC systems with Ultrix and GCC" @echo " make ultrix-gcc for DEC systems with Ultrix and GCC"
@echo " make unicos for Cray C90 (and other?) systems"
@echo " make unixware for PCs running UnixWare" @echo " make unixware for PCs running UnixWare"
@echo " make unixware-shared for PCs running UnixWare, shared libs" @echo " make unixware-shared for PCs running UnixWare, shared libs"
@echo " make uwin for Windows NT with AT&T/Wipro UWIN"
@echo " make vistra for Stardent Vistra systems"
@echo " make clean remove .o files" @echo " make clean remove .o files"
@echo " make realclean remove .o, library and executable files" @echo " make realclean remove .o, library and executable files"
...@@ -139,29 +99,23 @@ default: ...@@ -139,29 +99,23 @@ default:
# XXX we may have to split up this group of targets into those that # XXX we may have to split up this group of targets into those that
# have a C++ compiler and those that don't for the SI-GLU library. # have a C++ compiler and those that don't for the SI-GLU library.
aix aix-sl amix bsdos bsdos4 darwin dgux freebsd freebsd-386 gcc gcc-sl \ aix aix-sl darwin freebsd freebsd-386 \
hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \ hpux9 hpux9-sl hpux9-gcc hpux9-gcc-sl \
hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \ hpux10 hpux10-sl hpux10-gcc hpux10-gcc-sl \
irix4 irix5 irix5-gcc irix5-dso \ linux linux-debug \
linux linux-static linux-debug linux-static-debug linux-prof \ linux-x86 linux-x86-sse linux-icc linux-x86-static linux-x86-debug \
linux-x86 linux-icc linux-x86-static linux-x86-debug \ linux-glide linux-x86-glide linux-glide-debug \
linux-glide linux-386-glide linux-386-opt-glide \
linux-x86-glide linux-glide-debug linux-glide-prof \
linux-alpha-static linux-alpha \ linux-alpha-static linux-alpha \
linux-ppc-static linux-ppc \ linux-ppc-static linux-ppc \
linux-sparc \ linux-sparc linux-sparc5 linux-sparc-ultra \
linux-sparc5-elf \ mklinux netbsd osf1 openbsd qnx \
linux-sparc-ultra \ solaris-x86 solaris-x86-gcc \
lynxos machten-2.2 machten-4.0 \
mklinux netbsd osf1 osf1-sl openbsd qnx sco sco5 \
solaris-x86 solaris-x86-gcc sunSolaris-CC \
sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \ sunos4 sunos4-sl sunos4-gcc sunos4-gcc-sl sunos4-gcc-x11r6-sl \
sunos5 sunos5-sl sunos5-ultra sunos5-ultra-sl sunos5-gcc sunos5-gcc-sl \ sunos5 sunos5-gcc \
sunos5-thread sunos5-pthread sunos5-gcc-thread sunos5-gcc-pthread \ ultrix-gcc unixware:
sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra:
-mkdir lib -mkdir lib
if [ -d src ] ; then touch src/depend ; fi if [ -d src ] ; then touch src/depend ; fi
if [ -d si-glu ] ; then touch si-glu/depend ; fi if [ -d si-glu ] ; then touch si-glu/depend ; fi
if [ -d src-glut ] ; then touch src-glut/depend ; fi if [ -d src-glut ] ; then touch src-glut/depend ; fi
if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
...@@ -173,17 +127,14 @@ sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra: ...@@ -173,17 +127,14 @@ sunos5-x11r6-gcc-sl ultrix-gcc unicos unixware uwin vistra:
if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
gcc-mesa-sl: irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl:
if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug:
-mkdir lib32 -mkdir lib32
if [ -d src ] ; then touch src/depend ; fi if [ -d src ] ; then touch src/depend ; fi
if [ -d src-glu ] ; then touch src-glu/depend ; fi if [ -d si-glu ] ; then touch si-glu/depend ; fi
if [ -d src-glut ] ; then touch src-glut/depend ; fi if [ -d src-glut ] ; then touch src-glut/depend ; fi
if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
...@@ -191,16 +142,14 @@ irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug: ...@@ -191,16 +142,14 @@ irix6-o32 irix6-o32-dso irix6-n32 irix6-n32-dso irix6-gcc-n32-sl irix-debug:
if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
CORE_OBJECTS = $(CORE_SOURCES:.c=.o)
irix6-64 irix6-64-dso: irix6-64 irix6-64-dso:
-mkdir lib64 -mkdir lib64
touch src/depend if [ -d src ] ; then touch src/depend ; fi
touch src-glu/depend if [ -d si-glu ] ; then touch si-glu/depend ; fi
if [ -d src-glut ] ; then touch src-glut/depend ; fi if [ -d src-glut ] ; then touch src-glut/depend ; fi
if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi if [ -d widgets-sgi ] ; then touch widgets-sgi/depend ; fi
if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d src ] ; then cd src ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d src-glu ] ; then cd src-glu ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d si-glu ] ; then cd si-glu ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d src-glut ] ; then cd src-glut ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d demos ] ; then cd demos ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
...@@ -208,18 +157,6 @@ irix6-64 irix6-64-dso: ...@@ -208,18 +157,6 @@ irix6-64 irix6-64-dso:
if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
CORE_OBJECTS = $(CORE_SOURCES:.c=.o)
amiwin:
bin/mklib.amiwin
# Make an optional library with _just_ core objects
libmesa: $(LIBDIR)/$(MESA_LIB)
if [ ${MESA_LIB} ] ; then $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; fi
if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi
if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi
$(LIBDIR)/$(MESA_LIB): $(CORE_OBJECTS)
beos-r4: beos-r4:
-mkdir lib -mkdir lib
...@@ -236,7 +173,6 @@ beos-r4: ...@@ -236,7 +173,6 @@ beos-r4:
if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi if [ -d samples ] ; then cd samples ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi if [ -d book ] ; then cd book ; $(MAKE) -f Makefile.BeOS-R4 $@ ; fi
pgi-cygnus pgi-mingw32 \
cygnus cygnus-linux: cygnus cygnus-linux:
-mkdir lib -mkdir lib
touch src/depend touch src/depend
...@@ -249,33 +185,12 @@ cygnus cygnus-linux: ...@@ -249,33 +185,12 @@ cygnus cygnus-linux:
if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d xdemos ] ; then cd xdemos ; $(MAKE) -f Makefile.X11 $@ ; fi
if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi if [ -d widgets-sgi ] ; then cd widgets-sgi; $(MAKE) -f Makefile.X11 $@ ; fi
macintosh:
@echo "See the README file for Macintosh intallation information"
next:
-mkdir lib
cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
openstep: openstep:
-mkdir lib -mkdir lib
cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@ cd src ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@ cd src-glu ; $(MAKE) -f Makefile.X11 "MYCC=${CC}" $@
os2-x11: linux-ggi linux-x86-ggi:
if not EXIST .\lib md lib
touch src/depend
touch src-glu/depend
if exist src-glut touch src-glut/depend
cd src & make -f Makefile.X11 $@
cd src-glu & make -f Makefile.X11 $@
if exist src-glut cd src-glut & make -f Makefile.X11 $@
if exist demos cd demos & make -f Makefile.X11 $@
if exist xdemos cd xdemos & make -f Makefile.X11 $@
if exist samples cd samples & make -f Makefile.X11 $@
if exist book cd book & make -f Makefile.X11 $@
linux-ggi linux-386-ggi:
-mkdir lib -mkdir lib
touch src/depend touch src/depend
touch si-glu/depend touch si-glu/depend
...@@ -299,7 +214,7 @@ linux-ggi linux-386-ggi: ...@@ -299,7 +214,7 @@ linux-ggi linux-386-ggi:
DESTDIR=/usr/local DESTDIR=/usr/local
GGI_DEST=lib/ggi/mesa GGI_DEST=lib/ggi/mesa
linux-ggi-install linux-386-ggi-install: linux-ggi-install linux-x86-ggi-install:
install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi install -d $(DESTDIR)/$(GGI_DEST)/default $(DESTDIR)/$(GGI_DEST)/display $(DESTDIR)/etc/ggi
install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default install -m 0755 src/GGI/default/*.so $(DESTDIR)/$(GGI_DEST)/default
install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display install -m 0755 src/GGI/display/*.so $(DESTDIR)/$(GGI_DEST)/display
...@@ -349,19 +264,15 @@ cvsclean: realclean ...@@ -349,19 +264,15 @@ cvsclean: realclean
-rm -f install-sh libtool ltmain.sh Makefile.in -rm -f install-sh libtool ltmain.sh Makefile.in
-rm -f missing mkinstalldirs stamp-h stamp-h.in -rm -f missing mkinstalldirs stamp-h stamp-h.in
DIRECTORY = Mesa-5.1 DIRECTORY = Mesa-5.1
LIB_NAME = MesaLib-5.1 LIB_NAME = MesaLib-5.1
DEMO_NAME = MesaDemos-5.1 DEMO_NAME = MesaDemos-5.1
GLU_NAME = MesaGLU-5.1 GLU_NAME = MesaGLU-5.1
GLUT_NAME = GLUT-3.7 GLUT_NAME = GLUT-3.7
# Make an optional library with _just_ core objects
libmesa: $(LIBDIR)/$(MESA_LIB)
if [ ${MESA_LIB} ] ; then $(MAKELIB) $(MESA_LIB) $(MESA_MAJOR) $(MESA_MINOR) $(GL_TINY) $(CORE_OBJECTS) ; fi
if [ ${MESA_LIB} ] ; then rm -f $(LIBDIR)/$(MESA_LIB)* ; fi
if [ ${MESA_LIB} ] ; then mv $(MESA_LIB)* $(LIBDIR) ; fi
$(LIBDIR)/$(MESA_LIB): $(CORE_OBJECTS)
LIB_FILES = \ LIB_FILES = \
$(DIRECTORY)/Makefile* \ $(DIRECTORY)/Makefile* \
...@@ -380,14 +291,9 @@ LIB_FILES = \ ...@@ -380,14 +291,9 @@ LIB_FILES = \
$(DIRECTORY)/missing \ $(DIRECTORY)/missing \
$(DIRECTORY)/mkinstalldirs \ $(DIRECTORY)/mkinstalldirs \
$(DIRECTORY)/stamp-h.in \ $(DIRECTORY)/stamp-h.in \
$(DIRECTORY)/docs/index.html \ $(DIRECTORY)/docs/*.html \
$(DIRECTORY)/docs/CONFORM \
$(DIRECTORY)/docs/COPYING \ $(DIRECTORY)/docs/COPYING \
$(DIRECTORY)/docs/COPYRIGHT \
$(DIRECTORY)/docs/DEVINFO \
$(DIRECTORY)/docs/INSTALL \
$(DIRECTORY)/docs/INSTALL.GNU \ $(DIRECTORY)/docs/INSTALL.GNU \
$(DIRECTORY)/docs/README \
$(DIRECTORY)/docs/README.* \ $(DIRECTORY)/docs/README.* \
$(DIRECTORY)/docs/RELNOTES* \ $(DIRECTORY)/docs/RELNOTES* \
$(DIRECTORY)/docs/VERSIONS \ $(DIRECTORY)/docs/VERSIONS \
......
# $Id: Makefile.X11,v 1.23 2003/04/21 14:04:27 brianp Exp $ # Makefile for GLUT-based demo programs
# Mesa 3-D graphics library
# Version: 5.1
# Copyright (C) 1995-2003 Brian Paul
# Makefile for GLUT-based demo programs for Unix/X11
##### MACROS ##### ##### MACROS #####
INCDIR = ../include TOP = ..
LIBDIR = ../lib INCDIR = $(TOP)/include
LIBDIR = $(TOP)/lib
GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS) LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS) OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
...@@ -71,7 +66,7 @@ PROGS = \ ...@@ -71,7 +66,7 @@ PROGS = \
# make executable from .c file: # make executable from .c file:
.c: $(LIB_DEP) .c: $(LIB_DEP)
$(CC) -I$(INCDIR) -I../util $(CFLAGS) $< $(GL_LIBS) -o $@ $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
# special case: need the -lOSMesa library: # special case: need the -lOSMesa library:
osdemo: osdemo.c osdemo: osdemo.c
...@@ -95,20 +90,10 @@ targets: readtex.c readtex.h $(PROGS) ...@@ -95,20 +90,10 @@ targets: readtex.c readtex.h $(PROGS)
readtex.c: readtex.c:
cp ../util/readtex.c . cp $(TOP)/util/readtex.c .
readtex.h: readtex.h:
cp ../util/readtex.h . cp $(TOP)/util/readtex.h .
# execute all programs
exec: $(PROGS)
@for prog in $(PROGS) ; \
do \
echo -n "Running $$prog ..." ; \
$$prog ; \
echo ; \
done
include ../Make-config include $(TOP)/Make-config
# $Id: Makefile.X11,v 1.3 2000/02/16 01:09:06 brianp Exp $
# Mesa 3-D graphics library
# Version: 3.1
# Copyright (C) 1995-1998 Brian Paul
# Makefile for programs from the OpenGL Programming Guide # Makefile for programs from the OpenGL Programming Guide
##### MACROS ##### ##### MACROS #####
INCDIR = ../include TOP = ..
LIBDIR = ../lib INCDIR = $(TOP)/include
LIBDIR = $(TOP)/lib
GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS) LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
...@@ -33,7 +28,7 @@ PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \ ...@@ -33,7 +28,7 @@ PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
.SUFFIXES: .c .SUFFIXES: .c
.c: $(LIB_DEP) .c: $(LIB_DEP)
$(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@ $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
...@@ -51,14 +46,5 @@ realclean: ...@@ -51,14 +46,5 @@ realclean:
targets: $(PROGS) targets: $(PROGS)
# execute all programs
exec: $(PROGS)
@for prog in $(PROGS) ; \
do \
echo -n "Running $$prog ..." ; \
$$prog ; \
echo ; \
done
include ../Make-config include $(TOP)/Make-config
# $Id: Makefile.X11,v 1.3 2000/02/16 01:09:06 brianp Exp $
# Mesa 3-D graphics library
# Version: 3.3
# Copyright (C) 1995-1999 Brian Paul
# Makefile for assorted SGI OpenGL demos # Makefile for assorted SGI OpenGL demos
##### MACROS ##### ##### MACROS #####
INCDIR = ../include TOP = ..
LIBDIR = ../lib INCDIR = $(TOP)/include
LIBDIR = $(TOP)/lib
GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS) LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
...@@ -27,7 +22,7 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \ ...@@ -27,7 +22,7 @@ PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth eval fog \
.SUFFIXES: .c .SUFFIXES: .c
.c: $(LIB_DEP) .c: $(LIB_DEP)
$(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@ $(CC) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
...@@ -45,14 +40,5 @@ realclean: ...@@ -45,14 +40,5 @@ realclean:
targets: $(PROGS) targets: $(PROGS)
# execute all programs
exec: $(PROGS)
@for prog in $(PROGS) ; \
do \
echo -n "Running $$prog ..." ; \
./$$prog; \
echo ; \
done
include ../Make-config include $(TOP)/Make-config
# $Id: Makefile.X11,v 1.13 2002/10/05 18:30:46 brianp Exp $
# Mesa 3-D graphics library
# Version: 4.1
# Copyright (C) 1995-2002 Brian Paul
# Makefile for non-GLUT (X11, SVGA, etc) demo programs # Makefile for non-GLUT (X11, SVGA, etc) demo programs
##### MACROS ##### ##### MACROS #####
INCDIR = ../include TOP = ..
LIBDIR = ../lib INCDIR = $(TOP)/include
LIBDIR = $(TOP)/lib
GL_LIBS = -L$(LIBDIR) -lGLU -lGL $(APP_LIB_DEPS) LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB)
...@@ -38,7 +33,24 @@ PROGS = glthreads \ ...@@ -38,7 +33,24 @@ PROGS = glthreads \
.SUFFIXES: .c .SUFFIXES: .c
.c: $(LIB_DEP)