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