Changeset 4625 for trunk/src/gdi32
- Timestamp:
- Nov 19, 2000, 10:34:39 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/makefile
r4596 r4625 1 # $Id: makefile,v 1.3 0 2000-11-15 13:56:45 sandervlExp $1 # $Id: makefile,v 1.31 2000-11-19 09:34:39 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 # Directory macros. 10 PDWIN32_INCLUDE = ..\..\include 11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 9 10 # 11 # Compiler, tools, and interference rules. 12 # 13 !include ../../include/pdwin32.mk 14 14 15 15 16 # Compiler, tools, and interference rules. 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 # 17 # Overrides. 18 # 19 CDEFINES = $(CDEFINES) -DINVERT -DUSING_OPEN32 18 20 19 21 20 # Flag overloads and local macros. 21 CLEANEXTRAS = gdi32rsrc.asm 22 23 #CFLAGS = $(CFLAGS) -DSTDCALL_ENUMPROCS -DINVERT 24 #CXXFLAGS = $(CXXFLAGS) -DSTDCALL_ENUMPROCS -DINVERT 25 26 CFLAGS = $(CFLAGS) -DINVERT -DUSING_OPEN32 27 CXXFLAGS = $(CXXFLAGS) -DINVERT -DUSING_OPEN32 28 29 # Object files. All objects should be prefixed with $(OBJDIR)! 22 # 23 # Object files. Prefix with OBJDIR and one space before the '\'. 24 # 30 25 OBJS = \ 31 26 $(OBJDIR)\gdi32.obj \ … … 52 47 53 48 49 # 50 # Libraries. One space before the '\'. 51 # 52 LIBS = \ 53 $(PDWIN32_LIB)/kernel32.lib \ 54 $(PDWIN32_LIB)/user32.lib \ 55 $(PDWIN32_LIB)/$(ODINCRT).lib \ 56 $(PDWIN32_LIB)/pmwinx.lib \ 57 OS2386.LIB \ 58 $(RTLLIB_O) 59 60 61 # 54 62 # Target name - name of the dll without extention and path. 63 # 55 64 TARGET = gdi32 56 65 57 66 58 # All rule - build objs, target dll, copies dll to bin and makes libs. 59 all: $(OBJDIR) \ 60 $(OBJDIR)\$(TARGET).dll \ 61 $(PDWIN32_BIN)\$(TARGET).dll \ 62 lib 63 64 65 # Lib rule - build importlibrary (and evt. other libs) 66 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 67 68 69 # Dll rule - builds the target dll. 70 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 71 -4$(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 72 73 74 # Linker file - creates the parameter file passed on to the linker. 75 $(OBJDIR)\$(TARGET).lrf: makefile 76 @echo Creating file <<$@ 77 /OUT:$(OBJDIR)\$(TARGET).dll 78 /MAP:$(OBJDIR)\$(TARGET).map 79 $(OBJS) 80 $(PDWIN32_LIB)/pmwinx.lib 81 $(PDWIN32_LIB)/kernel32.lib 82 $(PDWIN32_LIB)/user32.lib 83 $(PDWIN32_LIB)/$(ODINCRT).lib 84 OS2386.LIB 85 $(RTLLIB_O) 86 $(TARGET).def 87 <<keep 88 89 90 # Dep rule - makes depenencies for C, C++ and Asm files. 91 dep: 92 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 93 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 94 95 67 # 96 68 # Includes the common rules. 69 # 97 70 !include $(PDWIN32_INCLUDE)/pdwin32.post 98 71
Note:
See TracChangeset
for help on using the changeset viewer.