Changeset 4624 for trunk/src/opengl/glu
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- Location:
- trunk/src/opengl/glu
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.