Changeset 3031 for trunk/src/comctl32
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- Location:
- trunk/src/comctl32
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/makefile
r2875 r3031 1 # $Id: makefile,v 1.23 2000-02-23 17:09:44 cbratschi Exp $ 1 # $Id: makefile,v 1.24 2000-03-06 23:38:17 bird Exp $ 2 2 3 # 3 # PD-Win32 API4 # Odin32 API 4 5 # 5 6 # comctl32.dll makefile 6 7 # 7 8 9 # Directory macros. 8 10 PDWIN32_INCLUDE = ..\..\include 9 PDWIN32_LIB = ..\..\lib10 PDWIN32_BIN = ..\..\bin11 PDWIN32_TOOLS = ..\..\tools\bin11 PDWIN32_LIB = ..\..\lib 12 PDWIN32_BIN = ..\..\$(OBJDIR) 13 PDWIN32_TOOLS = ..\..\tools\bin 12 14 13 15 16 # Compiler, tools, and interference rules. 14 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 15 18 16 19 17 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) 18 C XXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)20 # Flag overloads and local macros. 21 CLEANEXTRAS = lz32rsrc.asm 19 22 23 24 # Object files. All objects should be prefixed with $(OBJDIR)! 25 OBJS = \ 26 $(OBJDIR)\comctl32.obj \ 27 $(OBJDIR)\initterm.obj \ 28 $(OBJDIR)\progress.obj \ 29 $(OBJDIR)\comctl32undoc.obj \ 30 $(OBJDIR)\imagelist.obj \ 31 $(OBJDIR)\comboex.obj \ 32 $(OBJDIR)\animate.obj \ 33 $(OBJDIR)\datetime.obj \ 34 $(OBJDIR)\flatsb.obj \ 35 $(OBJDIR)\hotkey.obj \ 36 $(OBJDIR)\monthcal.obj \ 37 $(OBJDIR)\nativefont.obj \ 38 $(OBJDIR)\pager.obj \ 39 $(OBJDIR)\tab.obj \ 40 $(OBJDIR)\status.obj \ 41 $(OBJDIR)\header.obj \ 42 $(OBJDIR)\updown.obj \ 43 $(OBJDIR)\rebar.obj \ 44 $(OBJDIR)\trackbar.obj \ 45 $(OBJDIR)\tooltips.obj \ 46 $(OBJDIR)\toolbar.obj \ 47 $(OBJDIR)\treeview.obj \ 48 $(OBJDIR)\propsheet.obj \ 49 $(OBJDIR)\listview.obj \ 50 $(OBJDIR)\draglist.obj \ 51 $(OBJDIR)\ipaddress.obj \ 52 $(OBJDIR)\ccbase.obj \ 53 $(OBJDIR)\rsrc.obj 54 55 56 # Target name - name of the dll without extention and path. 20 57 TARGET = comctl32 21 58 22 OBJS = comctl32.obj initterm.obj progress.obj comctl32undoc.obj imagelist.obj \23 comboex.obj animate.obj datetime.obj flatsb.obj hotkey.obj monthcal.obj \24 nativefont.obj pager.obj tab.obj status.obj header.obj updown.obj \25 rebar.obj trackbar.obj tooltips.obj toolbar.obj treeview.obj \26 propsheet.obj listview.obj draglist.obj ipaddress.obj resource.obj \27 ccbase.obj28 59 29 all: $(TARGET).dll $(TARGET).lib 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 30 65 31 66 32 $(TARGET).dll: $(OBJS) $(TARGET).def 33 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \ 34 $(PDWIN32_LIB)/kernel32.lib \ 35 $(PDWIN32_LIB)/gdi32.lib \ 36 $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \ 37 $(PDWIN32_LIB)/winmm.lib \ 38 OS2386.LIB $(RTLLIB_O) 39 $(CP) $@ $(PDWIN32_BIN) 67 # Lib rule - build importlibrary (and evt. other libs) 68 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 40 69 41 70 42 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 43 44 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 45 $(CP) $** $@ 46 47 $(TARGET).lib: $(TARGET)exp.def 48 $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def 49 $(CP) $@ $(PDWIN32_LIB) 50 51 $(TARGET)exp.def: $(TARGET).def 52 $(IMPDEF) $** $@ 71 # Dll rule - builds the target dll. 72 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 73 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 53 74 54 75 55 resource.asm: rsrc.rc 56 $(RC) $(RCFLAGS) -o resource.asm rsrc.rc 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)/kernel32.lib 83 $(PDWIN32_LIB)/gdi32.lib 84 $(PDWIN32_LIB)/user32.lib 85 $(PDWIN32_LIB)/odincrt.lib 86 $(PDWIN32_LIB)/winmm.lib 87 OS2386.LIB 88 $(RTLLIB_O) 89 $(TARGET).def 90 <<keep 57 91 58 92 93 # Dep rule - makes depenencies for C, C++ and Asm files. 59 94 dep: 60 95 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 61 96 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 62 97 63 !ifndef NODEP64 !include .depend65 !endif66 98 99 # Includes the common rules. 100 !include $(PDWIN32_INCLUDE)/pdwin32.post 67 101 68 clean:69 $(RM) *.obj *.lib *.dll *.map *.pch \70 $(PDWIN32_BIN)\$(TARGET).dll \71 $(PDWIN32_LIB)\$(TARGET).lib \72 $(TARGET)exp.def73
Note:
See TracChangeset
for help on using the changeset viewer.