Changeset 4624 for trunk/src/opengl
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- Location:
- trunk/src/opengl
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/cvg/glide/makefile
r3475 r4624 1 # $Id: makefile,v 1. 4 2000-05-02 14:09:14bird Exp $1 # $Id: makefile,v 1.5 2000-11-19 08:58:11 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 # 9 10 # Directory macros. 11 # 10 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 11 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 15 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 14 16 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 # 18 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 19 # 20 LIBTARGET = 1 21 ADDITIONAL_DEP = mydep 17 22 18 23 24 # 19 25 # Compiler, tools, and interference rules. 26 # 20 27 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 28 !include ..\3dfx.mak 22 29 23 30 24 # Flag overloads and local macros. 25 CLEANEXTRAS = glidersrc.asm 26 27 CINCLUDE = -I..\incsrc -I..\..\swlibs\fxmisc -I..\init\initvg -I..\init -I..\texus -I..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) /Os- 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) /Os- 30 RCFLAGS = $(RCFLAGS) $(CINCLUDE) 31 # 32 # Flag overloads. 33 # 34 CINCLUDES = $(CINCLUDES) -I..\incsrc -I..\..\swlibs\fxmisc -I..\init\initvg -I..\init -I..\texus -I..\..\swlibs\pcilib 35 CFLAGS = $(CFLAGS) /Os- 36 CXXFLAGS = $(CXXFLAGS) /Os- 31 37 32 38 33 # Object files. All objects should be prefixed with $(OBJDIR)! 39 # 40 # Object files. Prefix with OBJDIR and one space before the '\'. 41 # 34 42 OBJS = \ 35 $(OBJDIR)\ CPUDTECT.OBJ\36 $(OBJDIR)\ DDGUMP.OBJ\37 $(OBJDIR)\ DIGLIDE.OBJ\38 $(OBJDIR)\ DIGUTEX.OBJ\39 $(OBJDIR)\ DISST.OBJ\40 $(OBJDIR)\ DITEX.OBJ\41 $(OBJDIR)\ G3DF.OBJ\42 $(OBJDIR)\ GAA.OBJ\43 $(OBJDIR)\ GBANNER.OBJ\44 $(OBJDIR)\ GDRAW.OBJ\45 $(OBJDIR)\ GERROR.OBJ\46 $(OBJDIR)\ GGLIDE.OBJ\47 $(OBJDIR)\ GLFB.OBJ\48 $(OBJDIR)\ GMOVIE.OBJ\49 $(OBJDIR)\ GPCI.OBJ\50 $(OBJDIR)\ GSPLASH.OBJ\51 $(OBJDIR)\ GSST.OBJ\52 $(OBJDIR)\ GTEX.OBJ\53 $(OBJDIR)\ GTEXDL.OBJ\54 $(OBJDIR)\ GU.OBJ\55 $(OBJDIR)\ GUCLIP.OBJ\56 $(OBJDIR)\ GUMP.OBJ\57 $(OBJDIR)\ GUTEX.OBJ\58 $(OBJDIR)\ GXDRAW.OBJ\59 $(OBJDIR)\ P6FENCE.OBJ\60 $(OBJDIR)\ FIFO.OBJ\43 $(OBJDIR)\cpudtect.obj \ 44 $(OBJDIR)\ddgump.obj \ 45 $(OBJDIR)\diglide.obj \ 46 $(OBJDIR)\digutex.obj \ 47 $(OBJDIR)\disst.obj \ 48 $(OBJDIR)\ditex.obj \ 49 $(OBJDIR)\g3df.obj \ 50 $(OBJDIR)\gaa.obj \ 51 $(OBJDIR)\gbanner.obj \ 52 $(OBJDIR)\gdraw.obj \ 53 $(OBJDIR)\gerror.obj \ 54 $(OBJDIR)\gglide.obj \ 55 $(OBJDIR)\glfb.obj \ 56 $(OBJDIR)\gmovie.obj \ 57 $(OBJDIR)\gpci.obj \ 58 $(OBJDIR)\gsplash.obj \ 59 $(OBJDIR)\gsst.obj \ 60 $(OBJDIR)\gtex.obj \ 61 $(OBJDIR)\gtexdl.obj \ 62 $(OBJDIR)\gu.obj \ 63 $(OBJDIR)\guclip.obj \ 64 $(OBJDIR)\gump.obj \ 65 $(OBJDIR)\gutex.obj \ 66 $(OBJDIR)\gxdraw.obj \ 67 $(OBJDIR)\p6fence.obj \ 68 $(OBJDIR)\fifo.obj \ 61 69 $(OBJDIR)\glidersrc.obj 62 70 63 71 72 # 64 73 # Target name - name of the library without extention and path. 74 # 65 75 TARGET = glide 66 76 67 77 68 # All rule - build objs and target library. 69 all: $(OBJDIR) \ 70 $(OBJDIR)\$(TARGET).lib 78 # 79 # Includes the common rules. 80 # 81 !include $(PDWIN32_INCLUDE)/pdwin32.post 71 82 72 83 73 # Create all libraries (not importlibraries) 74 libs: all 84 # 85 # Additional dep rule - adds depenencies for some additional headers. 86 # 87 mydep: 88 $(DEPEND) -a $(CINCLUDES) \ 89 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h \ 90 ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 75 91 76 77 # Lib rule - build importlibrary (and evt. other libs)78 $(OBJDIR)\$(TARGET).lib: $(OBJS)79 $(RM) $@80 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);81 82 83 # Dep rule - makes depenencies for C, C++ and Asm files.84 dep:85 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \86 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \87 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h88 89 90 # Includes the common rules.91 !include $(PDWIN32_INCLUDE)/pdwin32.post92 -
trunk/src/opengl/glide/cvg/init/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:44bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 # Init makefile5 # cvg\Init makefile 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 16 14 17 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 23 24 25 # 15 26 # Compiler, tools, and interference rules. 16 LOCALCLEAN = 1 27 # 17 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 29 !include ..\3dfx.mak 19 30 20 # Flag overloads and local macros.21 CLEANEXTRAS =22 31 23 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib 24 CFLAGS = $(CFLAGS) $(CINCLUDE) 25 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib 26 36 27 37 28 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Object files. Prefix with OBJDIR and one space before the '\'. 40 # 29 41 OBJS = \ 30 $(OBJDIR)\ DAC.OBJ\31 $(OBJDIR)\ GAMMA.OBJ\32 $(OBJDIR)\ GDEBUG.OBJ\33 $(OBJDIR)\ INFO.OBJ\34 $(OBJDIR)\ PARSE.OBJ\35 $(OBJDIR)\ PRINT.OBJ\36 $(OBJDIR)\ SLI.OBJ\37 $(OBJDIR)\ SST1INIT.OBJ\38 $(OBJDIR)\ UTIL.OBJ\39 $(OBJDIR)\ VIDEO.OBJ42 $(OBJDIR)\dac.obj \ 43 $(OBJDIR)\gamma.obj \ 44 $(OBJDIR)\gdebug.obj \ 45 $(OBJDIR)\info.obj \ 46 $(OBJDIR)\parse.obj \ 47 $(OBJDIR)\print.obj \ 48 $(OBJDIR)\sli.obj \ 49 $(OBJDIR)\sst1init.obj \ 50 $(OBJDIR)\util.obj \ 51 $(OBJDIR)\video.obj 40 52 41 53 42 # Target name - name of the dll without extention and path. 54 # 55 # Target name - name of the library without extention and path. 56 # 43 57 TARGET = init 44 58 45 59 46 # All rule - build objs, target dll, copies dll to bin and makes libs. 47 all: $(OBJDIR) \ 48 $(OBJDIR)\$(TARGET).lib 60 # 61 # Includes the common rules. 62 # 63 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 64 50 65 51 # Create all libraries (not importlibraries) 52 libs: all 66 # 67 # Additional dep rule - adds dependencies for some additional headers. 68 # 69 mydep: 70 $(DEPEND) -a $(CINCLUDES) \ 71 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h \ 72 ..\..\swlibs\pcilib\*.h 53 73 54 55 # Lib target rule - builds the library.56 $(OBJDIR)\$(TARGET).lib: $(OBJS)57 $(RM) $@58 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);59 60 61 62 # Dep rule - makes depenencies for C, C++ and Asm files.63 dep:64 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \65 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \66 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h67 68 69 # Includes the common rules.70 !include $(PDWIN32_INCLUDE)/pdwin32.post71 -
trunk/src/opengl/glide/cvg/makefile
r3864 r4624 1 # $Id: makefile,v 1.1 0 2000-07-19 19:05:13 sandervlExp $1 # $Id: makefile,v 1.11 2000-11-19 08:58:10 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\$(OBJDIR) 15 PDWIN32_BIN = ..\..\..\..\$(OBJDIR)\Glide\Voodoo2 13 16 PDWIN32_TOOLS = ..\..\..\..\tools\bin 14 17 15 18 16 # Have extra clean rule. 17 CLEAN2 = 1 19 # 20 # Tell buildenvironment that we should not copy this into /bin. 21 # 22 NO_MAIN_BIN_COPY = 1 18 23 19 24 25 # 20 26 # Compiler, tools, and interference rules. 27 # 21 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 29 23 30 24 # Flag overloads and local macros. 25 CLEANEXTRAS = rsrc.asm 31 # 32 # Subdirectories to travers. 33 # 34 SUBDIRS = \ 35 .\..\swlibs\pcilib \ 36 .\init \ 37 .\glide \ 38 .\texus 26 39 27 40 28 # Object files. All objects should be prefixed with $(OBJDIR)! 41 # 42 # Object files. Prefix with OBJDIR and one space before the '\'. 43 # 29 44 OBJS = \ 30 45 $(OBJDIR)\initterm.obj 31 46 32 47 48 # 49 # Libraries. One space before the '\'. 50 # 51 LIBS = \ 52 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib \ 53 texus\$(OBJDIR)/texus.lib \ 54 init\$(OBJDIR)/init.lib \ 55 glide\$(OBJDIR)/glide.lib \ 56 $(PDWIN32_LIB)/kernel32.lib \ 57 $(PDWIN32_LIB)/$(ODINCRT).lib \ 58 os2386.lib \ 59 $(RTLLIB_O) 60 61 62 # 33 63 # Target name - name of the dll without extention and path. 64 # 34 65 TARGET = glide2x 35 66 36 67 37 # All rule - build objs, target dll, copies dll to bin and makes libs. 38 all: $(OBJDIR) \ 39 $(OBJDIR)\$(TARGET).dll \ 40 $(PDWIN32_BIN)\Glide\Voodoo2\$(TARGET).dll \ 41 lib 42 43 44 # Lib rule - build importlibrary (and evt. other libs) 45 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 46 47 48 49 # Libs rule - Make (sub) libraries. (Not import libraries!) 50 libs: 51 cd ..\swlibs\pcilib 52 $(MAKE_CMD) $@ 53 cd ..\..\cvg\init 54 $(MAKE_CMD) $@ 55 cd ..\glide 56 $(MAKE_CMD) $@ 57 cd ..\texus 58 $(MAKE_CMD) $@ 59 cd .. 60 61 62 # Dll rule - builds the target dll. 63 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf 64 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 65 66 67 # Linker file - creates the parameter file passed on to the linker. 68 $(OBJDIR)\$(TARGET).lrf: makefile 69 @echo Creating file <<$@ 70 /OUT:$(OBJDIR)\$(TARGET).dll 71 /MAP:$(OBJDIR)\$(TARGET).map 72 $(OBJS) 73 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib 74 texus\$(OBJDIR)\texus.lib 75 init\$(OBJDIR)\init.lib 76 glide\$(OBJDIR)\glide.lib 77 $(PDWIN32_LIB)\kernel32.lib 78 $(PDWIN32_LIB)/$(ODINCRT).lib 79 OS2386.LIB 80 $(RTLLIB_O) 81 $(TARGET).def 82 <<keep 83 84 85 # Copy rule - copies the dll. 86 $(PDWIN32_BIN)\Glide\Voodoo2\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll 87 -mkdir $(PDWIN32_BIN)\Glide > nul 2>&1 88 -mkdir $(PDWIN32_BIN)\Glide\Voodoo2 > nul 2>&1 89 $(CP) $** $@ 90 $(CP) $** ..\..\..\..\bin\Glide\Voodoo2\$(TARGET).dll 91 92 93 # Dep rule - makes depenencies for C, C++ and Asm files. 94 dep: 95 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 96 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 97 cd ..\swlibs\pcilib 98 $(MAKE_CMD) $@ 99 cd ..\..\cvg\init 100 $(MAKE_CMD) $@ 101 cd ..\glide 102 $(MAKE_CMD) $@ 103 cd ..\texus 104 $(MAKE_CMD) $@ 105 cd .. 106 107 108 # Extra cleanrule. 109 clean2: 110 cd ..\swlibs\pcilib 111 $(MAKE_CMD) clean 112 cd ..\..\cvg\glide 113 $(MAKE_CMD) clean 114 cd ..\init 115 $(MAKE_CMD) clean 116 cd ..\texus 117 $(MAKE_CMD) clean 118 cd .. 119 120 68 # 121 69 # Includes the common rules. 70 # 122 71 !include $(PDWIN32_INCLUDE)/pdwin32.post 123 72 124 125 -
trunk/src/opengl/glide/cvg/texus/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:44bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 # 8 9 # Directory macros. 10 # 9 11 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 12 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 15 14 16 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 # 18 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 19 # 20 LIBTARGET = 1 21 ADDITIONAL_DEP = mydep 17 22 18 23 24 # 19 25 # Compiler, tools, and interference rules. 26 # 20 27 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 28 !include ..\3dfx.mak 22 29 23 30 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 31 # 32 # Flag overloads. 33 # 34 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 30 35 31 36 32 # Object files. All objects should be prefixed with $(OBJDIR)! 37 # 38 # Object files. Prefix with OBJDIR and one space before the '\'. 39 # 33 40 OBJS = \ 34 $(OBJDIR)\3 DF.OBJ\35 $(OBJDIR)\ CLAMP.OBJ\36 $(OBJDIR)\ DEQUANT.OBJ\37 $(OBJDIR)\ DIFFUSE.OBJ\38 $(OBJDIR)\ GLDUTIL.OBJ\39 $(OBJDIR)\ MIPMAP.OBJ\40 $(OBJDIR)\ NCC.OBJ\41 $(OBJDIR)\ NCCNNET.OBJ\42 $(OBJDIR)\ PAL256.OBJ\43 $(OBJDIR)\ PPM.OBJ\44 $(OBJDIR)\ QUANTIZE.OBJ\45 $(OBJDIR)\ READ.OBJ\46 $(OBJDIR)\ RESAMPLE.OBJ\47 $(OBJDIR)\ RGT.OBJ\48 $(OBJDIR)\ TEXUSLIB.OBJ\49 $(OBJDIR)\ TGA.OBJ\50 $(OBJDIR)\ UTIL.OBJ\51 $(OBJDIR)\ VIEW.OBJ\52 $(OBJDIR)\ WRITE.OBJ41 $(OBJDIR)\3df.obj \ 42 $(OBJDIR)\clamp.obj \ 43 $(OBJDIR)\dequant.obj \ 44 $(OBJDIR)\diffuse.obj \ 45 $(OBJDIR)\gldutil.obj \ 46 $(OBJDIR)\mipmap.obj \ 47 $(OBJDIR)\ncc.obj \ 48 $(OBJDIR)\nccnnet.obj \ 49 $(OBJDIR)\pal256.obj \ 50 $(OBJDIR)\ppm.obj \ 51 $(OBJDIR)\quantize.obj \ 52 $(OBJDIR)\read.obj \ 53 $(OBJDIR)\resample.obj \ 54 $(OBJDIR)\rgt.obj \ 55 $(OBJDIR)\texuslib.obj \ 56 $(OBJDIR)\tga.obj \ 57 $(OBJDIR)\util.obj \ 58 $(OBJDIR)\view.obj \ 59 $(OBJDIR)\write.obj 53 60 54 61 62 # 55 63 # Target name - name of the library without extention and path. 56 TARGET = texus 64 # 65 TARGET = texus 57 66 58 67 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 68 # 69 # Includes the common rules. 70 # 71 !include $(PDWIN32_INCLUDE)/pdwin32.post 62 72 63 73 64 # Create all libraries (not importlibraries) 65 libs: all 74 # 75 # Additional dep rule - adds depenencies for some additional headers. 76 # 77 mydep: 78 $(DEPEND) -a $(CINCLUDES) \ 79 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h \ 80 ..\..\swlibs\pcilib\*.h 66 81 67 68 # Lib rule - build importlibrary (and evt. other libs)69 $(OBJDIR)\$(TARGET).lib: $(OBJS)70 $(RM) $@71 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);72 73 74 # Dep rule - makes depenencies for C, C++ and Asm files.75 dep:76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h79 80 81 # Includes the common rules.82 !include $(PDWIN32_INCLUDE)/pdwin32.post83 -
trunk/src/opengl/glide/makefile
r4333 r4624 1 # $Id: makefile,v 1. 6 2000-09-28 03:08:07bird Exp $1 # $Id: makefile,v 1.7 2000-11-19 08:58:10 bird Exp $ 2 2 # 3 3 # Odin32 API … … 6 6 # 7 7 8 9 # 8 10 # Directories 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\include 13 PDWIN32_TOOLS = ..\..\..\tools\bin 10 14 15 16 # 11 17 # Common tools macros. (MAKE_CMD) 12 !include $(PDWIN32_INCLUDE)\pdwin32.tools 18 # 19 !include $(PDWIN32_INCLUDE)/pdwin32.tools 20 13 21 14 22 # Dummy all rule - nmake without target will make all targets of the first rule. 15 23 all_: all 24 16 25 17 26 # All, Lib, Clean and Dep rules. -
trunk/src/opengl/glide/sst1/glide/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:45bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:11 bird Exp $ 2 2 # 3 3 # Odin32 API 4 4 # 5 # Glide makefile5 # sst1/Glide makefile 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 12 15 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 13 16 14 # Local cleanup only.15 LOCALCLEAN = 116 17 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 23 24 25 # 17 26 # Compiler, tools, and interference rules. 27 # 18 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 19 29 !include ..\3dfx.mak 20 30 21 31 22 # Flag overloads and local macros. 23 CLEANEXTRAS = glidersrc.asm 24 25 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib; 26 CFLAGS = $(CFLAGS) $(CINCLUDE) 27 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 28 RCFLAGS = $(RCFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib; 29 36 30 37 31 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Object files. Prefix with OBJDIR and one space before the '\'. 40 # 32 41 OBJS = \ 33 $(OBJDIR)\ CPUDTECT.OBJ\34 $(OBJDIR)\ DDGUMP.OBJ\35 $(OBJDIR)\ DIGLIDE.OBJ\36 $(OBJDIR)\ DIGUTEX.OBJ\37 $(OBJDIR)\ DISST.OBJ\38 $(OBJDIR)\ DITEX.OBJ\39 $(OBJDIR)\ G3DF.OBJ\40 $(OBJDIR)\ GAA.OBJ\41 $(OBJDIR)\ GBANNER.OBJ\42 $(OBJDIR)\ GDRAW.OBJ\43 $(OBJDIR)\ GERROR.OBJ\44 $(OBJDIR)\ GGLIDE.OBJ\45 $(OBJDIR)\ GLFB.OBJ\46 $(OBJDIR)\ GMOVIE.OBJ\47 $(OBJDIR)\ GPCI.OBJ\48 $(OBJDIR)\ GSPLASH.OBJ\49 $(OBJDIR)\ GSST.OBJ\50 $(OBJDIR)\ GTEX.OBJ\51 $(OBJDIR)\ GTEXDL.OBJ\52 $(OBJDIR)\ GU.OBJ\53 $(OBJDIR)\ GUCLIP.OBJ\54 $(OBJDIR)\ GUMP.OBJ\55 $(OBJDIR)\ GUTEX.OBJ\56 $(OBJDIR)\ GXDRAW.OBJ\57 $(OBJDIR)\ P6FENCE.OBJ\58 $(OBJDIR)\ SST96.OBJ\42 $(OBJDIR)\cpudtect.obj \ 43 $(OBJDIR)\ddgump.obj \ 44 $(OBJDIR)\diglide.obj \ 45 $(OBJDIR)\digutex.obj \ 46 $(OBJDIR)\disst.obj \ 47 $(OBJDIR)\ditex.obj \ 48 $(OBJDIR)\g3df.obj \ 49 $(OBJDIR)\gaa.obj \ 50 $(OBJDIR)\gbanner.obj \ 51 $(OBJDIR)\gdraw.obj \ 52 $(OBJDIR)\gerror.obj \ 53 $(OBJDIR)\gglide.obj \ 54 $(OBJDIR)\glfb.obj \ 55 $(OBJDIR)\gmovie.obj \ 56 $(OBJDIR)\gpci.obj \ 57 $(OBJDIR)\gsplash.obj \ 58 $(OBJDIR)\gsst.obj \ 59 $(OBJDIR)\gtex.obj \ 60 $(OBJDIR)\gtexdl.obj \ 61 $(OBJDIR)\gu.obj \ 62 $(OBJDIR)\guclip.obj \ 63 $(OBJDIR)\gump.obj \ 64 $(OBJDIR)\gutex.obj \ 65 $(OBJDIR)\gxdraw.obj \ 66 $(OBJDIR)\p6fence.obj \ 67 $(OBJDIR)\sst96.obj \ 59 68 $(OBJDIR)\glidersrc.obj 60 69 61 70 71 # 62 72 # Target name - name of the library without extention and path. 73 # 63 74 TARGET = glide 64 75 65 # All rule - build objs and target library. 66 all: $(OBJDIR) \ 67 $(OBJDIR)\$(TARGET).lib 76 77 # 78 # Includes the common rules. 79 # 80 !include $(PDWIN32_INCLUDE)/pdwin32.post 68 81 69 82 70 # Create all libraries (not importlibraries) 71 libs: all 83 # 84 # Additional dep rule - adds dependencies for some additional headers. 85 # 86 mydep: 87 $(DEPEND) -a $(CINCLUDES) \ 88 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h \ 89 ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 72 90 73 74 # Lib rule - build importlibrary (and evt. other libs)75 $(OBJDIR)\$(TARGET).lib: $(OBJS)76 $(RM) $@77 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);78 79 80 # Dep rule - makes depenencies for C, C++ and Asm files.81 dep:82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \83 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h85 86 87 # Includes the common rules.88 !include $(PDWIN32_INCLUDE)/pdwin32.post89 -
trunk/src/opengl/glide/sst1/init/initvg/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:47bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:12 bird Exp $ 2 2 # 3 3 # PD-Win32 API 4 4 # 5 # Glidemakefile5 # sst1/init/inivg makefile 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\..\lib … … 13 16 14 17 15 # Local cleanup only. 16 LOCALCLEAN = 1 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 17 23 18 24 25 # 19 26 # Compiler, tools, and interference rules. 27 # 20 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 29 !include ..\..\3dfx.mak 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = glide.asm 26 27 CINCLUDE = -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib 30 36 31 37 32 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Object files. Prefix with OBJDIR and one space before the '\'. 40 # 33 41 OBJS = \ 34 $(OBJDIR)\ DAC.OBJ\35 $(OBJDIR)\ GAMMA.OBJ\36 $(OBJDIR)\ GDEBUG.OBJ\37 $(OBJDIR)\ INFO.OBJ\38 $(OBJDIR)\ PARSE.OBJ\39 $(OBJDIR)\ PRINT.OBJ\40 $(OBJDIR)\ SLI.OBJ\41 $(OBJDIR)\ SST1INIT.OBJ\42 $(OBJDIR)\ UTIL.OBJ\43 $(OBJDIR)\ VIDEO.OBJ42 $(OBJDIR)\dac.obj \ 43 $(OBJDIR)\gamma.obj \ 44 $(OBJDIR)\gdebug.obj \ 45 $(OBJDIR)\info.obj \ 46 $(OBJDIR)\parse.obj \ 47 $(OBJDIR)\print.obj \ 48 $(OBJDIR)\sli.obj \ 49 $(OBJDIR)\sst1init.obj \ 50 $(OBJDIR)\util.obj \ 51 $(OBJDIR)\video.obj 44 52 45 53 46 # All - rule make all objects. 47 all: $(OBJDIR) \ 48 $(OBJS) 54 # 55 # Target name - name of the library without extention and path. 56 # 57 TARGET = initvg 49 58 50 59 51 # Dep rule - makes depenencies for C, C++ and Asm files. 52 dep: 53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 60 # 61 # Includes the common rules. 62 # 63 !include $(PDWIN32_INCLUDE)/pdwin32.post 64 65 66 # 67 # Additional dep rule - adds depenencies for some additional headers. 68 # 69 mydep: 70 $(DEPEND) -a $(CINCLUDES) \ 55 71 ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h \ 56 72 ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h 57 73 58 59 # Includes the common rules.60 !include $(PDWIN32_INCLUDE)/pdwin32.post61 -
trunk/src/opengl/glide/sst1/init/makefile
r3031 r4624 1 # $Id: makefile,v 1. 3 2000-03-06 23:33:46bird Exp $1 # $Id: makefile,v 1.4 2000-11-19 08:58:11 bird Exp $ 2 2 # 3 3 # Odin32 API … … 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 12 15 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 13 16 14 # Local cleanup only and extra cleanrule.15 LOCALCLEAN = 116 CLEAN2 = 117 17 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 23 24 25 # 18 26 # Compiler, tools, and interference rules. 27 # 19 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 20 29 !include ..\3dfx.mak 21 30 22 31 23 # Flag overloads and local macros. 24 CLEANEXTRAS = 25 26 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 27 CFLAGS = $(CFLAGS) $(CINCLUDE) 28 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 29 36 30 37 31 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Subdirectories to travers. 40 # 41 SUBDIRS = \ 42 initvg 43 44 45 # 46 # Object files. Prefix with OBJDIR and one space before the '\'. 47 # 32 48 INITSUB = initvg 33 49 OBJS = \ 34 $(OBJDIR)\H3DRVR.OBJ \ 35 $(OBJDIR)\INIT.OBJ \ 36 $(OBJDIR)\VG96DRVR.OBJ \ 37 $(OBJDIR)\VGDRVR.OBJ 38 39 # More object files 40 OBJSSUB = \ 41 $(INITSUB)\$(OBJDIR)\DAC.OBJ \ 42 $(INITSUB)\$(OBJDIR)\GAMMA.OBJ \ 43 $(INITSUB)\$(OBJDIR)\GDEBUG.OBJ \ 44 $(INITSUB)\$(OBJDIR)\INFO.OBJ \ 45 $(INITSUB)\$(OBJDIR)\PARSE.OBJ \ 46 $(INITSUB)\$(OBJDIR)\PRINT.OBJ \ 47 $(INITSUB)\$(OBJDIR)\SLI.OBJ \ 48 $(INITSUB)\$(OBJDIR)\SST1INIT.OBJ \ 49 $(INITSUB)\$(OBJDIR)\UTIL.OBJ \ 50 $(INITSUB)\$(OBJDIR)\VIDEO.OBJ 50 $(OBJDIR)\h3drvr.obj \ 51 $(OBJDIR)\init.obj \ 52 $(OBJDIR)\vg96drvr.obj \ 53 $(OBJDIR)\vgdrvr.obj 51 54 52 55 56 # 53 57 # Target name - name of the library without extention and path. 58 # 54 59 TARGET = init 55 60 56 61 57 # All rule - build objs and target library. 58 all: $(OBJDIR) \ 59 initsub \ 60 $(OBJDIR)\$(TARGET).lib \ 61 62 63 # Make objectfiles in subdirectories. 64 initsub: 65 cd $(INITSUB) 66 $(MAKE_CMD) all 67 cd .. 68 69 70 # Create all libraries (not importlibraries) 71 libs: all 72 73 74 # Lib rule - build importlibrary (and evt. other libs) 75 $(OBJDIR)\$(TARGET).lib: $(OBJS) 76 $(RM) $@ 77 $(ILIB) $(ILIBFLAGS) $@ $(OBJS) $(OBJSSUB); 78 79 80 # Dep rule - makes depenencies for C, C++ and Asm files. 81 dep: 82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 83 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 85 cd initvg 86 $(MAKE_CMD) $@ 87 cd .. 88 89 62 # 90 63 # Includes the common rules. 64 # 91 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 92 66 93 67 94 # extra clean rule 95 clean2: 96 cd initvg 97 $(MAKE_CMD) clean 98 cd .. 68 # 69 # Additional dep rule - adds depenencies for some additional headers. 70 # 71 mydep: 72 $(DEPEND) -a $(CINCLUDES) \ 73 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h \ 74 ..\texus\*.h ..\..\swlibs\pcilib\*.h 75 -
trunk/src/opengl/glide/sst1/makefile
r3864 r4624 1 # $Id: makefile,v 1. 7 2000-07-19 19:05:14 sandervlExp $1 # $Id: makefile,v 1.8 2000-11-19 08:58:11 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\$(OBJDIR) 15 PDWIN32_BIN = ..\..\..\..\$(OBJDIR)\Glide\Voodoo1 13 16 PDWIN32_TOOLS = ..\..\..\..\tools\bin 14 17 15 18 16 # Have extra clean rule. 17 CLEAN2 = 1 19 # 20 # Tell buildenvironment that we should not copy this into /bin. 21 # 22 NO_MAIN_BIN_COPY = 1 18 23 24 25 # 19 26 # Compiler, tools, and interference rules. 27 # 20 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 29 22 30 23 # Object files. All objects should be prefixed with $(OBJDIR)! 31 # 32 # Subdirectories to travers. 33 # 34 SUBDIRS = \ 35 .\..\swlibs\pcilib \ 36 .\init \ 37 .\glide \ 38 .\texus 39 40 41 # 42 # Object files. Prefix with OBJDIR and one space before the '\'. 43 # 24 44 OBJS = \ 25 45 $(OBJDIR)\initterm.obj 26 46 27 47 48 # 49 # Libraries. One space before the '\'. 50 # 51 LIBS = \ 52 ..\swlibs\pcilib/$(OBJDIR)/pcilib.lib \ 53 texus/$(OBJDIR)/texus.lib \ 54 init/$(OBJDIR)/init.lib \ 55 init/initvg/$(OBJDIR)/initvg.lib \ 56 glide/$(OBJDIR)/glide.lib \ 57 $(PDWIN32_LIB)/kernel32.lib \ 58 $(PDWIN32_LIB)/$(ODINCRT).lib \ 59 OS2386.LIB \ 60 $(RTLLIB_O) 61 62 63 # 28 64 # Target name - name of the dll without extention and path. 65 # 29 66 TARGET = glide2x 30 67 31 68 32 # All rule - build objs, target dll, copies dll to bin and makes libs. 33 all: $(OBJDIR) \ 34 libs \ 35 $(OBJDIR)\$(TARGET).dll \ 36 $(PDWIN32_BIN)\Glide\Voodoo1\$(TARGET).dll \ 37 lib 38 39 40 # Lib rule - build importlibrary (and evt. other libs) 41 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 42 43 44 # Libs rule - Make (sub) libraries. (Not import libraries!) 45 libs: 46 cd ..\swlibs\pcilib 47 $(MAKE_CMD) $@ 48 cd ..\..\sst1\init 49 $(MAKE_CMD) $@ 50 cd ..\glide 51 $(MAKE_CMD) $@ 52 cd ..\texus 53 $(MAKE_CMD) $@ 54 cd .. 55 56 57 $(TARGET).dll: $(OBJS) $(TARGET).def 58 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ 59 $(PDWIN32_LIB)/kernel32.lib \ 60 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 61 62 63 # Dll rule - builds the target dll. 64 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf 65 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 66 67 68 # Linker file - creates the parameter file passed on to the linker. 69 $(OBJDIR)\$(TARGET).lrf: makefile 70 @echo Creating file <<$@ 71 /OUT:$(OBJDIR)\$(TARGET).dll 72 /MAP:$(OBJDIR)\$(TARGET).map 73 $(OBJS) 74 ..\swlibs\pcilib\$(OBJDIR)\pcilib.lib 75 texus\$(OBJDIR)\texus.lib 76 init\$(OBJDIR)\init.lib 77 glide\$(OBJDIR)\glide.lib 78 $(PDWIN32_LIB)\kernel32.lib 79 $(PDWIN32_LIB)/$(ODINCRT).lib 80 OS2386.LIB 81 $(RTLLIB_O) 82 $(TARGET).def 83 <<keep 84 85 86 # Copy rule. 87 $(PDWIN32_BIN)\Glide\Voodoo1\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll 88 -mkdir $(PDWIN32_BIN)\Glide > nul 2>&1 89 -mkdir $(PDWIN32_BIN)\Glide\Voodoo1 > nul 2>&1 90 $(CP) $** $@ 91 $(CP) $** ..\..\..\..\bin\Glide\Voodoo1\$(TARGET).dll 92 93 94 # Dep rule - makes depenencies for C, C++ and Asm files. 95 dep: 96 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 97 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 98 cd ..\swlibs\pcilib 99 $(MAKE_CMD) $@ 100 cd ..\..\sst1\init 101 $(MAKE_CMD) $@ 102 cd ..\glide 103 $(MAKE_CMD) $@ 104 cd ..\texus 105 $(MAKE_CMD) $@ 106 cd .. 107 108 69 # 109 70 # Includes the common rules. 71 # 110 72 !include $(PDWIN32_INCLUDE)/pdwin32.post 111 73 112 113 # Extra clean rule114 clean2:115 cd ..\swlibs\pcilib116 $(MAKE_CMD) clean117 cd ..\..\sst1\init118 $(MAKE_CMD) clean119 cd ..\glide120 $(MAKE_CMD) clean121 cd ..\texus122 $(MAKE_CMD) clean123 cd ..124 -
trunk/src/opengl/glide/sst1/texus/makefile
r3031 r4624 1 # $Id: makefile,v 1. 2 2000-03-06 23:33:47bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:58:12 bird Exp $ 2 2 3 3 # 4 4 # Odin32 API 5 5 # 6 # Texus makefile6 # sst1/Texus makefile 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\..\lib … … 14 17 15 18 16 # Local cleanup only. 17 LOCALCLEAN = 1 19 # 20 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 21 # 22 LIBTARGET = 1 23 ADDITIONAL_DEP = mydep 18 24 19 25 26 # 20 27 # Compiler, tools, and interference rules. 28 # 21 29 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 30 !include ..\3dfx.mak 23 31 24 # Flag overloads and local macros.25 CLEANEXTRAS =26 32 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 33 # 34 # Flag overloads. 35 # 36 CINCLUDES = $(CINCLUDES) -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 30 37 31 38 32 # Object files. All objects should be prefixed with $(OBJDIR)! 39 # 40 # Object files. Prefix with OBJDIR and one space before the '\'. 41 # 33 42 OBJS = \ 34 $(OBJDIR)\3 DF.OBJ\35 $(OBJDIR)\ CLAMP.OBJ\36 $(OBJDIR)\ DEQUANT.OBJ\37 $(OBJDIR)\ DIFFUSE.OBJ\38 $(OBJDIR)\ GLDUTIL.OBJ\39 $(OBJDIR)\ MIPMAP.OBJ\40 $(OBJDIR)\ NCC.OBJ\41 $(OBJDIR)\ NCCNNET.OBJ\42 $(OBJDIR)\ PAL256.OBJ\43 $(OBJDIR)\ PPM.OBJ\44 $(OBJDIR)\ QUANTIZE.OBJ\45 $(OBJDIR)\ READ.OBJ\46 $(OBJDIR)\ RESAMPLE.OBJ\47 $(OBJDIR)\ RGT.OBJ\48 $(OBJDIR)\ TEXUSLIB.OBJ\49 $(OBJDIR)\ TGA.OBJ\50 $(OBJDIR)\ UTIL.OBJ\51 $(OBJDIR)\ VIEW.OBJ\52 $(OBJDIR)\ WRITE.OBJ43 $(OBJDIR)\3df.obj \ 44 $(OBJDIR)\clamp.obj \ 45 $(OBJDIR)\dequant.obj \ 46 $(OBJDIR)\diffuse.obj \ 47 $(OBJDIR)\gldutil.obj \ 48 $(OBJDIR)\mipmap.obj \ 49 $(OBJDIR)\ncc.obj \ 50 $(OBJDIR)\nccnnet.obj \ 51 $(OBJDIR)\pal256.obj \ 52 $(OBJDIR)\ppm.obj \ 53 $(OBJDIR)\quantize.obj \ 54 $(OBJDIR)\read.obj \ 55 $(OBJDIR)\resample.obj \ 56 $(OBJDIR)\rgt.obj \ 57 $(OBJDIR)\texuslib.obj \ 58 $(OBJDIR)\tga.obj \ 59 $(OBJDIR)\util.obj \ 60 $(OBJDIR)\view.obj \ 61 $(OBJDIR)\write.obj 53 62 54 63 64 # 55 65 # Target name - name of the library without extention and path. 66 # 56 67 TARGET = texus 57 68 58 69 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 70 # 71 # Includes the common rules. 72 # 73 !include $(PDWIN32_INCLUDE)/pdwin32.post 62 74 63 75 64 # Create all libraries (not importlibraries) 65 libs: all 66 67 68 # Lib rule - build importlibrary (and evt. other libs) 69 $(OBJDIR)\$(TARGET).lib: $(OBJS) 70 $(RM) $@ 71 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 72 73 74 # Dep rule - makes depenencies for C, C++ and Asm files. 75 dep: 76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 76 # 77 # Additional dep rule - adds dependencies for some additional headers. 78 # 79 mydep: 80 $(DEPEND) -a $(CINCLUDES) \ 78 81 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h \ 79 82 ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 80 83 81 82 # Includes the common rules.83 !include $(PDWIN32_INCLUDE)/pdwin32.post84 -
trunk/src/opengl/glide/swlibs/pcilib/makefile
r3031 r4624 1 # $Id: makefile,v 1. 3 2000-03-06 23:33:47bird Exp $1 # $Id: makefile,v 1.4 2000-11-19 08:58:12 bird Exp $ 2 2 # 3 3 # Odin32 API … … 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 16 14 17 15 # Local cleanup only. 16 LOCALCLEAN = 1 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 17 23 18 24 25 # 19 26 # Compiler, tools, and interference rules. 27 # 20 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 29 !include ..\..\sst1\3dfx.mak 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE) 28 29 CFLAGS = $(CFLAGS) $(CINCLUDE) 30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init 31 36 32 37 33 # Object files. All objects should be prefixed with $(OBJDIR)! 38 # 39 # Object files. Prefix with OBJDIR and one space before the '\'. 40 # 34 41 OBJS = \ 35 42 $(OBJDIR)\fxos2.obj \ … … 39 46 40 47 48 # 41 49 # Target name - name of the library without extention and path. 50 # 42 51 TARGET = pcilib 43 52 44 53 45 # All rule - build objs and target library. 46 all: $(OBJDIR) \ 47 $(OBJDIR)\$(TARGET).lib 54 # 55 # Includes the common rules. 56 # 57 !include $(PDWIN32_INCLUDE)/pdwin32.post 48 58 49 59 50 # Create all libraries (not importlibraries) 51 libs: all 60 # 61 # Additional dep rule - adds depenencies for some additional headers. 62 # 63 mydep: 64 $(DEPEND) -a $(CINCLUDES) \ 65 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \ 66 ..\..\sst1\glide\*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 52 67 53 54 # Lib rule - build importlibrary (and evt. other libs)55 $(OBJDIR)\$(TARGET).lib: $(OBJS)56 $(RM) $@57 $(ILIB) $(ILIBFLAGS) $@ $(OBJS);58 59 60 # Dep rule - makes depenencies for C, C++ and Asm files.61 dep:62 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \63 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \64 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \65 ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h66 67 68 # Includes the common rules.69 !include $(PDWIN32_INCLUDE)/pdwin32.post70 -
trunk/src/opengl/glu/makefile
r3864 r4624 1 # $Id: makefile,v 1.1 3 2000-07-19 19:05:14 sandervlExp $1 # $Id: makefile,v 1.14 2000-11-19 08:58:13 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\lib … … 13 16 PDWIN32_TOOLS = ..\..\..\tools\bin 14 17 15 # Have extra clean rule. 16 CLEAN2 = 1 17 18 18 # 19 19 # Compiler, tools, and interference rules. 20 # 20 21 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 22 22 23 23 # Flag overloads and local macros. 24 CLEANEXTRAS = glu32rsrc.asm 25 26 CFLAGS = $(CFLAGS) -I..\mesa\GL 27 CXXFLAGS = $(CXXFLAGS) -I..\mesa\GL 24 # 25 # Overrides. 26 # 27 CINCLUDES = $(CINCLUDES) -I..\mesa\GL 28 28 29 29 30 # 31 # Subdirectories to travers. 32 # 33 SUBDIRS = \ 34 .\util \ 35 .\tess \ 36 .\nurbs \ 30 37 31 # Object files. All objects should be prefixed with $(OBJDIR)! 38 39 # 40 # Object files. Prefix with OBJDIR and one space before the '\'. 41 # 32 42 OBJS = \ 33 43 $(OBJDIR)\initterm.obj \ … … 35 45 36 46 37 # Target name - name of the library without extention and path. 47 # 48 # Libraries. One space before the '\'. 49 # 50 LIBS = \ 51 nurbs\interface\$(OBJDIR)\interface.lib \ 52 nurbs\internals\$(OBJDIR)\internals.lib \ 53 nurbs\nurbtess\$(OBJDIR)\nurbtess.lib \ 54 tess\$(OBJDIR)\tess.lib \ 55 util\$(OBJDIR)\util.lib \ 56 $(PDWIN32_LIB)/$(ODINCRT).lib \ 57 $(PDWIN32_LIB)\kernel32.lib \ 58 $(PDWIN32_LIB)\opengl32.lib \ 59 $(RTLLIB_O) \ 60 os2386.lib 61 62 63 # 64 # Target name - name of the dll without extention and path. 65 # 38 66 TARGET = glu32 39 67 40 68 41 # All rule - build objs, target dll, copies dll to bin and makes libs. 42 all: $(OBJDIR) \ 43 $(OBJDIR)\$(TARGET).dll \ 44 $(PDWIN32_BIN)\$(TARGET).dll \ 45 lib 46 47 48 # Lib rule - build importlibrary (and evt. other libs) 49 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 50 51 52 # Libs rule - Make (sub) libraries. (Not import libraries!) 53 libs: 54 cd util 55 $(MAKE_CMD) $@ 56 cd ..\tess 57 $(MAKE_CMD) $@ 58 cd ..\nurbs 59 $(MAKE_CMD) $@ 60 cd .. 61 62 63 # Dll rule - builds the target dll. 64 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf 65 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 66 67 68 # Linker file - creates the parameter file passed on to the linker. 69 $(OBJDIR)\$(TARGET).lrf: makefile 70 @echo Creating file <<$@ 71 /OUT:$(OBJDIR)\$(TARGET).dll 72 /MAP:$(OBJDIR)\$(TARGET).map 73 $(OBJS) 74 nurbs\interface\$(OBJDIR)\interface.lib 75 nurbs\internals\$(OBJDIR)\internals.lib 76 nurbs\nurbtess\$(OBJDIR)\nurbtess.lib 77 tess\$(OBJDIR)\tess.lib 78 util\$(OBJDIR)\util.lib 79 $(PDWIN32_LIB)/$(ODINCRT).lib 80 $(PDWIN32_LIB)\KERNEL32.LIB 81 $(PDWIN32_LIB)\OPENGL32.LIB 82 $(RTLLIB_O) 83 OS2386.LIB 84 $(TARGET).def 85 <<keep 86 87 88 # Dep rule - makes depenencies for C, C++ and Asm files. 89 dep: 90 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa\GL \ 91 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 92 cd util 93 $(MAKE_CMD) $@ 94 cd ..\tess 95 $(MAKE_CMD) $@ 96 cd ..\nurbs 97 $(MAKE_CMD) $@ 98 cd .. 99 100 101 # Extra Clean. 102 clean2: 103 cd util 104 $(MAKE_CMD) clean 105 cd ..\tess 106 $(MAKE_CMD) clean 107 cd ..\nurbs 108 $(MAKE_CMD) clean 109 cd .. 110 111 69 # 112 70 # Includes the common rules. 71 # 113 72 !include $(PDWIN32_INCLUDE)/pdwin32.post 114 73 -
trunk/src/opengl/glu/nurbs/interface/makefile
r3031 r4624 1 # $Id: makefile,v 1. 6 2000-03-06 23:33:49bird Exp $1 # $Id: makefile,v 1.7 2000-11-19 08:58:13 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\..\lib … … 13 16 14 17 15 # Local cleanup only. 16 LOCALCLEAN = 1 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 17 23 18 24 25 # 19 26 # Compiler, tools, and interference rules. 27 # 20 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 29 22 30 23 # Flag overloads and local macros. 24 CLEANEXTRAS = 25 26 CINCLUDE = -I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess \ 27 -I..\..\include -I..\..\..\mesa 28 29 CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG 30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG 31 # 32 # Flag overloads. 33 # 34 CINCLUDES = $(CINCLUDES) -I..\..\..\mesa\GL -I..\.. -I..\internals \ 35 -I..\nurbtess -I..\..\include -I..\..\..\mesa 36 CDEFINES = $(CDEFINES) -DNDEBUG 31 37 32 38 33 # Object files. All objects should be prefixed with $(OBJDIR)! 39 # 40 # Object files. Prefix with OBJDIR and one space before the '\'. 41 # 34 42 OBJS = \ 35 43 $(OBJDIR)\glcurveval.obj \ … … 44 52 45 53 54 # 46 55 # Target name - name of the library without extention and path. 47 TARGET = interface 56 # 57 TARGET = interface 48 58 49 59 50 # Create all libraries (not importlibraries) 51 all: $(OBJDIR) \ 52 $(OBJDIR)\$(TARGET).lib 60 # 61 # Includes the common rules. 62 # 63 !include $(PDWIN32_INCLUDE)/pdwin32.post 53 64 54 65 55 # Create all libraries (not importlibraries) 56 libs: all 57 58 59 # Lib rule - build importlibrary (and evt. other libs) 60 $(OBJDIR)\$(TARGET).lib: $(OBJS) 61 $(RM) $@ 62 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 63 64 65 # Dep rule - makes depenencies for C, C++ and Asm files. 66 dep: 67 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 66 # 67 # Additional dep rule - adds dependencies for some additional headers. 68 # 69 mydep: 70 $(DEPEND) -a $(CINCLUDES) \ 68 71 ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\GL\*.h 69 72 70 71 # Includes the common rules.72 !include $(PDWIN32_INCLUDE)/pdwin32.post73 -
trunk/src/opengl/glu/nurbs/internals/makefile
r4308 r4624 1 # $Id: makefile,v 1. 5 2000-09-22 10:43:31bird Exp $1 # $Id: makefile,v 1.6 2000-11-19 08:58:14 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\..\lib … … 14 17 15 18 16 # Local cleanup only. 17 LOCALCLEAN = 1 19 # 20 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 21 # 22 LIBTARGET = 1 23 ADDITIONAL_DEP = mydep 18 24 19 25 26 # 20 27 # Compiler, tools, and interference rules. 28 # 21 29 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 28 CDEFS = -DSTANDALONE -DLIBRARYBUILD -DNDEBUG 29 30 CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS) -O- 31 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) $(CDEFS) 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 36 CDEFINES = $(CDEFINES) -DSTANDALONE -DLIBRARYBUILD -DNDEBUG 37 CFLAGS = $(CFLAGS) -O- 32 38 33 39 34 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 35 43 OBJS = \ 36 44 $(OBJDIR)\arc.obj \ … … 59 67 $(OBJDIR)\mesher.obj \ 60 68 $(OBJDIR)\monotonizer.obj \ 61 $(OBJDIR)\mycode.obj 62 63 OBJS2 = \ 69 $(OBJDIR)\mycode.obj \ 64 70 $(OBJDIR)\nurbsinterfac.obj \ 65 71 $(OBJDIR)\nurbstess.obj \ … … 83 89 84 90 91 # 85 92 # Target name - name of the library without extention and path. 93 # 86 94 TARGET = internals 87 95 88 96 89 # Create all libraries (not importlibraries) 90 all: $(OBJDIR) \ 91 $(OBJDIR)\$(TARGET).lib 97 # 98 # Includes the common rules. 99 # 100 !include $(PDWIN32_INCLUDE)/pdwin32.post 92 101 93 102 94 # Create all libraries (not importlibraries) 95 libs: all 96 97 98 # Lib rule - build importlibrary (and evt. other libs) 99 $(OBJDIR)\$(TARGET).lib: $(OBJS) $(OBJS2) 100 $(RM) $@ 101 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 102 $(ILIB) $(ILIBFLAGS) $@ $(OBJS2); 103 104 105 # Dep rule - makes depenencies for C, C++ and Asm files. 106 dep: 107 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 103 # 104 # Additional dep rule - adds dependencies for some additional headers. 105 # 106 mydep: 107 $(DEPEND) -a $(CINCLUDES) \ 108 108 ..\nurbtess\*.h ..\..\..\mesa\GL\*.h ..\..\include\*.h 109 109 110 111 # Includes the common rules.112 !include $(PDWIN32_INCLUDE)/pdwin32.post113 -
trunk/src/opengl/glu/nurbs/makefile
r3031 r4624 1 # $Id: makefile,v 1. 6 2000-03-06 23:33:48bird Exp $1 # $Id: makefile,v 1.7 2000-11-19 08:58:13 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\lib … … 14 17 15 18 19 # 16 20 # Compiler, tools, and interference rules. 21 # 17 22 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 23 19 24 20 # All, libs, dep and clean rule. 25 # 26 # Subdirectories to travers. 27 # 28 SUBDIRS = \ 29 .\interface \ 30 .\internals \ 31 .\nurbtess 32 33 34 # 35 # Dummy all rule - nmake without target will make all targets of the first rule. 36 # 37 all_: all 38 39 40 # 41 # All, libs, dep and clean rules. 42 # 21 43 clean dep all libs: 22 cd interface 23 $(MAKE_CMD) $@ 24 cd ..\internals 25 $(MAKE_CMD) $@ 26 cd ..\nurbtess 27 $(MAKE_CMD) $@ 28 cd .. 29 44 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) $@ -
trunk/src/opengl/glu/nurbs/nurbtess/makefile
r3031 r4624 1 # $Id: makefile,v 1. 4 2000-03-06 23:33:49bird Exp $1 # $Id: makefile,v 1.5 2000-11-19 08:58:14 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\..\lib … … 14 17 15 18 16 # Local cleanup only. 17 LOCALCLEAN = 1 19 # 20 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 21 # 22 LIBTARGET = 1 23 ADDITIONAL_DEP = mydep 18 24 19 25 26 # 20 27 # Compiler, tools, and interference rules. 28 # 21 29 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 28 CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -DNDEBUG 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include 36 CDEFINES = $(CDEFINES) -DNDEBUG 30 37 31 38 32 # Object files. All objects should be prefixed with $(OBJDIR)! 39 # 40 # Object files. Prefix with OBJDIR and one space before the '\'. 41 # 33 42 OBJS = \ 34 43 $(OBJDIR)\directedLine.obj \ … … 53 62 54 63 64 # 55 65 # Target name - name of the library without extention and path. 66 # 56 67 TARGET = nurbtess 57 68 58 69 59 # Create all libraries (not importlibraries) 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 70 # 71 # Includes the common rules. 72 # 73 !include $(PDWIN32_INCLUDE)/pdwin32.post 62 74 63 75 64 # Create all libraries (not importlibraries) 65 libs: all 66 67 68 # Lib rule - build importlibrary (and evt. other libs) 69 $(OBJDIR)\$(TARGET).lib: $(OBJS) 70 $(RM) $@ 71 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 72 73 74 # Dep rule - makes depenencies for C, C++ and Asm files. 75 dep: 76 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 76 # 77 # Additional dep rule - adds dependencies for some additional headers. 78 # 79 mydep: 80 $(DEPEND) -a $(CINCLUDES) \ 77 81 ..\..\mesa\*.h ..\nurbtess\*.h ..\internals\*.h ..\..\include\*.h 78 82 79 80 # Includes the common rules.81 !include $(PDWIN32_INCLUDE)/pdwin32.post82 -
trunk/src/opengl/glu/tess/makefile
r3031 r4624 1 # $Id: makefile,v 1. 4 2000-03-06 23:33:50bird Exp $1 # $Id: makefile,v 1.5 2000-11-19 08:58:14 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 # 9 10 # Directory macros. 11 # 10 12 PDWIN32_INCLUDE = ..\..\..\..\include 11 13 PDWIN32_LIB = ..\..\..\..\lib … … 14 16 15 17 16 # Local cleanup only. 17 LOCALCLEAN = 1 18 # 19 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 20 # 21 LIBTARGET = 1 22 ADDITIONAL_DEP = mydep 18 23 19 24 25 # 20 26 # Compiler, tools, and interference rules. 27 # 21 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 29 23 30 24 # Flag overloads and local macros.25 CLEANEXTRAS = 26 27 CINCLUDE =-I.. -I..\..\mesa -I..\include -I..\..\mesa\GL28 CDEF S = -DNDEBUG -Tdp29 CFLAGS = $(CFLAGS) $(CINCLUDE) $(CDEFS) -DNDEBUG30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -$(CDEFS) -DNDEBUG31 # 32 # Flag overloads. 33 # 34 CINCLUDES = $(CINCLUDES) -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL 35 CDEFINES = $(CDEFINES) -DNDEBUG 36 CFLAGS = $(CFLAGS) -Tdp 37 CXXFLAGS = $(CXXFLAGS) -Tdp 31 38 32 39 33 34 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 35 43 OBJS= \ 36 44 $(OBJDIR)\dict.obj \ … … 46 54 47 55 56 # 48 57 # Target name - name of the library without extention and path. 58 # 49 59 TARGET = tess 50 60 51 61 52 # Create all libraries (not importlibraries) 53 all: $(OBJDIR) \ 54 $(OBJDIR)\$(TARGET).lib 62 # 63 # Includes the common rules. 64 # 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 55 66 56 67 57 # Create all libraries (not importlibraries) 58 libs: all 59 60 61 # Lib rule - build importlibrary (and evt. other libs) 62 $(OBJDIR)\$(TARGET).lib: $(OBJS) 63 $(RM) $@ 64 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 65 66 67 # Dep rule - makes depenencies for C, C++ and Asm files. 68 dep: 69 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 68 # 69 # Additional dep rule - adds dependencies for some additional headers. 70 # 71 mydep: 72 $(DEPEND) -a $(CINCLUDES) \ 70 73 ..\..\mesa\*.h ..\*.h ..\include\*.h 71 74 72 73 # Includes the common rules.74 !include $(PDWIN32_INCLUDE)/pdwin32.post75 -
trunk/src/opengl/glu/util/makefile
r3031 r4624 1 # $Id: makefile,v 1. 4 2000-03-06 23:33:50bird Exp $1 # $Id: makefile,v 1.5 2000-11-19 08:58:15 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\..\lib … … 14 17 15 18 16 # Local cleanup only. 17 LOCALCLEAN = 1 19 # 20 # Tell buildenvironmet to build an object library and to invoke additional dep rule. 21 # 22 LIBTARGET = 1 23 ADDITIONAL_DEP = mydep 18 24 19 25 26 # 20 27 # Compiler, tools, and interference rules. 28 # 21 29 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 30 23 31 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 26 27 CINCLUDE = -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL 28 CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) -Tdp -DNDEBUG 32 # 33 # Flag overloads. 34 # 35 CINCLUDES = $(CINCLUDES) -I.. -I..\..\mesa -I..\include -I..\..\mesa\GL 36 CDEFINES = $(CDEFINES) -DNDEBUG 37 CFLAGS = $(CFLAGS) -Tdp 38 CXXFLAGS = $(CXXFLAGS) -Tdp 39 !ifdef WAT 40 !error "Compiler not supported yet!" 41 !endif 30 42 31 43 32 # Object files. All objects should be prefixed with $(OBJDIR)! 44 # 45 # Object files. Prefix with OBJDIR and one space before the '\'. 46 # 33 47 OBJS = \ 34 48 $(OBJDIR)\error.obj \ … … 40 54 41 55 56 # 42 57 # Target name - name of the library without extention and path. 58 # 43 59 TARGET = util 44 60 45 61 46 # Create all libraries (not importlibraries) 47 all: $(OBJDIR) \ 48 $(OBJDIR)\$(TARGET).lib 62 # 63 # Includes the common rules. 64 # 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 66 50 67 51 # Create all libraries (not importlibraries) 52 libs: all 53 54 55 # Lib rule - build importlibrary (and evt. other libs) 56 $(OBJDIR)\$(TARGET).lib: $(OBJS) 57 $(RM) $@ 58 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 59 60 61 # Dep rule - makes depenencies for C, C++ and Asm files. 62 dep: 63 $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \ 68 # 69 # Additional dep rule - adds dependencies for some additional headers. 70 # 71 mydep: 72 $(DEPEND) -a $(CINCLUDES) \ 64 73 ..\include\*.h ..\..\mesa\*.h ..\*.h 65 74 66 67 # Includes the common rules.68 !include $(PDWIN32_INCLUDE)/pdwin32.post69 -
trunk/src/opengl/glut/Makefile
r3864 r4624 1 # $Id: Makefile,v 1.1 5 2000-07-19 19:05:15 sandervlExp $1 # $Id: Makefile,v 1.16 2000-11-19 08:58:15 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\lib … … 14 17 15 18 19 # 20 # Tell buildenvironmet to invoke additional dep rule. 21 # 22 ADDITIONAL_DEP = mydep 23 24 25 # 16 26 # Compiler, tools, and interference rules. 27 # 17 28 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 29 19 30 20 # Flag overloads and local macros. 21 CLEANEXTRAS = 32rsrc.asm 22 23 CFLAGS = -I..\mesa\GL -I..\glu $(CFLAGS_WIN32APP) -I..\mesa 24 CXXFLAGS = -I..\mesa\GL -I..\glu $(CXXFLAGS_WIN32APP) -I..\mesa 31 # 32 # Overrides 33 # 34 CINCLUDES = -I..\mesa\GL -I..\glu $(CINCLUDES) -I..\mesa 35 CDEFINES = $(CDEFINES_WIN32APP) 36 CFLAGS = $(CFLAGS_WIN32APP) 37 CXXFLAGS = $(CXXFLAGS_WIN32APP) 25 38 26 39 27 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 28 43 OBJS = \ 29 44 $(OBJDIR)\glut_8x13.obj \ … … 79 94 80 95 81 # Target name - name of the dll without extention and path. 82 TARGET = glut32 96 # 97 # Libraries. One space before the '\'. 98 # 99 LIBS = \ 100 $(PDWIN32_LIB)/$(ODINCRT).lib \ 101 $(RTLLIB_O) \ 102 $(PDWIN32_LIB)\winmm.lib \ 103 $(PDWIN32_LIB)\kernel32.lib \ 104 $(PDWIN32_LIB)\gdi32.lib \ 105 $(PDWIN32_LIB)\user32.lib \ 106 $(PDWIN32_LIB)\glu32.lib \ 107 $(PDWIN32_LIB)\opengl32.lib \ 108 os2386.lib 83 109 84 110 85 # All rule - build objs, target dll, copies dll to bin and makes libs. 86 all: $(OBJDIR) \ 87 $(OBJDIR)\$(TARGET).dll \ 88 $(PDWIN32_BIN)\$(TARGET).dll \ 89 lib 111 # 112 # Target name - name of the dll without extention and path. 113 # 114 TARGET = glut32 90 115 91 116 92 # Lib rule - build importlibrary (and evt. other libs) 93 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 117 # 118 # Includes the common rules. 119 # 120 !include $(PDWIN32_INCLUDE)/pdwin32.post 94 121 95 122 96 # Dll rule - builds the target dll. 97 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 98 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 99 100 101 # Linker file - creates the parameter file passed on to the linker. 102 $(OBJDIR)\$(TARGET).lrf: makefile 103 @echo Creating file <<$@ 104 /OUT:$(OBJDIR)\$(TARGET).dll 105 /MAP:$(OBJDIR)\$(TARGET).map 106 $(OBJS) 107 $(PDWIN32_LIB)/$(ODINCRT).lib 108 $(RTLLIB_O) 109 $(PDWIN32_LIB)\WINMM.LIB 110 $(PDWIN32_LIB)\KERNEL32.LIB 111 $(PDWIN32_LIB)\GDI32.LIB 112 $(PDWIN32_LIB)\USER32.LIB 113 $(PDWIN32_LIB)\GLU32.LIB 114 $(PDWIN32_LIB)\OPENGL32.LIB 115 OS2386.LIB 116 $(TARGET).def 117 <<keep 118 119 120 # Dep rule - makes depenencies for C, C++ and Asm files. 121 dep: 122 $(DEPEND) -I..\mesa\GL -I..\glu -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa \ 123 # 124 # Additional dep rule - adds dependencies for some additional headers. 125 # 126 mydep: 127 $(DEPEND) -a $(CINCLUDES) \ 123 128 *.c *.cpp *.asm *.inc $(PDWIN32_INCLUDE)\*.h ..\mesa\gl\*.h 124 129 125 126 # Includes the common rules.127 !include $(PDWIN32_INCLUDE)/pdwin32.post128 -
trunk/src/opengl/makefile
r3031 r4624 1 # $Id: makefile,v 1.1 7 2000-03-06 23:33:42bird Exp $1 # $Id: makefile,v 1.18 2000-11-19 08:58:10 bird Exp $ 2 2 # 3 3 # Odin32 API … … 6 6 # 7 7 8 # Directories9 PDWIN32_INCLUDE = ..\..\include10 8 11 9 # Common tools macros. (MAKE_CMD) 12 !include $(PDWIN32_INCLUDE)\pdwin32.mk10 !include ../../include/pdwin32.mk 13 11 14 12 … … 17 15 18 16 17 # Subdirectories. 18 SUBDIRS = \ 19 .\mesa \ 20 .\glu \ 21 .\glut \ 22 .\glide \ 23 .\mesa\3dfx 24 19 25 # All, Lib, Clean and Dep rules. 20 26 clean dep all lib: 21 cd mesa 22 $(MAKE_CMD) $@ 23 cd ..\glu 24 $(MAKE_CMD) $@ 25 cd ..\glut 26 $(MAKE_CMD) $@ 27 cd ..\glide 28 $(MAKE_CMD) $@ 29 cd ..\mesa\3dfx 30 $(MAKE_CMD) $@ 31 cd ..\.. 27 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) $@ 32 28 -
trunk/src/opengl/mesa/3dfx/makefile
r3864 r4624 1 # $Id: makefile,v 1.1 0 2000-07-19 19:05:16 sandervlExp $1 # $Id: makefile,v 1.11 2000-11-19 08:58:16 bird Exp $ 2 2 # 3 3 # Odin32 API 4 4 # 5 # Makefile for Mesa OpenGL5 # Mesa/3dxf Makefile - opengl.dll. 6 6 # 7 7 8 9 # 8 10 # Directory macros. 11 # 9 12 PDWIN32_INCLUDE = ..\..\..\..\include 10 13 PDWIN32_LIB = ..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\$(OBJDIR) 14 PDWIN32_BIN = ..\..\..\..\$(OBJDIR)\Glide 12 15 PDWIN32_TOOLS = ..\..\..\..\tools\bin 13 16 14 17 18 # 19 # Tell buildenvironment that we should not copy this into /bin. 20 # 21 NO_MAIN_BIN_COPY = 1 22 23 24 # 15 25 # Compiler, tools, and interference rules. 26 # 16 27 !include $(PDWIN32_INCLUDE)/pdwin32.mk 17 MESADEFS= -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \18 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \19 -DFX -DFX_V2 -DFX_SILENT -DBUILD_GL32 -DFAST_MATH20 28 21 CFLAGS = -I.. -I..\GL $(CFLAGS_WIN32APP) -I..\..\glut -I..\..\glide\cvg\glide -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc $(MESADEFS) /Wcnd- /Tdp22 CXXFLAGS = -I.. -I..\GL $(CXXFLAGS_WIN32APP) -I..\..\glut -I..\..\glide\cvg\glide -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc $(MESADEFS)23 29 24 ASFLAGS=$(ASFLAGS) -Fdo:$(OBJDIR) 30 # 31 # Overrides. 32 # 33 CINCLUDES = -I.. -I..\GL $(CINCLUDES) -I..\..\glut -I..\..\glide\cvg\glide \ 34 -I..\..\glide\swlibs\fxmisc -I..\..\glide\cvg\incsrc 35 CDEFINES = $(CDEFINES_WIN32APP) \ 36 -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \ 37 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \ 38 -DFX -DFX_V2 -DFX_SILENT -DBUILD_GL32 -DFAST_MATH 39 40 CFLAGS = $(CFLAGS) /Wcnd- /Tdp 41 !ifdef WAT 42 !error "Compiler not supported yet!" 43 !endif 25 44 26 45 27 46 # 28 47 # Interference rule for sources in the parent directory. 48 # This is BAD! Try make library in parent directory? Problem with different objects. 29 49 # 30 50 {..}.c{$(OBJDIR)}.obj: 31 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj $<51 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -c -Fo$(OBJDIR)\$(@B).obj $< 32 52 33 53 {..}.asm{$(OBJDIR)}.obj: … … 35 55 36 56 37 # Object files. All objects should be prefixed with $(OBJDIR)! 57 # 58 # Object files. Prefix with OBJDIR and one space before the '\'. 59 # 38 60 OBJS = \ 39 61 $(OBJDIR)\fxapi.obj \ … … 133 155 $(OBJDIR)\common_x86.obj \ 134 156 $(OBJDIR)\mmx_blend.obj \ 135 $(OBJDIR)\vertex.obj 157 $(OBJDIR)\vertex.obj \ 158 $(OBJDIR)\mem.obj 136 159 137 160 161 # 162 # Libraries. One space before the '\'. 163 # 164 LIBS = \ 165 $(PDWIN32_LIB)/$(ODINCRT).lib \ 166 $(PDWIN32_LIB)\kernel32.lib \ 167 $(PDWIN32_LIB)\gdi32.lib \ 168 $(PDWIN32_LIB)\user32.lib \ 169 $(PDWIN32_LIB)\glide2x.lib \ 170 $(RTLLIB_O) \ 171 os2386.lib 172 173 174 # 138 175 # Target name - name of the dll without extention and path. 176 # 139 177 TARGET = opengl32 140 178 141 179 142 # All rule - build objs, target dll, copies dll to bin and makes libs. 143 all: $(OBJDIR) \ 144 $(OBJDIR)\$(TARGET).dll \ 145 $(PDWIN32_BIN)\Glide\$(TARGET).dll \ 146 lib 180 # 181 # Includes the common rules. 182 # 183 !include $(PDWIN32_INCLUDE)/pdwin32.post 147 184 148 185 149 # Lib rule - build importlibrary (and evt. other libs) 150 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 186 # 187 # Additional dep rule - adds dependencies for some additional headers. 188 # 189 mydep: 190 $(DEPEND) -a $(CINCLUDES) \ 191 ..\*.c ..\*.asm ..\*.h ..\GL\*.h ..\..\glut\*.h ..\..\glide\cvg\glide\*.h \ 192 ..\..\glide\swlibs\fxmisc\*.h ..\..\glide\cvg\incsrc\*.h 151 193 152 153 # Dll rule - builds the target dll.154 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf155 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf156 157 158 # Linker file - creates the parameter file passed on to the linker.159 $(OBJDIR)\$(TARGET).lrf: makefile160 @echo Creating file <<$@161 /OUT:$(OBJDIR)\$(TARGET).dll162 /MAP:$(OBJDIR)\$(TARGET).map163 $(OBJS)164 $(PDWIN32_LIB)/$(ODINCRT).lib165 $(PDWIN32_LIB)\KERNEL32.LIB166 $(PDWIN32_LIB)\GDI32.LIB167 $(PDWIN32_LIB)\USER32.LIB168 $(PDWIN32_LIB)\glide2x.lib169 $(RTLLIB_O)170 OS2386.LIB171 $(TARGET).def172 <<keep173 174 175 # Copy rule.176 $(PDWIN32_BIN)\Glide\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll177 $(CP) $** $@178 179 180 # Dep rule - makes depenencies for C, C++ and Asm files.181 dep:182 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\..\glut -I..\GL -I.. -I$(PDWIN32_INCLUDE)\glide \183 *.c *.cpp *.h *.asm *.inc ..\*.c $(PDWIN32_INCLUDE)\*.h184 185 186 # Includes the common rules.187 !include $(PDWIN32_INCLUDE)/pdwin32.post188 -
trunk/src/opengl/mesa/makefile
r3864 r4624 1 # $Id: makefile,v 1. 8 2000-07-19 19:05:15 sandervlExp $1 # $Id: makefile,v 1.9 2000-11-19 08:58:15 bird Exp $ 2 2 3 3 # 4 4 # Odin32 API 5 5 # 6 # Makefile for Mesa OpenGL6 # Mesa Makefile - opengl.dll 7 7 # 8 8 9 10 # 9 11 # Directory macros. 12 # 10 13 PDWIN32_INCLUDE = ..\..\..\include 11 14 PDWIN32_LIB = ..\..\..\lib … … 14 17 15 18 19 # 16 20 # Compiler, tools, and interference rules. 21 # 17 22 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 23 19 # Flag overloads and local macros. 20 CLEANEXTRAS = lz32rsrc.asm 24 25 # 26 # Overrides. We have to compile this as a WIN32APP. 27 # 28 CINCLUDES = -I. -IGL $(CINCLUDES) -I..\glut 29 CDEFINES = $(CDEFINES_WIN32APP) \ 30 -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \ 31 -DDIVE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \ 32 -DFAST_MATH 33 CFLAGS = $(CFLAGS_WIN32APP) /Wcnd- -Tdp 34 CXXFLAGS = $(CFLAGS_WIN32APP) /Wcnd- -Tdp 35 !ifdef WAT 36 !error "Compiler not supported yet!" 37 !endif 21 38 22 39 23 MESADEFS = -DNO_PARALLEL -DNO_STEREO -DGL_MESA_window_pos -DOS2_THREADS \ 24 -DDIVE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM_NOT \ 25 -DFAST_MATH -Tdp 26 CFLAGS = -I. -IGL $(CFLAGS_WIN32APP) -I..\glut $(MESADEFS) /Wcnd- 27 CXXFLAGS = -I. -IGL $(CXXFLAGS_WIN32APP) -I..\glut $(MESADEFS) /Wcnd- 28 29 30 # Object files. All objects should be prefixed with $(OBJDIR)! 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 31 43 OBJS = \ 32 44 $(OBJDIR)\wgl.obj \ … … 118 130 119 131 132 # 133 # Libraries. One space before the '\'. 134 # 135 LIBS = \ 136 $(PDWIN32_LIB)/$(ODINCRT).lib \ 137 $(PDWIN32_LIB)\kernel32.lib \ 138 $(PDWIN32_LIB)\gdi32.lib \ 139 $(PDWIN32_LIB)\user32.lib \ 140 $(RTLLIB_O) \ 141 os2386.lib \ 142 mmpm2.lib 143 144 145 # 120 146 # Target name - name of the dll without extention and path. 147 # 121 148 TARGET = opengl32 122 149 123 150 124 # All rule - build objs, target dll, copies dll to bin and makes libs. 125 all: $(OBJDIR) \ 126 $(OBJDIR)\$(TARGET).dll \ 127 $(PDWIN32_BIN)\$(TARGET).dll \ 128 lib 151 # 152 # Includes the common rules. 153 # 154 !include $(PDWIN32_INCLUDE)/pdwin32.post 129 155 130 156 131 # Lib rule - build importlibrary (and evt. other libs) 132 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 157 # 158 # Libs rule to support objectlibrary used by 3dxf. 159 # 160 libs: $(OBJDIR)\$(TARGET).lib 133 161 134 162 135 # Dll rule - builds the target dll. 136 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 137 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 163 # 164 # Internal objectlibrary rule. 165 # 166 $(OBJDIR)\$(TARGET).lib: $(OBJS) 167 !if "$(VAC3)" == "1" | "$(VAC36)" == "1" 168 $(RM) $(OBJDIR)\$(TARGET) 169 $(ILIB) $(ILIBFLAGS) $@ @<< 170 $(OBJS: = &^ 171 ) 172 $(OBJDIR)\$(@B).lst 173 << 174 !else 175 ! error "Compiler is not yet supported." 176 !endif 138 177 139 178 140 # Linker file - creates the parameter file passed on to the linker. 141 $(OBJDIR)\$(TARGET).lrf: makefile 142 @echo Creating file <<$@ 143 /OUT:$(OBJDIR)\$(TARGET).dll 144 /MAP:$(OBJDIR)\$(TARGET).map 145 $(OBJS) 146 $(PDWIN32_LIB)/$(ODINCRT).lib 147 $(PDWIN32_LIB)\KERNEL32.LIB 148 $(PDWIN32_LIB)\GDI32.LIB 149 $(PDWIN32_LIB)\USER32.LIB 150 $(RTLLIB_O) 151 OS2386.LIB 152 MMPM2.LIB 153 $(TARGET).def 154 <<keep 179 # 180 # Additional dep rule - adds dependencies for some additional headers. 181 # 182 mydep: 183 $(DEPEND) -a $(CINCLUDES) \ 184 .\gl\*.h ..\glut\*.h 155 185 156 157 158 # Dep rule - makes depenencies for C, C++ and Asm files.159 dep:160 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -IGL \161 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h162 163 164 # Includes the common rules.165 !include $(PDWIN32_INCLUDE)/pdwin32.post166
Note:
See TracChangeset
for help on using the changeset viewer.