Changeset 4624 for trunk/src/oleaut32
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/oleaut32/makefile
r4276 r4624 1 # $Id: makefile,v 1. 19 2000-09-17 22:28:55 davidrExp $1 # $Id: makefile,v 1.20 2000-11-19 09:04:02 bird Exp $ 2 2 3 3 # 4 4 # Odin32 API 5 5 # 6 # ole32 .dll makefile6 # ole32aut.dll makefile 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 = oleaut32rsrc.asm 22 23 !ifdef NODEBUGINFO 24 CFLAGS = $(CFLAGS) -DDEFAULT_LOGGING_OFF 25 CXXFLAGS = $(CXXFLAGS) -DDEFAULT_LOGGING_OFF 26 !endif 27 28 29 # Object files. All objects should be prefixed with $(OBJDIR)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 30 19 OBJS = \ 31 20 $(OBJDIR)\oleaut32.obj \ … … 53 42 54 43 44 # 45 # Libraries. One space before the '\'. 46 # 47 LIBS = \ 48 $(PDWIN32_LIB)/advapi32.lib \ 49 $(PDWIN32_LIB)/kernel32.lib \ 50 $(PDWIN32_LIB)/user32.lib \ 51 $(PDWIN32_LIB)/ole32.lib \ 52 $(PDWIN32_LIB)/gdi32.lib \ 53 $(PDWIN32_LIB)/$(ODINCRT).lib \ 54 $(PDWIN32_LIB)/pmwinx.lib \ 55 OS2386.LIB \ 56 $(RTLLIB_O) 57 58 59 # 55 60 # Target and original target names - names of the dll without extention and path 61 # 56 62 TARGET = olautos2 57 63 ORGTARGET = oleaut32 58 64 59 65 60 # All rule - build objs, target dll, copies dll to bin and makes libs. 61 all: $(OBJDIR) \ 62 $(OBJDIR)\$(TARGET).dll \ 63 $(PDWIN32_BIN)\$(TARGET).dll \ 64 lib 65 66 67 # Lib rule - build importlibrary (and evt. other libs) 68 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib 69 70 71 # Dll rule - builds the target dll. 72 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def $(OBJDIR)\$(TARGET).lrf 73 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 74 75 76 # Linker file - creates the parameter file passed on to the linker. 77 $(OBJDIR)\$(TARGET).lrf: makefile 78 @echo Creating file <<$@ 79 /OUT:$(OBJDIR)\$(TARGET).dll 80 /MAP:$(OBJDIR)\$(TARGET).map 81 $(OBJS) 82 $(PDWIN32_LIB)/pmwinx.lib 83 $(PDWIN32_LIB)/advapi32.lib 84 $(PDWIN32_LIB)/kernel32.lib 85 $(PDWIN32_LIB)/user32.lib 86 $(PDWIN32_LIB)/ole32.lib 87 $(PDWIN32_LIB)/gdi32.lib 88 $(PDWIN32_LIB)/$(ODINCRT).lib 89 OS2386.LIB 90 $(RTLLIB_O) 91 $(ORGTARGET).def 92 <<keep 93 94 95 # Dep rule - makes depenencies for C, C++ and Asm files. 96 dep: 97 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 98 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 99 100 66 # 101 67 # Includes the common rules. 68 # 102 69 !include $(PDWIN32_INCLUDE)/pdwin32.post 103 70
Note:
See TracChangeset
for help on using the changeset viewer.