Changeset 3031 for trunk/src/user32
- Timestamp:
- Mar 7, 2000, 12:39:20 AM (26 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 1 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/Makefile
r3019 r3031 1 # $Id: Makefile,v 1.6 7 2000-03-04 23:47:19 sandervlExp $1 # $Id: Makefile,v 1.68 2000-03-06 23:39:12 bird Exp $ 2 2 3 3 # 4 # PD-Win32 API4 # Odin32 API 5 5 # 6 6 # user32.dll makefile 7 7 # 8 8 9 # Directory macros. 9 10 PDWIN32_INCLUDE = ..\..\include 10 11 PDWIN32_LIB = ..\..\lib 11 PDWIN32_BIN = ..\..\ bin12 PDWIN32_BIN = ..\..\$(OBJDIR) 12 13 PDWIN32_TOOLS = ..\..\tools\bin 13 14 14 #SvL: Remove this when everything has been converted to the new build rules15 NEWBUILD=116 15 16 # Compiler, tools, and interference rules. 17 17 !include $(PDWIN32_INCLUDE)/pdwin32.mk 18 18 19 RESOURCES= resource20 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)21 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)22 19 23 TARGET = user32 20 # Flag overloads and local macros. 21 CLEANEXTRAS = user32rsrc.asm 24 22 23 24 # Object files. All objects should be prefixed with $(OBJDIR)! 25 25 OBJS = \ 26 26 $(OBJDIR)\user32.obj \ … … 84 84 $(OBJDIR)\dbglocal.obj \ 85 85 $(OBJDIR)\caret.obj \ 86 $(OBJDIR)\$(RESOURCES).obj \87 86 $(OBJDIR)\winproc.obj \ 88 87 $(OBJDIR)\text.obj \ … … 91 90 $(OBJDIR)\windlg.obj \ 92 91 $(OBJDIR)\win32wdesktop.obj \ 93 $(OBJDIR)\win32wbasenonclient.obj 92 $(OBJDIR)\win32wbasenonclient.obj \ 93 $(OBJDIR)\user32rsrc.obj 94 94 95 all: $(OBJDIR) $(TARGET).dll $(TARGET).lib96 95 97 $(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 98 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 99 $(CP) $@ $(PDWIN32_BIN) 96 # Target name - name of the dll without extention and path. 97 TARGET = user32 100 98 99 100 # All rule - build objs, target dll, copies dll to bin and makes libs. 101 all: $(OBJDIR) \ 102 $(OBJDIR)\$(TARGET).dll \ 103 $(PDWIN32_BIN)\$(TARGET).dll \ 104 lib 105 106 107 # Lib rule - build importlibrary (and evt. other libs) 108 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 109 110 111 # Dll rule - builds the target dll. 112 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 113 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 114 115 116 # Linker file - creates the parameter file passed on to the linker. 101 117 $(OBJDIR)\$(TARGET).lrf: makefile 102 @echo Creating file <<$(OBJDIR)\$(@B).lrf 118 @echo Creating file <<$@ 119 /OUT:$(OBJDIR)\$(TARGET).dll 120 /MAP:$(OBJDIR)\$(TARGET).map 103 121 $(OBJS) 104 122 $(PDWIN32_LIB)/pmwinx.lib … … 113 131 114 132 115 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 116 117 118 $(RESOURCES).asm: user32.rc 119 $(RC) $(RCFLAGS) -o $(RESOURCES).asm user32.rc 120 133 # Dep rule - makes depenencies for C, C++ and Asm files. 121 134 dep: 122 135 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 123 136 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 124 137 138 139 # Includes the common rules. 125 140 !include $(PDWIN32_INCLUDE)/pdwin32.post 126 141
Note:
See TracChangeset
for help on using the changeset viewer.