Changeset 4624 for trunk/src/ole32
- Timestamp:
- Nov 19, 2000, 10:27:40 AM (25 years ago)
- Location:
- trunk/src/ole32
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/makefile
r4274 r4624 1 # $Id: makefile,v 1.2 6 2000-09-17 10:31:07 davidrExp $1 # $Id: makefile,v 1.27 2000-11-19 09:05:15 bird Exp $ 2 2 3 3 # 4 4 # Odin32 API 5 5 # 6 # ole32.dll makefile6 # ole32.dll and regsvr32.exe makefile 7 7 # 8 8 9 9 10 # Directory macros. 11 PDWIN32_INCLUDE = ..\..\include 12 PDWIN32_LIB = ..\..\lib 13 PDWIN32_BIN = ..\..\$(OBJDIR) 14 PDWIN32_TOOLS = ..\..\tools\bin 15 16 10 # 17 11 # Compiler, tools, and interference rules. 18 !include $(PDWIN32_INCLUDE)/pdwin32.mk 19 20 21 # Flag overloads and local macros. 22 CLEANEXTRAS = ole32rsrc.asm $(PDWIN32_BIN)\regsvr32.exe 23 24 25 # Object files. All objects should be prefixed with $(OBJDIR)! 26 OBJS = \ 27 $(OBJDIR)\ole32.obj \ 28 $(OBJDIR)\antimoniker.obj \ 29 $(OBJDIR)\bindctx.obj \ 30 $(OBJDIR)\clsid.obj \ 31 $(OBJDIR)\compositemoniker.obj \ 32 $(OBJDIR)\datacache.obj \ 33 $(OBJDIR)\defaulthandler.obj \ 34 $(OBJDIR)\filemoniker.obj \ 35 $(OBJDIR)\guid.obj \ 36 $(OBJDIR)\hglobalstream.obj \ 37 $(OBJDIR)\initialise.obj \ 38 $(OBJDIR)\itemmoniker.obj \ 39 $(OBJDIR)\iunknown.obj \ 40 $(OBJDIR)\imessagefilter.obj \ 41 $(OBJDIR)\library.obj \ 42 $(OBJDIR)\memlockbytes.obj \ 43 $(OBJDIR)\moniker.obj \ 44 $(OBJDIR)\oString.obj \ 45 $(OBJDIR)\ole2impl.obj \ 46 $(OBJDIR)\ole2.obj \ 47 $(OBJDIR)\oleobj.obj \ 48 $(OBJDIR)\oleClip.obj \ 49 $(OBJDIR)\oleDrag.obj \ 50 $(OBJDIR)\oleMenu.obj \ 51 $(OBJDIR)\stg_bigblockfile.obj \ 52 $(OBJDIR)\stg_stream.obj \ 53 $(OBJDIR)\storage.obj \ 54 $(OBJDIR)\stubs.obj \ 55 $(OBJDIR)\taskmem.obj \ 56 $(OBJDIR)\ole32rsrc.obj \ 57 $(PDWIN32_LIB)\dllentry.obj 58 59 60 # Target and original target names - names of the dll without extention and path 61 TARGET = ole32os2 62 ORGTARGET = ole32 63 64 65 # All rule - build objs, target dll, copies dll to bin and makes libs. 66 all: $(OBJDIR) \ 67 $(OBJDIR)\$(TARGET).dll \ 68 $(PDWIN32_BIN)\$(TARGET).dll \ 69 lib \ 70 $(OBJDIR)\regsvr32.exe \ 71 $(PDWIN32_BIN)\regsvr32.exe 72 73 74 # Lib rule - build importlibrary (and evt. other libs) 75 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib 76 77 78 # Dll rule - builds the target dll. 79 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def $(OBJDIR)\$(TARGET).lrf 80 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 81 82 83 # Linker file - creates the parameter file passed on to the linker. 84 $(OBJDIR)\$(TARGET).lrf: makefile 85 @echo Creating file <<$@ 86 /OUT:$(OBJDIR)\$(TARGET).dll 87 /MAP:$(OBJDIR)\$(TARGET).map 88 $(OBJS) 89 $(PDWIN32_LIB)/rpcrt4.lib 90 $(PDWIN32_LIB)/user32.lib 91 $(PDWIN32_LIB)/gdi32.lib 92 $(PDWIN32_LIB)/comctl32.lib 93 $(PDWIN32_LIB)/advapi32.lib 94 $(PDWIN32_LIB)/kernel32.lib 95 $(PDWIN32_LIB)/oleaut32.lib 96 $(PDWIN32_LIB)/$(ODINCRT).lib 97 OS2386.LIB 98 $(RTLLIB_O) 99 $(ORGTARGET).def 100 <<keep 101 12 # 13 !include ../../include/pdwin32.mk 102 14 103 15 104 16 # 105 # Regsrv32.exe rules. 17 # Generic rules which forwards to the real makefiles. 18 # The all rule has to stand alone, else make will make all the rules if it 19 # is invoked without any target. 106 20 # 107 $(OBJDIR)\regsvr32.obj: regsvr32.cpp 108 $(CC) -C $(CXXFLAGS) -Ge+ -Tm+ -Fo$@ regsvr32.cpp 21 _all: all 109 22 110 $(OBJDIR)\regsvr32.exe: $(OBJDIR)\regsvr32.obj regsvr32.def \ 111 $(PDWIN32_LIB)/user32.lib \ 112 $(PDWIN32_LIB)/kernel32.lib \ 113 $(PDWIN32_LIB)/ole32.lib 114 $(LD) $(LDFLAGS) -Ge+ -Fm -Fe$@ $** \ 115 $(PDWIN32_LIB)/$(ODINCRT).lib OS2386.LIB $(RTLLIB_O) 116 117 $(PDWIN32_BIN)\regsvr32.exe: $(OBJDIR)\regsvr32.exe 118 $(CP) $** $@ 23 all clean: # add all common rules here 24 $(MAKE_CMD) -f ole32.mak $@ 25 $(MAKE_CMD) -f regsvr32.mak $@ 119 26 120 27 121 # Dep rule - makes depenencies for C, C++ and Asm files. 122 dep: 123 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win;. \ 124 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 28 # don't have to make deps and libs more than once. 29 lib dep: 30 $(MAKE_CMD) -f ole32.mak $@ 125 31 126 32 127 # Includes the common rules. 128 !include $(PDWIN32_INCLUDE)/pdwin32.post 33 # 34 # Do not includes the common rules. 35 # 129 36
Note:
See TracChangeset
for help on using the changeset viewer.