Changeset 3031 for trunk/src/opengl/glide
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (25 years ago)
- Location:
- trunk/src/opengl/glide
- Files:
-
- 4 added
- 4 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glide/cvg/glide/makefile
r2959 r3031 1 # $Id: makefile,v 1.2 2000-03-01 14:26:49 sandervl Exp $ 1 # $Id: makefile,v 1.3 2000-03-06 23:33:43 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 6 # Glide makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin11 PDWIN32_LIB = ..\..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 14 13 TARGET=glide 15 # Local cleanup only. 16 LOCALCLEAN = 1 14 17 18 19 # Compiler, tools, and interference rules. 15 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 21 !include ..\3dfx.mak 17 22 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib;$(PDWIN32_INCLUDE)19 23 20 CFLAGS = $(CFLAGS) $(CINCLUDE) /Os- 24 # Flag overloads and local macros. 25 CLEANEXTRAS = glidersrc.asm 26 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib; 28 CFLAGS = $(CFLAGS) $(CINCLUDE) /Os- 21 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) /Os- 22 23 OBJS = CPUDTECT.OBJ DDGUMP.OBJ DIGLIDE.OBJ DIGUTEX.OBJ DISST.OBJ \ 24 DITEX.OBJ G3DF.OBJ GAA.OBJ GBANNER.OBJ \ 25 GDRAW.OBJ GERROR.OBJ GGLIDE.OBJ GLFB.OBJ GMOVIE.OBJ \ 26 GPCI.OBJ GSPLASH.OBJ GSST.OBJ GTEX.OBJ GTEXDL.OBJ \ 27 GU.OBJ GUCLIP.OBJ GUMP.OBJ GUTEX.OBJ GXDRAW.OBJ \ 28 P6FENCE.OBJ FIFO.OBJ 30 RCFLAGS = $(RCFLAGS) $(CINCLUDE) 29 31 30 32 31 all: $(TARGET).lib 33 # Object files. All objects should be prefixed with $(OBJDIR)! 34 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 \ 61 $(OBJDIR)\glidersrc.obj 32 62 33 $(TARGET).lib: $(OBJS)34 $(RM) $(TARGET).lib35 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,36 63 64 # Target name - name of the library without extention and path. 65 TARGET = glide 66 67 68 # All rule - build objs and target library. 69 all: $(OBJDIR) \ 70 $(OBJDIR)\$(TARGET).lib 71 72 73 # Create all libraries (not importlibraries) 74 libs: all 75 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. 37 84 dep: 38 85 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 39 86 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 40 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 87 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 41 88 42 !ifndef NODEP43 !include .depend44 !endif45 89 46 clean: 47 $(RM) *.obj *.pch 48 $(RM) *.lib 90 # Includes the common rules. 91 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 92 -
trunk/src/opengl/glide/cvg/init/makefile
r2888 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:37:52 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:44 bird Exp $ 2 2 # 3 3 # PD-Win32 API 4 4 # 5 # Glidemakefile5 # Init makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 10 PDWIN32_LIB = ..\..\..\..\..\lib 10 PDWIN32_BIN = ..\..\..\..\..\ bin11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 11 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 14 15 # Compiler, tools, and interference rules. 16 LOCALCLEAN = 1 13 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 18 !include ..\3dfx.mak 15 19 16 TARGET=init 20 # Flag overloads and local macros. 21 CLEANEXTRAS = 17 22 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib 23 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\glide;..\texus;..\..\swlibs\pcilib 24 CFLAGS = $(CFLAGS) $(CINCLUDE) 25 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 19 26 20 CFLAGS = $(CFLAGS) $(CINCLUDE)21 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE)22 27 23 OBJS = DAC.OBJ GAMMA.OBJ GDEBUG.OBJ INFO.OBJ PARSE.OBJ \ 24 PRINT.OBJ SLI.OBJ SST1INIT.OBJ UTIL.OBJ VIDEO.OBJ 28 # Object files. All objects should be prefixed with $(OBJDIR)! 29 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.OBJ 25 40 26 all: $(TARGET).lib27 41 28 $(TARGET).lib: $(OBJS) 29 $(RM) $(TARGET).lib 30 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS),, 42 # Target name - name of the dll without extention and path. 43 TARGET = init 44 45 46 # All rule - build objs, target dll, copies dll to bin and makes libs. 47 all: $(OBJDIR) \ 48 $(OBJDIR)\$(TARGET).lib 49 50 51 # Create all libraries (not importlibraries) 52 libs: all 53 54 55 # Lib target rule - builds the library. 56 $(OBJDIR)\$(TARGET).lib: $(OBJS) 57 $(RM) $@ 58 $(ILIB) $(ILIBFLAGS) $@ $(OBJS); 31 59 32 60 33 61 62 # Dep rule - makes depenencies for C, C++ and Asm files. 34 63 dep: 35 64 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 36 65 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 37 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 66 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 38 67 39 !ifndef NODEP40 !include .depend41 !endif42 68 43 clean: 44 $(RM) *.obj *.pch 45 $(RM) *.lib 69 # Includes the common rules. 70 !include $(PDWIN32_INCLUDE)/pdwin32.post 46 71 -
trunk/src/opengl/glide/cvg/makefile
r3011 r3031 1 # $Id: makefile,v 1.6 2000-03-04 20:03:43 bird Exp $ 1 # $Id: makefile,v 1.7 2000-03-06 23:33:43 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 # Glide makefile6 # Glide\cvg makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\tools\bin11 PDWIN32_LIB = ..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\..\..\tools\bin 12 14 15 16 # Have extra clean rule. 17 CLEAN2 = 1 18 19 20 # Compiler, tools, and interference rules. 21 !include $(PDWIN32_INCLUDE)/pdwin32.mk 22 23 24 # Flag overloads and local macros. 25 CLEANEXTRAS = rsrc.asm 26 27 28 # Object files. All objects should be prefixed with $(OBJDIR)! 29 OBJS = \ 30 $(OBJDIR)\initterm.obj 31 32 33 # Target name - name of the dll without extention and path. 13 34 TARGET = glide2x 14 35 15 !include $(PDWIN32_INCLUDE)/pdwin32.mk16 36 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) 37 # All rule - build objs, target dll, copies dll to bin and makes libs. 38 all: $(OBJDIR) \ 39 $(OBJDIR)\$(TARGET).dll \ 40 $(PDWIN32_BIN)\$(TARGET).dll \ 41 lib 19 42 20 OBJS = initterm.obj \21 glideres.obj \22 ..\swlibs\pcilib\pcilib.lib \23 texus\texus.lib \24 init\init.lib \25 glide\glide.lib \26 43 27 all: ..\swlibs\pcilib\pcilib.lib init\init.lib texus\texus.lib glide\glide.lib $(TARGET).dll $(TARGET).lib 44 # Lib rule - build importlibrary (and evt. other libs) 45 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 28 46 29 ..\swlibs\pcilib\pcilib.lib: 47 48 49 # Libs rule - Make (sub) libraries. (Not import libraries!) 50 libs: 30 51 cd ..\swlibs\pcilib 31 $(MAKE_CMD) 32 cd ..\..\cvg 33 34 init\init.lib: 35 cd init 36 $(MAKE_CMD) 52 $(MAKE_CMD) $@ 53 cd ..\..\cvg\init 54 $(MAKE_CMD) $@ 55 cd ..\glide 56 $(MAKE_CMD) $@ 57 cd ..\texus 58 $(MAKE_CMD) $@ 37 59 cd .. 38 60 39 glide\glide.lib:40 cd glide41 $(MAKE_CMD)42 cd ..43 61 44 texus\texus.lib: 45 cd texus 46 $(MAKE_CMD) 47 cd .. 62 # Dll rule - builds the target dll. 63 $(OBJDIR)\$(TARGET).dll: $(OBJS) libs $(TARGET).def $(OBJDIR)\$(TARGET).lrf 64 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 48 65 49 $(TARGET).dll: $(OBJS) $(TARGET).def50 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \51 $(PDWIN32_LIB)/kernel32.lib \52 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)53 $(CP) $@ $(PDWIN32_BIN)\Glide\Voodoo254 66 55 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 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 56 83 57 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 84 85 # Copy rule - copies the dll. 86 $(PDWIN32_BIN)\Glide\Voodoo2\$(TARGET).dll: $(OBJDIR)\$(TARGET).dll 58 87 $(CP) $** $@ 59 88 60 $(TARGET).lib: $(TARGET).def61 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).def62 $(CP) $@ $(PDWIN32_LIB)63 89 64 RCFLAGS = $(RCFLAGS) -I..\swlibs\fxmisc -Iglide 65 66 glideres.asm: glide\glide.rc 67 $(RC) $(RCFLAGS) -o glideres.asm glide\glide.rc 68 69 initterm.obj: initterm.cpp 70 90 # Dep rule - makes depenencies for C, C++ and Asm files. 71 91 dep: 72 92 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 73 93 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 74 94 cd ..\swlibs\pcilib 75 $(MAKE_CMD) dep76 cd ..\..\cvg\ glide77 $(MAKE_CMD) dep78 cd ..\ init79 $(MAKE_CMD) dep95 $(MAKE_CMD) $@ 96 cd ..\..\cvg\init 97 $(MAKE_CMD) $@ 98 cd ..\glide 99 $(MAKE_CMD) $@ 80 100 cd ..\texus 81 $(MAKE_CMD) dep101 $(MAKE_CMD) $@ 82 102 cd .. 83 103 84 !ifndef NODEP85 !include .depend86 !endif87 104 88 clean: 89 $(RM) *.obj *.pch 90 $(RM) *.map *.dll 91 $(RM) *.lib 92 $(RM) glideres.asm 105 # Extra cleanrule. 106 clean2: 93 107 cd ..\swlibs\pcilib 94 108 $(MAKE_CMD) clean … … 101 115 cd .. 102 116 117 118 # Includes the common rules. 119 !include $(PDWIN32_INCLUDE)/pdwin32.post 120 121 122 -
trunk/src/opengl/glide/cvg/texus/makefile
r2888 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:37:59 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:44 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 13 TARGET=TEXUS14 14 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 18 19 # Compiler, tools, and interference rules. 15 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 21 !include ..\3dfx.mak 17 22 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib19 23 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)24 # Flag overloads and local macros. 25 CLEANEXTRAS = 22 26 23 OBJS = 3DF.OBJ CLAMP.OBJ DEQUANT.OBJ DIFFUSE.OBJ GLDUTIL.OBJ \ 24 MIPMAP.OBJ NCC.OBJ NCCNNET.OBJ PAL256.OBJ PPM.OBJ \ 25 QUANTIZE.OBJ READ.OBJ RESAMPLE.OBJ RGT.OBJ TEXUSLIB.OBJ \ 26 TGA.OBJ UTIL.OBJ VIEW.OBJ WRITE.OBJ 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 27 30 28 all: $(TARGET).lib29 31 30 $(TARGET).lib: $(OBJS) 31 $(RM) $(TARGET).lib 32 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,, 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 OBJS = \ 34 $(OBJDIR)\3DF.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.OBJ 33 53 54 55 # Target name - name of the library without extention and path. 56 TARGET = texus 57 58 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 62 63 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. 34 75 dep: 35 76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 36 77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 37 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 38 79 39 !ifndef NODEP40 !include .depend41 !endif42 80 43 clean: 44 $(RM) *.obj *.lib 81 # Includes the common rules. 82 !include $(PDWIN32_INCLUDE)/pdwin32.post 45 83 -
trunk/src/opengl/glide/makefile
r3011 r3031 1 # $Id: makefile,v 1. 3 2000-03-04 20:03:42bird Exp $1 # $Id: makefile,v 1.4 2000-03-06 23:33:43 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 5 # main glide makefile 6 6 # 7 7 8 PDWIN32_INCLUDE = ..\..\..\include 9 PDWIN32_LIB = ..\..\..\lib 10 PDWIN32_BIN = ..\..\..\bin 11 PDWIN32_TOOLS = ..\..\..\tools\bin 8 # Directories 9 PDWIN32_INCLUDE = ..\..\include 10 11 # Common tools macros. (MAKE_CMD) 12 !include ..\..\..\include\pdwin32.tools 12 13 13 14 14 !include $(PDWIN32_INCLUDE)/pdwin32.mk 15 16 TARGET1 = cvg\glide2x 17 TARGET2 = sst1\glide2x 18 19 all: $(TARGET1).dll $(TARGET2).dll 20 lib: $(TARGET1).lib 21 22 $(TARGET1).dll: 15 # All, Lib, Clean and Dep rules. 16 all lib clean dep: 23 17 cd cvg 24 $(MAKE_CMD) 18 $(MAKE_CMD) $@ 19 cd ..\sst1 20 $(MAKE_CMD) $@ 25 21 cd .. 26 22 27 $(TARGET2).dll:28 cd sst129 $(MAKE_CMD)30 cd ..31 32 $(TARGET1).lib:33 cd cvg34 $(MAKE_CMD) $(@F)35 cd ..36 37 clean:38 cd cvg39 $(MAKE_CMD) clean40 cd ..\sst141 $(MAKE_CMD) clean42 cd ..43 44 dep:45 cd cvg46 $(MAKE_CMD) dep47 cd ..\sst148 $(MAKE_CMD) dep49 cd ..50 -
trunk/src/opengl/glide/sst1/glide/makefile
r2885 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:31:20 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:45 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 5 # Glide makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 13 TARGET=glide 14 # Local cleanup only. 15 LOCALCLEAN = 1 14 16 17 # Compiler, tools, and interference rules. 15 18 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 19 !include ..\3dfx.mak 17 20 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib;$(PDWIN32_INCLUDE)19 21 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)22 # Flag overloads and local macros. 23 CLEANEXTRAS = glidersrc.asm 22 24 23 OBJS = CPUDTECT.OBJ DDGUMP.OBJ DIGLIDE.OBJ DIGUTEX.OBJ DISST.OBJ \ 24 DITEX.OBJ G3DF.OBJ GAA.OBJ GBANNER.OBJ \ 25 GDRAW.OBJ GERROR.OBJ GGLIDE.OBJ GLFB.OBJ GMOVIE.OBJ \ 26 GPCI.OBJ GSPLASH.OBJ GSST.OBJ GTEX.OBJ GTEXDL.OBJ \ 27 GU.OBJ GUCLIP.OBJ GUMP.OBJ GUTEX.OBJ GXDRAW.OBJ \ 28 P6FENCE.OBJ SST96.OBJ 25 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\texus;..\..\swlibs\pcilib; 26 CFLAGS = $(CFLAGS) $(CINCLUDE) 27 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 28 RCFLAGS = $(RCFLAGS) $(CINCLUDE) 29 29 30 30 31 all: $(TARGET).lib 31 # Object files. All objects should be prefixed with $(OBJDIR)! 32 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 \ 59 $(OBJDIR)\glidersrc.obj 32 60 33 $(TARGET).lib: $(OBJS)34 $(RM) $(TARGET).lib35 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,36 61 62 # Target name - name of the library without extention and path. 63 TARGET = glide 64 65 # All rule - build objs and target library. 66 all: $(OBJDIR) \ 67 $(OBJDIR)\$(TARGET).lib 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); 78 79 80 # Dep rule - makes depenencies for C, C++ and Asm files. 37 81 dep: 38 82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 39 83 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 40 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h ..\init\initvg\*.h ..\init\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 41 85 42 !ifndef NODEP43 !include .depend44 !endif45 86 46 clean: 47 $(RM) *.obj *.pch 48 $(RM) *.lib 87 # Includes the common rules. 88 !include $(PDWIN32_INCLUDE)/pdwin32.post 49 89 -
trunk/src/opengl/glide/sst1/init/initvg/makefile
r2885 r3031 1 # $Id: makefile,v 1. 1 2000-02-25 00:31:33 sandervlExp $1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $ 2 2 # 3 3 # PD-Win32 API … … 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\..\tools\bin 12 13 14 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 18 19 # Compiler, tools, and interference rules. 13 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 21 !include ..\..\3dfx.mak 15 22 16 CINCLUDE=-I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib17 23 18 CFLAGS = $(CFLAGS) $(CINCLUDE) 19 C XXFLAGS = $(CXXFLAGS) $(CINCLUDE)24 # Flag overloads and local macros. 25 CLEANEXTRAS = glide.asm 20 26 21 OBJS = DAC.OBJ GAMMA.OBJ GDEBUG.OBJ INFO.OBJ PARSE.OBJ \ 22 PRINT.OBJ SLI.OBJ SST1INIT.OBJ UTIL.OBJ VIDEO.OBJ 27 CINCLUDE = -I..\..\incsrc;..\..\..\swlibs\fxmisc;..\..\init;..\..\glide;..\..\texus;..\..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 23 30 24 all: $(OBJS)25 31 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 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.OBJ 44 45 46 # All - rule make all objects. 47 all: $(OBJDIR) \ 48 $(OBJS) 49 50 51 # Dep rule - makes depenencies for C, C++ and Asm files. 26 52 dep: 27 53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 28 54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 29 ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h 55 ..\..\incsrc\*.h ..\..\..\swlibs\fxmisc\*.h ..\*.h ..\..\glide\*.h \ 56 ..\..\texus\*.h ..\..\..\swlibs\pcilib\*.h 30 57 31 !ifndef NODEP32 !include .depend33 !endif34 58 35 clean: 36 $(RM) *.obj *.pch 37 $(RM) *.lib 59 # Includes the common rules. 60 !include $(PDWIN32_INCLUDE)/pdwin32.post 38 61 -
trunk/src/opengl/glide/sst1/init/makefile
r3011 r3031 1 # $Id: makefile,v 1. 2 2000-03-04 20:03:43bird Exp $1 # $Id: makefile,v 1.3 2000-03-06 23:33:46 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 # Glidemakefile5 # sst1\Init makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 14 # Local cleanup only and extra cleanrule. 15 LOCALCLEAN = 1 16 CLEAN2 = 1 17 18 # Compiler, tools, and interference rules. 13 19 !include $(PDWIN32_INCLUDE)/pdwin32.mk 14 20 !include ..\3dfx.mak 15 21 16 TARGET1=init17 TARGET2=initvg18 22 19 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 23 # Flag overloads and local macros. 24 CLEANEXTRAS = 20 25 21 CFLAGS = $(CFLAGS) $(CINCLUDE) 22 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 23 24 OBJS = H3DRVR.OBJ INIT.OBJ VG96DRVR.OBJ VGDRVR.OBJ \ 25 $(TARGET2)\DAC.OBJ $(TARGET2)\GAMMA.OBJ $(TARGET2)\GDEBUG.OBJ $(TARGET2)\INFO.OBJ $(TARGET2)\PARSE.OBJ \ 26 $(TARGET2)\PRINT.OBJ $(TARGET2)\SLI.OBJ $(TARGET2)\SST1INIT.OBJ $(TARGET2)\UTIL.OBJ $(TARGET2)\VIDEO.OBJ 27 28 all: $(TARGET2).lib $(TARGET1).lib 29 30 $(TARGET1).lib: $(OBJS) 31 $(RM) $(TARGET1).lib 32 $(ILIB) $(ILIBFLAGS) $(TARGET1).lib $(OBJS),, 26 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;initvg;..\glide;..\texus;..\..\swlibs\pcilib 27 CFLAGS = $(CFLAGS) $(CINCLUDE) 28 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 33 29 34 30 35 $(TARGET2).lib: 36 cd initvg 37 $(MAKE_CMD) 31 # Object files. All objects should be prefixed with $(OBJDIR)! 32 INITSUB = initvg 33 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 51 52 53 # Target name - name of the library without extention and path. 54 TARGET = init 55 56 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 38 67 cd .. 39 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. 40 81 dep: 41 82 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ … … 43 84 ..\incsrc\*.h ..\..\swlibs\fxmisc\*.h initvg\*.h ..\glide\*.h ..\texus\*.h ..\..\swlibs\pcilib\*.h 44 85 cd initvg 45 $(MAKE_CMD) dep 86 $(MAKE_CMD) $@ 87 cd .. 46 88 47 !ifndef NODEP48 !include .depend49 !endif50 89 51 clean: 52 $(RM) *.obj *.pch 53 $(RM) *.lib 90 # Includes the common rules. 91 !include $(PDWIN32_INCLUDE)/pdwin32.post 92 93 94 # extra clean rule 95 clean2: 54 96 cd initvg 55 97 $(MAKE_CMD) clean 56 98 cd .. 57 -
trunk/src/opengl/glide/sst1/makefile
r3011 r3031 1 # $Id: makefile,v 1.2 2000-03-04 20:03:43 bird Exp $ 1 # $Id: makefile,v 1.3 2000-03-06 23:33:44 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 # Glide makefile6 # sst1\Glide makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\include 9 11 PDWIN32_LIB = ..\..\..\..\lib … … 11 13 PDWIN32_TOOLS = ..\..\..\..\tools\bin 12 14 15 16 # Have extra clean rule. 17 CLEAN2 = 1 18 19 # Compiler, tools, and interference rules. 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 21 22 23 # Object files. All objects should be prefixed with $(OBJDIR)! 24 OBJS = \ 25 $(OBJDIR)\initterm.obj 26 27 28 # Target name - name of the dll without extention and path. 13 29 TARGET = glide2x 14 30 15 !include $(PDWIN32_INCLUDE)/pdwin32.mk16 31 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) 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)\$(TARGET).dll \ 37 lib 19 38 20 OBJS = initterm.obj \21 glideres.obj \22 ..\swlibs\pcilib\pcilib.lib \23 texus\texus.lib \24 init\init.lib \25 glide\glide.lib \26 39 27 all: ..\swlibs\pcilib\pcilib.lib init\init.lib texus\texus.lib glide\glide.lib $(TARGET).dll $(TARGET).lib 40 # Lib rule - build importlibrary (and evt. other libs) 41 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 28 42 29 ..\swlibs\pcilib\pcilib.lib: 43 44 # Libs rule - Make (sub) libraries. (Not import libraries!) 45 libs: 30 46 cd ..\swlibs\pcilib 31 $(MAKE_CMD) 32 cd ..\..\sst1 33 34 init\init.lib: 35 cd init 36 $(MAKE_CMD) 47 $(MAKE_CMD) $@ 48 cd ..\..\sst1\init 49 $(MAKE_CMD) $@ 50 cd ..\glide 51 $(MAKE_CMD) $@ 52 cd ..\texus 53 $(MAKE_CMD) $@ 37 54 cd .. 38 55 39 glide\glide.lib:40 cd glide41 $(MAKE_CMD)42 cd ..43 44 texus\texus.lib:45 cd texus46 $(MAKE_CMD)47 cd ..48 56 49 57 $(TARGET).dll: $(OBJS) $(TARGET).def … … 51 59 $(PDWIN32_LIB)/kernel32.lib \ 52 60 $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) 53 $(CP) $@ $(PDWIN32_BIN)\Glide\Voodoo154 61 55 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib56 62 57 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 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 58 88 $(CP) $** $@ 59 89 60 $(TARGET).lib: $(TARGET).def61 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET).def62 $(CP) $@ $(PDWIN32_LIB)63 90 64 RCFLAGS = $(RCFLAGS) -I..\swlibs\fxmisc -Iglide 65 66 glideres.asm: glide\glide.rc 67 $(RC) $(RCFLAGS) -o glideres.asm glide\glide.rc 68 69 initterm.obj: initterm.cpp 70 91 # Dep rule - makes depenencies for C, C++ and Asm files. 71 92 dep: 72 93 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 73 94 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 74 95 cd ..\swlibs\pcilib 75 $(MAKE_CMD) dep76 cd ..\..\sst1\ glide77 $(MAKE_CMD) dep78 cd ..\ init79 $(MAKE_CMD) dep96 $(MAKE_CMD) $@ 97 cd ..\..\sst1\init 98 $(MAKE_CMD) $@ 99 cd ..\glide 100 $(MAKE_CMD) $@ 80 101 cd ..\texus 81 $(MAKE_CMD) dep102 $(MAKE_CMD) $@ 82 103 cd .. 83 104 84 !ifndef NODEP85 !include .depend86 !endif87 105 88 clean: 89 $(RM) *.obj *.pch 90 $(RM) *.map *.dll 91 $(RM) *.lib 92 $(RM) glideres.asm 106 # Includes the common rules. 107 !include $(PDWIN32_INCLUDE)/pdwin32.post 108 109 110 # Extra clean rule 111 clean2: 93 112 cd ..\swlibs\pcilib 94 113 $(MAKE_CMD) clean 95 cd ..\..\sst1\ glide114 cd ..\..\sst1\init 96 115 $(MAKE_CMD) clean 97 cd ..\ init116 cd ..\glide 98 117 $(MAKE_CMD) clean 99 118 cd ..\texus -
trunk/src/opengl/glide/sst1/texus/makefile
r2885 r3031 1 # $Id: makefile,v 1.1 2000-02-25 00:31:37 sandervl Exp $ 1 # $Id: makefile,v 1.2 2000-03-06 23:33:47 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 # Glidemakefile6 # Texus makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin11 PDWIN32_LIB = ..\..\..\..\..\lib 12 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 14 13 TARGET=TEXUS14 15 16 # Local cleanup only. 17 LOCALCLEAN = 1 18 19 20 # Compiler, tools, and interference rules. 15 21 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 22 !include ..\3dfx.mak 17 23 18 CINCLUDE=-I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 19 26 20 CFLAGS = $(CFLAGS) $(CINCLUDE) 21 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 27 CINCLUDE = -I..\incsrc;..\..\swlibs\fxmisc;..\init\initvg;..\init;..\glide;..\..\swlibs\pcilib 28 CFLAGS = $(CFLAGS) $(CINCLUDE) 29 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 22 30 23 OBJS = 3DF.OBJ CLAMP.OBJ DEQUANT.OBJ DIFFUSE.OBJ GLDUTIL.OBJ \24 MIPMAP.OBJ NCC.OBJ NCCNNET.OBJ PAL256.OBJ PPM.OBJ \25 QUANTIZE.OBJ READ.OBJ RESAMPLE.OBJ RGT.OBJ TEXUSLIB.OBJ \26 TGA.OBJ UTIL.OBJ VIEW.OBJ WRITE.OBJ27 31 28 all: $(TARGET).lib 32 # Object files. All objects should be prefixed with $(OBJDIR)! 33 OBJS = \ 34 $(OBJDIR)\3DF.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.OBJ 29 53 30 $(TARGET).lib: $(OBJS)31 $(RM) $(TARGET).lib32 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,33 54 55 # Target name - name of the library without extention and path. 56 TARGET = texus 57 58 59 # All rule - build objs and target library. 60 all: $(OBJDIR) \ 61 $(OBJDIR)\$(TARGET).lib 62 63 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. 34 75 dep: 35 76 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 36 77 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 37 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 78 ..\incsrc\*.h ..\..\swlibs\fxmisc*.h ..\init\initvg\*.h \ 79 ..\glide\*.h ..\init\*.h ..\..\swlibs\pcilib\*.h 38 80 39 !ifndef NODEP40 !include .depend41 !endif42 81 43 clean: 44 $(RM) *.obj *.lib 82 # Includes the common rules. 83 !include $(PDWIN32_INCLUDE)/pdwin32.post 45 84 -
trunk/src/opengl/glide/swlibs/pcilib/makefile
r2967 r3031 1 # $Id: makefile,v 1. 2 2000-03-02 13:22:02 sandervlExp $1 # $Id: makefile,v 1.3 2000-03-06 23:33:47 bird Exp $ 2 2 # 3 # PD-Win32 API3 # Odin32 API 4 4 # 5 # Glidemakefile5 # swlibs\pcilib makefile 6 6 # 7 7 8 # Directory macros. 8 9 PDWIN32_INCLUDE = ..\..\..\..\..\include 9 PDWIN32_LIB = ..\..\..\..\..\lib10 PDWIN32_BIN = ..\..\..\..\..\bin11 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin10 PDWIN32_LIB = ..\..\..\..\..\lib 11 PDWIN32_BIN = ..\..\..\..\..\$(OBJDIR) 12 PDWIN32_TOOLS = ..\..\..\..\..\tools\bin 12 13 13 TARGET=pcilib14 14 15 # Local cleanup only. 16 LOCALCLEAN = 1 17 18 19 # Compiler, tools, and interference rules. 15 20 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 21 !include ..\..\sst1\3dfx.mak 22 23 24 # Flag overloads and local macros. 25 CLEANEXTRAS = 17 26 18 27 CINCLUDE=-I..\..\sst1\incsrc;..\fxmisc;..\..\sst1\init\initvg;..\..\sst1\glide;..\..\sst1\texus;..\..\sst1\init;$(PDWIN32_INCLUDE) … … 21 30 CXXFLAGS = $(CXXFLAGS) $(CINCLUDE) 22 31 23 OBJS = fxos2.obj fxpci.obj sst1_pci.obj fxinfo.obj24 32 25 all: $(TARGET).lib 33 # Object files. All objects should be prefixed with $(OBJDIR)! 34 OBJS = \ 35 $(OBJDIR)\fxos2.obj \ 36 $(OBJDIR)\fxpci.obj \ 37 $(OBJDIR)\sst1_pci.obj \ 38 $(OBJDIR)\fxinfo.obj 26 39 27 $(TARGET).lib: $(OBJS)28 $(RM) $(TARGET).lib29 $(ILIB) $(ILIBFLAGS) $(TARGET).lib $(OBJS) ,,30 40 41 # Target name - name of the library without extention and path. 42 TARGET = pcilib 43 44 45 # All rule - build objs and target library. 46 all: $(OBJDIR) \ 47 $(OBJDIR)\$(TARGET).lib 48 49 50 # Create all libraries (not importlibraries) 51 libs: all 52 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. 31 61 dep: 32 62 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win $(CINCLUDE) \ 33 63 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 34 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 64 ..\..\sst1\incsrc\*.h ..\fxmisc\*.h ..\..\sst1\init\initvg\*.h \ 65 ..\..\sst1\glide*.h ..\..\sst1\texus\*.h ..\..\sst1\init\*.h 35 66 36 !ifndef NODEP37 !include .depend38 !endif39 67 40 clean: 41 $(RM) *.obj *.pch 42 $(RM) *.lib 68 # Includes the common rules. 69 !include $(PDWIN32_INCLUDE)/pdwin32.post 43 70
Note:
See TracChangeset
for help on using the changeset viewer.