Changeset 4624 for trunk/src/shlwapi
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/shlwapi/makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shlwapi/makefile
r4081 r4624 1 # $Id: makefile,v 1.1 8 2000-08-24 09:32:42 sandervlExp $1 # $Id: makefile,v 1.19 2000-11-19 08:49:02 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 18 19 20 # Flag overloads and local macros. 21 CLEANEXTRAS = shlwapirsrc.asm 22 23 24 # Object files. All objects should be prefixed with $(OBJDIR)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 25 19 OBJS = \ 26 20 $(OBJDIR)\shlwapi.obj \ … … 36 30 $(OBJDIR)\shlwapirsrc.obj \ 37 31 $(OBJDIR)\ordinal.obj \ 38 $( PDWIN32_LIB)/dllentry.obj32 $(DLLENTRY) 39 33 40 34 35 # 36 # Libraries. One space before the '\'. 37 # 38 LIBS = \ 39 $(PDWIN32_LIB)/kernel32.lib \ 40 $(PDWIN32_LIB)/user32.lib \ 41 $(PDWIN32_LIB)/gdi32.lib \ 42 $(PDWIN32_LIB)/crtdll.lib \ 43 $(PDWIN32_LIB)/$(ODINCRT).lib \ 44 OS2386.LIB \ 45 $(RTLLIB_O) 46 47 48 # 41 49 # Target name - name of the dll without extention and path. 50 # 42 51 TARGET = shlwapi 43 52 44 53 45 # All rule - build objs, target dll, copies dll to bin and makes libs. 46 all: $(OBJDIR) \ 47 $(OBJDIR)\$(TARGET).dll \ 48 $(PDWIN32_BIN)\$(TARGET).dll \ 49 lib 50 51 52 # Lib rule - build importlibrary (and evt. other libs) 53 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 54 55 56 # Dll rule - builds the target dll. 57 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 58 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 59 60 61 # Linker file - creates the parameter file passed on to the linker. 62 $(OBJDIR)\$(TARGET).lrf: makefile 63 @echo Creating file <<$@ 64 /OUT:$(OBJDIR)\$(TARGET).dll 65 /MAP:$(OBJDIR)\$(TARGET).map 66 $(OBJS) 67 $(PDWIN32_LIB)/kernel32.lib 68 $(PDWIN32_LIB)/user32.lib 69 $(PDWIN32_LIB)/gdi32.lib 70 $(PDWIN32_LIB)/$(ODINCRT).lib 71 $(PDWIN32_LIB)/crtdll.lib 72 OS2386.LIB 73 $(RTLLIB_O) 74 $(TARGET).def 75 <<keep 76 77 78 # Dep rule - makes depenencies for C, C++ and Asm files. 79 dep: 80 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 81 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 82 83 54 # 84 55 # Includes the common rules. 56 # 85 57 !include $(PDWIN32_INCLUDE)/pdwin32.post 86 58
Note:
See TracChangeset
for help on using the changeset viewer.
