Changeset 4620
- Timestamp:
- Nov 19, 2000, 9:35:50 AM (24 years ago)
- Location:
- trunk
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/include/pdwin32.tools ¶
r4334 r4620 1 # $Id: pdwin32.tools,v 1.1 4 2000-09-28 03:16:23bird Exp $1 # $Id: pdwin32.tools,v 1.15 2000-11-19 08:31:20 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 34 34 MAPSYM = mapsym 35 35 EXISTS = $(PDWIN32_TOOLS)\Exists.cmd 36 DODIRS = $(PDWIN32_TOOLS)\DoDirs.cmd 36 37 DOWITHDIRS = $(PDWIN32_TOOLS)\dowithdirs.cmd 37 38 IMPDEF = $(PDWIN32_TOOLS)\impdef.exe -
TabularUnified trunk/include/pdwin32.vac3.dbg ¶
r4477 r4620 1 # $Id: pdwin32.vac3.dbg,v 1.3 0 2000-10-10 18:01:45 sandervlExp $1 # $Id: pdwin32.vac3.dbg,v 1.31 2000-11-19 08:31:20 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 32 32 # Tool Flags 33 33 # 34 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 35 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 36 CXXFLAGS_ODINCRT = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ 37 CFLAGS_WIN32APP = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 38 CXXFLAGS_WIN32APP= -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 34 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 35 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ 36 CXXFLAGS_ODINCRT = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ 37 CFLAGS_WIN32APP = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 38 CXXFLAGS_WIN32APP= -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 39 40 CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) 41 CDEFINES = -DDEBUG -D__WIN32OS2__ -D__i386__ -D__WINE__ -DTCPV40HDRS -DCOMCTL32UNDOC 42 CDEFINES_ODINCRT = -DDEBUG -D__WIN32OS2__ -D__i386__ -D__WINE__ 43 CDEFINES_WIN32APP= -DDEBUG -D__WIN32OS2__ -D__i386__ 39 44 40 45 !ifdef DEBUGALL … … 50 55 IMPLIBFLAGS = /nologo 51 56 ILIBFLAGS = /quiet /nologo 52 RCFLAGS = -s -I. -I$(CPPMAIN)\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win57 RCFLAGS = -s -I. -I$(CPPMAIN)\include 53 58 OS2RCFLAGS = -r -n 54 59 OS2RCLFLAGS = -x2 -n -
TabularUnified trunk/include/pdwin32.vac3.post ¶
r4547 r4620 1 # $Id: pdwin32.vac3.post,v 1. 3 2000-11-01 01:34:19bird Exp $1 # $Id: pdwin32.vac3.post,v 1.4 2000-11-19 08:31:20 bird Exp $ 2 2 # 3 3 # Odin32 API … … 9 9 # Define NOTEXPDEF to remove the $(TARGET).lib and $(TARGET)exp.def rules. 10 10 # Define EXETARGET to make an executable. (This also applies to pdwin32.mk.) 11 # Define LIBTARGET to make an internal library. 11 12 # Define LOCALCLEAN if only the local directory is to be clean. 12 13 # Define CLEAN2 to invoke a second clean rule named 'clean2'. 13 14 # Define NOCLEAN to exclude the clean rule. (Remember to make your own!) 14 15 # 15 # New style: ( define NEW_STYLE)16 # New style: (!defined OLD_STYLE) 16 17 # Define NO_ALL_RULE to not make default all rule. 17 18 # Define NO_LIB_RULE to not make default lib rule. 18 # Define NO_DLL_RULE to not make default dll rule. 19 # Define NO_EXE_RULE to not make default exe rule. 19 # Define NO_MAIN_RULE to not make default main target rule. 20 20 # Define NO_LNKFILE_RULE to not make default link-file rule. 21 21 # Define NO_DEP_RULE to not make dependencies rule. 22 22 # Define NO_CLEAN_RULE to not make clean rule (same as NOCLEAN - use this!). 23 # Define NO_INTERNAL_LIBS to not include libs rule for subdirectories. 24 # Define NO_MAIN_BIN_COPY to not copy the target and sym file to the main 25 # binary directory. It is only copied to the compiler specific directory. 26 # Main bin is /bin. Compiler specific bin is /bin/debug, /bin/debug.vac36, etc. 27 # Define ADDITIONAL_DEP to add dependencies rules. 28 # 29 # Define MAKEFILE if the name of the makefile isn't "makefile". 30 # Define DEFFILE to specify another file than $(TARGET).def or $(ORGTARGET).def. 31 # Define this if your .exe file have a .def file. 32 # Define OS2RES as the names of the OS/2 .res file to create and link 33 # with the target .dll or .exe. 34 # Define LIBS as a list of all the libraries to link 35 # with the target .dll or .exe. 36 # Define SUBDIRS when you have subdirectories which should be made. 37 # dep and lib supports this fully. The rule libs are added, since we assume you 38 # makes internal libraries in the subdirectories. The libs rule is one of the 39 # dependencies of the main target. 23 40 # 24 41 25 42 !ifndef TARGET_EXTENSION 26 ! ifdef EXETARGET43 ! ifdef EXETARGET 27 44 TARGET_EXTENSION=exe 28 !else 45 ! else 46 ! ifdef LIBTARGET 47 TARGET_EXTENSION=lib 48 ! else 29 49 TARGET_EXTENSION=dll 30 !endif 31 !endif 32 33 !ifdef NEW_STYLE 50 ! endif 51 ! endif 52 !endif 53 54 55 !ifndef OLD_STYLE 56 57 # Set default MAKEFILE if needed 58 !ifndef MAKEFILE 59 MAKEFILE = makefile 60 !endif 61 62 # Set default ORGTARGET if needed. 63 !ifndef ORGTARGET 64 ORGTARGET=$(TARGET) 65 !endif 66 67 # Set default DEFFILE if needed. (Currently for dlls only.) 68 !ifndef DEFFILE 69 ! ifndef EXETARGET 70 DEFFILE = $(ORGTARGET).def 71 ! endif 72 !endif 73 74 # Set INTLIBS (interal) if SUBDIRS is defined and NO_INTERNAL_LIBS is undefined. 75 !ifdef SUBDIRS 76 ! ifndef NO_INTERNAL_LIBS 77 ! ifndef LIBTARGET 78 INTLIBS = libs 79 ! else 80 INTLIBS = libs_sub 81 ! endif 82 ! endif 83 !endif 84 85 86 !ifndef LIBTARGET 34 87 !ifndef EXETARGET 35 36 37 # All rule - build objs, target dll, copies target to bin and makes libs. 88 ############################################################################### 89 # DLL Target 90 ############################################################################### 91 92 # 93 # Dll: All rule - build objs, target dll, copies target to bin and makes libs. 94 # 38 95 !ifndef NO_ALL_RULE 39 96 all: $(OBJDIR) \ 97 $(INTLIBS) \ 40 98 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) \ 99 $(OBJDIR)\$(TARGET).sym \ 41 100 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) \ 101 $(PDWIN32_BIN)\$(TARGET).sym \ 42 102 lib 43 103 !endif 44 104 45 105 46 # Lib rule - build importlibrary (and evt. other libs) 106 # 107 # Dll: Lib rule - build importlibrary (and evt. other libs) 108 # 47 109 !ifndef NO_LIB_RULE 48 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 49 !endif 50 51 52 # Dll rule - builds the target dll. 53 !ifndef NO_DLL_RULE 54 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 110 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib 111 !endif 112 113 114 # 115 # Dll: Main target rule - builds the target dll. 116 # 117 !ifndef NO_MAIN_RULE 118 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(OS2RES) $(DEFFILE) $(OBJDIR)\$(TARGET).lrf 55 119 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 56 !endif 57 58 59 # Linker file - creates the parameter file passed on to the linker. 120 !ifdef OS2RES 121 $(OS2RC) $(OS2RCLFLAGS) $(OS2RES) $@ 122 !endif 123 !endif 124 125 126 # 127 # Dll: Linker file - creates the parameter file passed on to the linker. 128 # 60 129 !ifndef NO_LNKFILE_RULE 61 $(OBJDIR)\$(TARGET).lrf: makefile130 $(OBJDIR)\$(TARGET).lrf: $(MAKEFILE) 62 131 @echo Creating file <<$@ 63 132 /OUT:$(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) … … 65 134 $(OBJS) 66 135 $(LIBS) 67 $( TARGET).def136 $(DEFFILE) 68 137 <<keep 69 138 !endif 70 139 71 140 72 # Dep rule - makes depenencies for C, C++ and Asm files.73 !ifndef NO_DEP_RULE74 dep:75 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \76 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h77 !endif78 79 141 !else # !ifndef EXETARGET 80 81 82 # All rule - build objs, target exe, copies target to bin. 142 ############################################################################### 143 # EXE Target 144 ############################################################################### 145 146 # 147 # Exe: All rule - build objs, target exe, copies target to bin. 148 # 83 149 !ifndef NO_ALL_RULE 84 150 all: $(OBJDIR) \ 151 $(INTLIBS) \ 85 152 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) \ 86 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) 87 !endif 88 89 90 # Lib rule - dummy rule 153 $(OBJDIR)\$(TARGET).sym \ 154 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) \ 155 $(PDWIN32_BIN)\$(TARGET).sym 156 !endif 157 158 159 # 160 # Exe: Lib rule - dummy rule 161 # 91 162 !ifndef NO_LIB_RULE 92 163 lib: … … 94 165 95 166 96 # Exe rule - builds the target exe. 97 !ifndef NO_EXE_RULE 98 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 167 # 168 # Exe: Main target rule - builds the target exe. 169 # 170 !ifndef NO_MAIN_RULE 171 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(OS2RES) $(DEFFILE) $(OBJDIR)\$(TARGET).lrf 99 172 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 100 !endif 101 102 103 # Linker file - creates the parameter file passed on to the linker. 173 !ifdef OS2RES 174 $(OS2RC) $(OS2RCLFLAGS) $(OS2RES) $@ 175 !endif 176 !endif 177 178 179 # 180 # Exe: Linker file - creates the parameter file passed on to the linker. 181 # 104 182 !ifndef NO_LNKFILE_RULE 105 $(OBJDIR)\$(TARGET).lrf: makefile183 $(OBJDIR)\$(TARGET).lrf: $(MAKEFILE) 106 184 @echo Creating file <<$@ 107 185 /OUT:$(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 108 186 /MAP:$(OBJDIR)\$(TARGET).map 109 187 $(OBJS) 110 $(LIBS) 111 $(TARGET).def 188 $(LIBS) $(DEFFILE) 112 189 <<keep 113 190 !endif 114 191 115 192 116 # Dep rule - makes depenencies for C, C++ and Asm files. 117 !ifndef NO_DE_PRULE 118 dep: 119 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 120 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 121 !endif 122 123 124 !endif # EXETARGET 125 !endif # NEW_STYLE 126 127 128 # Copy library rule. 129 !ifndef ORGTARGET 130 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 131 !else 193 !endif # !ifndef EXETARGET !else 194 !else # !ifndef LIBTARGET 195 ############################################################################### 196 # LIB target (internal object library) 197 ############################################################################### 198 199 # 200 # Localcleanup is default for internal object libraries. 201 # 202 LOCALCLEAN = 1 203 204 205 # 206 # Lib: All rule - build objs and target library. 207 # 208 !ifndef NO_ALL_RULE 209 all: $(OBJDIR) \ 210 $(INTLIBS) \ 211 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 212 !endif 213 214 215 # 216 # Lib: Lib rule - dummy rule 217 # 218 !ifndef NO_LIB_RULE 219 lib: 220 !endif 221 222 223 # 224 # Lib: Internal library rule. Same as the all rule. 225 # 226 !ifndef NO_INTERNAL_LIBS 227 libs: all 228 !endif 229 230 231 # 232 # Lib: Main target rule - builds the target internal library. 233 # 234 !ifndef NO_MAIN_RULE 235 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) 236 $(RM) $@ 237 $(ILIB) $(ILIBFLAGS) $@ @<< 238 $(OBJS: = &^ 239 ) 240 $(OBJDIR)\$(@B).lst 241 << 242 !endif 243 244 245 !endif # !ifndef LIBTARGET 246 247 248 ############################################################################### 249 # Common rules for both exe and dll, new style 250 ############################################################################### 251 252 # 253 # Common (new): Dep rule - makes depenencies for C, C++ and Asm files. 254 # 255 !ifndef NO_DEP_RULE 256 dep: dep_internal $(ADDITIONAL_DEP) 257 dep_internal: 258 $(DEPEND) $(CINCLUDES) *.c *.cpp *.h *.asm *.inc \ 259 *.rc *.dlg $(PDWIN32_INCLUDE)\*.h -robj *.orc 260 !ifdef SUBDIRS 261 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) dep 262 !endif 263 !endif 264 265 266 # 267 # Common: Internal library rule. Make libraries in subdirectories. 268 # For makefiles with subdirectories is common to have make libraries in subdirectories. 269 # 270 !ifndef NO_INTERNAL_LIBS 271 !ifdef INTLIBS 272 $(INTLIBS): 273 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) libs 274 !endif 275 !endif 276 277 !endif # OLD_STYLE 278 279 ############################################################################### 280 # Common rules for both exe and dll, old and new style. 281 ############################################################################### 282 283 # 284 # Common: Copy library rule. 285 # 132 286 $(PDWIN32_LIB)\$(ORGTARGET).lib: $(ORGTARGET).lib 133 !endif134 287 $(CP) $** $@ 135 288 136 289 137 # Copy dll rule. 290 # 291 # Common: Copy dll/exe rule. 292 # 138 293 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION): $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 294 $(CP) $** $@ 295 !ifndef NO_MAIN_BIN_COPY 296 -$(CP) $** $(@D)..\..\$(@F) 297 !endif 298 299 300 # 301 # Common: Copy sym rule. 302 # 303 $(PDWIN32_BIN)\$(TARGET).sym: $(OBJDIR)\$(TARGET).sym 304 $(CP) $** $@ 305 !ifndef NO_MAIN_BIN_COPY 306 -$(CP) $** $(@D)..\..\$(@F) 307 !endif 308 309 310 # 311 # Common: Make sym file rule. 312 # 313 $(OBJDIR)\$(TARGET).sym: $(OBJDIR)\$(TARGET).map 139 314 cd $(OBJDIR) 140 315 $(MAPSYM) $(TARGET).map 141 316 cd ..\.. 142 $(CP) $(OBJDIR)\$(TARGET).sym $(PDWIN32_BIN) 143 $(CP) $** $@ 144 -$(CP) $** $(@D)..\..\$(@F) 145 -$(CP) $(OBJDIR)\$(TARGET).sym $(@D)..\.. 146 147 317 318 319 # 320 # Common: Make library from the <>exp.def or the <>.def file. 321 # 148 322 !ifndef NOTEXPDEF 149 # make library from the <>exp.def file. 150 !ifndef ORGTARGET 151 $(TARGET).LIB: $(TARGET)exp.def 323 $(ORGTARGET).lib: $(ORGTARGET)exp.def 324 $(IMPLIB) $(IMPLIBFLAGS) $@ $** 152 325 !else 153 $(ORGTARGET).LIB: $(ORGTARGET)exp.def 154 !endif 326 $(TARGET).lib: $(DEFFILE) 155 327 $(IMPLIB) $(IMPLIBFLAGS) $@ $** 156 $(CP) $@ $(PDWIN32_LIB) 157 158 159 # make the <>exp.def file. 160 !ifndef ORGTARGET 161 $(TARGET)exp.def: $(TARGET).def 162 !else 163 $(ORGTARGET)exp.def: $(ORGTARGET).def 164 !endif 328 !endif 329 330 331 # 332 # Common: Make the <>exp.def file. 333 # 334 !ifndef NOTEXPDEF 335 $(ORGTARGET)exp.def: $(DEFFILE) 165 336 $(IMPDEF) $** $@ 166 337 !endif 167 338 168 339 169 # Create the object directory. 340 # 341 # Common: Create the object directory. 342 # 170 343 $(OBJDIR): 171 344 @if not exist bin $(MKDIR) bin … … 174 347 175 348 # 176 # General clean rule. To clean more add it to CLEANEXTRAS!349 # Common: General clean rule. To clean more add it to CLEANEXTRAS! 177 350 # 178 351 !ifndef NOCLEAN … … 182 355 clean: clean2 183 356 !endif 184 $(RM) *. LIB*.res *.map *.pch \357 $(RM) *.lib *.res *.map *.pch \ 185 358 !if "$(OBJDIR)" != "" 186 359 $(OBJDIR)\* \ 187 360 !endif 188 361 !ifndef LOCALCLEAN 189 $(PDWIN32_LIB)\$( TARGET).LIB\190 $( TARGET)exp.def \362 $(PDWIN32_LIB)\$(ORGTARGET).lib \ 363 $(ORGTARGET)exp.def \ 191 364 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) *.$(TARGET_EXTENSION) \ 192 365 $(PDWIN32_BIN)\$(TARGET).sym *.sym \ … … 196 369 !endif 197 370 !endif 198 199 200 # 201 # Include the .depend file. 371 !ifdef SUBDIRS 372 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) clean 373 !endif 374 375 376 # 377 # Common: Include the .depend file. 202 378 # If the depend file don't exists we'll complain about it. 203 379 # … … 210 386 ! endif 211 387 !endif 388 -
TabularUnified trunk/include/pdwin32.vac3.rel ¶
r4334 r4620 1 # $Id: pdwin32.vac3.rel,v 1.2 8 2000-09-28 03:16:24bird Exp $1 # $Id: pdwin32.vac3.rel,v 1.29 2000-11-19 08:31:20 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 32 32 # Tool Flags 33 33 # 34 CFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 35 CXXFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 36 CXXFLAGS_ODINCRT = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ 37 CFLAGS_WIN32APP = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 38 CXXFLAGS_WIN32APP= -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 34 CFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 35 CXXFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ 36 CXXFLAGS_ODINCRT = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ 37 CFLAGS_WIN32APP = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 38 CXXFLAGS_WIN32APP= -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 39 40 CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) 41 CDEFINES = -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 42 CDEFINES_ODINCRT = -D__WIN32OS2__ -D__WINE__ -D__i386__ 43 CDEFINES_WIN32APP= -D__WIN32OS2__ -D__i386__ 44 39 45 ASFLAGS = -Mb -Sc -Sv:ALP 40 46 LDFLAGS = -Q -Si -G5 -O+ -Ge- -Ss+ -W3 -Gm+ /B"/noe /map /packcode /packdata /exepack:2 /nod" … … 44 50 IMPLIBFLAGS = /nologo 45 51 ILIBFLAGS = /quiet /nologo 46 RCFLAGS = -s -I. -I$(CPPMAIN)\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win52 RCFLAGS = -s -I. -I$(CPPMAIN)\include 47 53 OS2RCFLAGS = -r -n 48 54 OS2RCLFLAGS = -x2 -n -
TabularUnified trunk/include/pdwin32.vac3.tools ¶
r4334 r4620 1 # $Id: pdwin32.vac3.tools,v 1. 1 2000-09-28 03:16:24bird Exp $1 # $Id: pdwin32.vac3.tools,v 1.2 2000-11-19 08:31:21 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 30 30 31 31 .c{$(OBJDIR)}.obj: 32 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj$<32 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -Fo$(OBJDIR)\$(@B).obj -c $< 33 33 34 34 .cpp{$(OBJDIR)}.obj: 35 $(CXX) $(CXXFLAGS) -Fo$(OBJDIR)\$(@B).obj -c $<35 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -Fo$(OBJDIR)\$(@B).obj -c $< 36 36 37 37 .asm{$(OBJDIR)}.obj: … … 39 39 40 40 .orc{$(OBJDIR)}.orc_asm: 41 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<41 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$(@B).orc_asm $< 42 42 43 43 .orc{$(OBJDIR)}.obj: 44 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<44 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$(@B).orc_asm $< 45 45 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$(@B).orc_asm 46 46 47 47 .rc{$(OBJDIR)}.res: 48 $(OS2RC) $(OS2RCFLAGS) $ < $@48 $(OS2RC) $(OS2RCFLAGS) $(CINCLUDES:-I=-i ) $< $@ 49 49 50 50 … … 53 53 # 54 54 .c.obj: 55 $(CC) $(CFLAGS) -c $<55 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -c $< 56 56 57 57 .cpp.obj: 58 $(CXX) $(CXXFLAGS) -c $<58 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -c $< 59 59 60 60 .asm.obj: … … 62 62 63 63 .orc.asm: 64 $(RC) $(RCFLAGS) -o $@ $<64 $(RC) $(RCFLAGS) $(CINCLUDES) -o $@ $< 65 65 66 66 .rc.res: -
TabularUnified trunk/include/pdwin32.vac36.dbg ¶
r4477 r4620 1 # $Id: pdwin32.vac36.dbg,v 1.2 1 2000-10-10 18:01:46 sandervlExp $1 # $Id: pdwin32.vac36.dbg,v 1.22 2000-11-19 08:31:21 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 33 33 # Tool Flags 34 34 # 35 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 36 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 37 CXXFLAGS_ODINCRT = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -DDEBUG -D__i386__ 38 CFLAGS_WIN32APP = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 39 CXXFLAGS_WIN32APP= -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 35 CFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 36 CXXFLAGS = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ 37 CXXFLAGS_ODINCRT = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ 38 CFLAGS_WIN32APP = -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 39 CXXFLAGS_WIN32APP= -Q -Si -Ti -Tm+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 40 41 CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) 42 CDEFINES = -DDEBUG -D__WIN32OS2__ -D__i386__ -D__WINE__ -DTCPV40HDRS -DCOMCTL32UNDOC 43 CDEFINES_ODINCRT = -DDEBUG -D__WIN32OS2__ -D__i386__ -D__WINE__ 44 CDEFINES_WIN32APP= -DDEBUG -D__WIN32OS2__ -D__i386__ 40 45 41 46 !ifdef DEBUGALL … … 51 56 IMPLIBFLAGS = /nologo 52 57 ILIBFLAGS = /nofree /quiet /nologo 53 RCFLAGS = -s -I. -I$(CPPMAIN)\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win58 RCFLAGS = -s -I. -I$(CPPMAIN)\include 54 59 OS2RCFLAGS = -r -n 55 60 OS2RCLFLAGS = -x2 -n -
TabularUnified trunk/include/pdwin32.vac36.post ¶
r4547 r4620 1 # $Id: pdwin32.vac36.post,v 1. 3 2000-11-01 01:34:19bird Exp $1 # $Id: pdwin32.vac36.post,v 1.4 2000-11-19 08:31:21 bird Exp $ 2 2 # 3 3 # Odin32 API … … 9 9 # Define NOTEXPDEF to remove the $(TARGET).lib and $(TARGET)exp.def rules. 10 10 # Define EXETARGET to make an executable. (This also applies to pdwin32.mk.) 11 # Define LIBTARGET to make an internal library. 11 12 # Define LOCALCLEAN if only the local directory is to be clean. 12 13 # Define CLEAN2 to invoke a second clean rule named 'clean2'. 13 14 # Define NOCLEAN to exclude the clean rule. (Remember to make your own!) 14 15 # 15 # New style: ( define NEW_STYLE)16 # New style: (!defined OLD_STYLE) 16 17 # Define NO_ALL_RULE to not make default all rule. 17 18 # Define NO_LIB_RULE to not make default lib rule. 18 # Define NO_DLL_RULE to not make default dll rule. 19 # Define NO_EXE_RULE to not make default exe rule. 19 # Define NO_MAIN_RULE to not make default main target rule. 20 20 # Define NO_LNKFILE_RULE to not make default link-file rule. 21 21 # Define NO_DEP_RULE to not make dependencies rule. 22 22 # Define NO_CLEAN_RULE to not make clean rule (same as NOCLEAN - use this!). 23 # Define NO_INTERNAL_LIBS to not include libs rule for subdirectories. 24 # Define NO_MAIN_BIN_COPY to not copy the target and sym file to the main 25 # binary directory. It is only copied to the compiler specific directory. 26 # Main bin is /bin. Compiler specific bin is /bin/debug, /bin/debug.vac36, etc. 27 # Define ADDITIONAL_DEP to add dependencies rules. 28 # 29 # Define MAKEFILE if the name of the makefile isn't "makefile". 30 # Define DEFFILE to specify another file than $(TARGET).def or $(ORGTARGET).def. 31 # Define this if your .exe file have a .def file. 32 # Define OS2RES as the names of the OS/2 .res file to create and link 33 # with the target .dll or .exe. 34 # Define LIBS as a list of all the libraries to link 35 # with the target .dll or .exe. 36 # Define SUBDIRS when you have subdirectories which should be made. 37 # dep and lib supports this fully. The rule libs are added, since we assume you 38 # makes internal libraries in the subdirectories. The libs rule is one of the 39 # dependencies of the main target. 23 40 # 24 41 25 42 !ifndef TARGET_EXTENSION 26 ! ifdef EXETARGET43 ! ifdef EXETARGET 27 44 TARGET_EXTENSION=exe 28 !else 45 ! else 46 ! ifdef LIBTARGET 47 TARGET_EXTENSION=lib 48 ! else 29 49 TARGET_EXTENSION=dll 30 !endif 31 !endif 32 33 !ifdef NEW_STYLE 50 ! endif 51 ! endif 52 !endif 53 54 55 !ifndef OLD_STYLE 56 57 # Set default MAKEFILE if needed 58 !ifndef MAKEFILE 59 MAKEFILE = makefile 60 !endif 61 62 # Set default ORGTARGET if needed. 63 !ifndef ORGTARGET 64 ORGTARGET=$(TARGET) 65 !endif 66 67 # Set default DEFFILE if needed. (Currently for dlls only.) 68 !ifndef DEFFILE 69 ! ifndef EXETARGET 70 DEFFILE = $(ORGTARGET).def 71 ! endif 72 !endif 73 74 # Set INTLIBS (interal) if SUBDIRS is defined and NO_INTERNAL_LIBS is undefined. 75 !ifdef SUBDIRS 76 ! ifndef NO_INTERNAL_LIBS 77 ! ifndef LIBTARGET 78 INTLIBS = libs 79 ! else 80 INTLIBS = libs_sub 81 ! endif 82 ! endif 83 !endif 84 85 86 !ifndef LIBTARGET 34 87 !ifndef EXETARGET 35 36 37 # All rule - build objs, target dll, copies target to bin and makes libs. 88 ############################################################################### 89 # DLL Target 90 ############################################################################### 91 92 # 93 # Dll: All rule - build objs, target dll, copies target to bin and makes libs. 94 # 38 95 !ifndef NO_ALL_RULE 39 96 all: $(OBJDIR) \ 97 $(INTLIBS) \ 40 98 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) \ 99 $(OBJDIR)\$(TARGET).sym \ 41 100 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) \ 101 $(PDWIN32_BIN)\$(TARGET).sym \ 42 102 lib 43 103 !endif 44 104 45 105 46 # Lib rule - build importlibrary (and evt. other libs) 106 # 107 # Dll: Lib rule - build importlibrary (and evt. other libs) 108 # 47 109 !ifndef NO_LIB_RULE 48 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 49 !endif 50 51 52 # Dll rule - builds the target dll. 53 !ifndef NO_DLL_RULE 54 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 110 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib 111 !endif 112 113 114 # 115 # Dll: Main target rule - builds the target dll. 116 # 117 !ifndef NO_MAIN_RULE 118 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(OS2RES) $(DEFFILE) $(OBJDIR)\$(TARGET).lrf 55 119 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 56 !endif 57 58 59 # Linker file - creates the parameter file passed on to the linker. 120 !ifdef OS2RES 121 $(OS2RC) $(OS2RCLFLAGS) $(OS2RES) $@ 122 !endif 123 !endif 124 125 126 # 127 # Dll: Linker file - creates the parameter file passed on to the linker. 128 # 60 129 !ifndef NO_LNKFILE_RULE 61 $(OBJDIR)\$(TARGET).lrf: makefile130 $(OBJDIR)\$(TARGET).lrf: $(MAKEFILE) 62 131 @echo Creating file <<$@ 63 132 /OUT:$(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) … … 65 134 $(OBJS) 66 135 $(LIBS) 67 $( TARGET).def136 $(DEFFILE) 68 137 <<keep 69 138 !endif 70 139 71 140 72 # Dep rule - makes depenencies for C, C++ and Asm files.73 !ifndef NO_DEP_RULE74 dep:75 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \76 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h77 !endif78 79 141 !else # !ifndef EXETARGET 80 81 82 # All rule - build objs, target exe, copies target to bin. 142 ############################################################################### 143 # EXE Target 144 ############################################################################### 145 146 # 147 # Exe: All rule - build objs, target exe, copies target to bin. 148 # 83 149 !ifndef NO_ALL_RULE 84 150 all: $(OBJDIR) \ 151 $(INTLIBS) \ 85 152 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) \ 86 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) 87 !endif 88 89 90 # Lib rule - dummy rule 153 $(OBJDIR)\$(TARGET).sym \ 154 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) \ 155 $(PDWIN32_BIN)\$(TARGET).sym 156 !endif 157 158 159 # 160 # Exe: Lib rule - dummy rule 161 # 91 162 !ifndef NO_LIB_RULE 92 163 lib: … … 94 165 95 166 96 # Exe rule - builds the target exe. 97 !ifndef NO_EXE_RULE 98 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 167 # 168 # Exe: Main target rule - builds the target exe. 169 # 170 !ifndef NO_MAIN_RULE 171 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) $(OS2RES) $(DEFFILE) $(OBJDIR)\$(TARGET).lrf 99 172 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 100 !endif 101 102 103 # Linker file - creates the parameter file passed on to the linker. 173 !ifdef OS2RES 174 $(OS2RC) $(OS2RCLFLAGS) $(OS2RES) $@ 175 !endif 176 !endif 177 178 179 # 180 # Exe: Linker file - creates the parameter file passed on to the linker. 181 # 104 182 !ifndef NO_LNKFILE_RULE 105 $(OBJDIR)\$(TARGET).lrf: makefile183 $(OBJDIR)\$(TARGET).lrf: $(MAKEFILE) 106 184 @echo Creating file <<$@ 107 185 /OUT:$(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 108 186 /MAP:$(OBJDIR)\$(TARGET).map 109 187 $(OBJS) 110 $(LIBS) 111 $(TARGET).def 188 $(LIBS) $(DEFFILE) 112 189 <<keep 113 190 !endif 114 191 115 192 116 # Dep rule - makes depenencies for C, C++ and Asm files. 117 !ifndef NO_DE_PRULE 118 dep: 119 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 120 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 121 !endif 122 123 124 !endif # EXETARGET 125 !endif # NEW_STYLE 126 127 128 # Copy library rule. 129 !ifndef ORGTARGET 130 $(PDWIN32_LIB)\$(TARGET).lib: $(TARGET).lib 131 !else 193 !endif # !ifndef EXETARGET !else 194 !else # !ifndef LIBTARGET 195 ############################################################################### 196 # LIB target (internal object library) 197 ############################################################################### 198 199 # 200 # Localcleanup is default for internal object libraries. 201 # 202 LOCALCLEAN = 1 203 204 205 # 206 # Lib: All rule - build objs and target library. 207 # 208 !ifndef NO_ALL_RULE 209 all: $(OBJDIR) \ 210 $(INTLIBS) \ 211 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 212 !endif 213 214 215 # 216 # Lib: Lib rule - dummy rule 217 # 218 !ifndef NO_LIB_RULE 219 lib: 220 !endif 221 222 223 # 224 # Lib: Internal library rule. Same as the all rule. 225 # 226 !ifndef NO_INTERNAL_LIBS 227 libs: all 228 !endif 229 230 231 # 232 # Lib: Main target rule - builds the target internal library. 233 # 234 !ifndef NO_MAIN_RULE 235 $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION): $(OBJS) 236 $(RM) $@ 237 $(ILIB) $(ILIBFLAGS) $@ @<< 238 $(OBJS: = &^ 239 ) 240 $(OBJDIR)\$(@B).lst 241 << 242 !endif 243 244 245 !endif # !ifndef LIBTARGET 246 247 248 ############################################################################### 249 # Common rules for both exe and dll, new style 250 ############################################################################### 251 252 # 253 # Common (new): Dep rule - makes depenencies for C, C++ and Asm files. 254 # 255 !ifndef NO_DEP_RULE 256 dep: dep_internal $(ADDITIONAL_DEP) 257 dep_internal: 258 $(DEPEND) $(CINCLUDES) *.c *.cpp *.h *.asm *.inc \ 259 *.rc *.dlg $(PDWIN32_INCLUDE)\*.h -robj *.orc 260 !ifdef SUBDIRS 261 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) dep 262 !endif 263 !endif 264 265 266 # 267 # Common: Internal library rule. Make libraries in subdirectories. 268 # For makefiles with subdirectories is common to have make libraries in subdirectories. 269 # 270 !ifndef NO_INTERNAL_LIBS 271 !ifdef INTLIBS 272 $(INTLIBS): 273 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) libs 274 !endif 275 !endif 276 277 !endif # OLD_STYLE 278 279 ############################################################################### 280 # Common rules for both exe and dll, old and new style. 281 ############################################################################### 282 283 # 284 # Common: Copy library rule. 285 # 132 286 $(PDWIN32_LIB)\$(ORGTARGET).lib: $(ORGTARGET).lib 133 !endif134 287 $(CP) $** $@ 135 288 136 289 137 # Copy dll rule. 138 !ifndef EXETARGET 290 # 291 # Common: Copy dll/exe rule. 292 # 139 293 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION): $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 140 !else 141 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION): $(OBJDIR)\$(TARGET).$(TARGET_EXTENSION) 142 !endif 294 $(CP) $** $@ 295 !ifndef NO_MAIN_BIN_COPY 296 -$(CP) $** $(@D)..\..\$(@F) 297 !endif 298 299 300 # 301 # Common: Copy sym rule. 302 # 303 $(PDWIN32_BIN)\$(TARGET).sym: $(OBJDIR)\$(TARGET).sym 304 $(CP) $** $@ 305 !ifndef NO_MAIN_BIN_COPY 306 -$(CP) $** $(@D)..\..\$(@F) 307 !endif 308 309 310 # 311 # Common: Make sym file rule. 312 # 313 $(OBJDIR)\$(TARGET).sym: $(OBJDIR)\$(TARGET).map 143 314 cd $(OBJDIR) 144 315 $(MAPSYM) $(TARGET).map 145 316 cd ..\.. 146 $(CP) $(OBJDIR)\$(TARGET).sym $(PDWIN32_BIN) 147 $(CP) $** $@ 148 -$(CP) $** $(@D)..\..\$(@F) 149 -$(CP) $(OBJDIR)\$(TARGET).sym $(@D)..\.. 150 151 317 318 319 # 320 # Common: Make library from the <>exp.def or the <>.def file. 321 # 152 322 !ifndef NOTEXPDEF 153 # make library from the <>exp.def file. 154 !ifndef ORGTARGET 155 $(TARGET).LIB: $(TARGET)exp.def 323 $(ORGTARGET).lib: $(ORGTARGET)exp.def 324 $(IMPLIB) $(IMPLIBFLAGS) $@ $** 156 325 !else 157 $(ORGTARGET).LIB: $(ORGTARGET)exp.def 158 !endif 326 $(TARGET).lib: $(DEFFILE) 159 327 $(IMPLIB) $(IMPLIBFLAGS) $@ $** 160 $(CP) $@ $(PDWIN32_LIB) 161 162 163 # make the <>exp.def file. 164 !ifndef ORGTARGET 165 $(TARGET)exp.def: $(TARGET).def 166 !else 167 $(ORGTARGET)exp.def: $(ORGTARGET).def 168 !endif 328 !endif 329 330 331 # 332 # Common: Make the <>exp.def file. 333 # 334 !ifndef NOTEXPDEF 335 $(ORGTARGET)exp.def: $(DEFFILE) 169 336 $(IMPDEF) $** $@ 170 337 !endif 171 338 172 339 173 # Create the object directory. 340 # 341 # Common: Create the object directory. 342 # 174 343 $(OBJDIR): 175 344 @if not exist bin $(MKDIR) bin … … 178 347 179 348 # 180 # General clean rule. To clean more add it to CLEANEXTRAS!349 # Common: General clean rule. To clean more add it to CLEANEXTRAS! 181 350 # 182 351 !ifndef NOCLEAN … … 186 355 clean: clean2 187 356 !endif 188 $(RM) *. LIB*.res *.map *.pch \357 $(RM) *.lib *.res *.map *.pch \ 189 358 !if "$(OBJDIR)" != "" 190 359 $(OBJDIR)\* \ 191 360 !endif 192 361 !ifndef LOCALCLEAN 193 $(PDWIN32_LIB)\$( TARGET).LIB\194 $( TARGET)exp.def \362 $(PDWIN32_LIB)\$(ORGTARGET).lib \ 363 $(ORGTARGET)exp.def \ 195 364 $(PDWIN32_BIN)\$(TARGET).$(TARGET_EXTENSION) *.$(TARGET_EXTENSION) \ 196 365 $(PDWIN32_BIN)\$(TARGET).sym *.sym \ … … 200 369 !endif 201 370 !endif 202 203 204 # 205 # Include the .depend file. 371 !ifdef SUBDIRS 372 $(DODIRS) "$(SUBDIRS)" $(MAKE_CMD) clean 373 !endif 374 375 376 # 377 # Common: Include the .depend file. 206 378 # If the depend file don't exists we'll complain about it. 207 379 # … … 214 386 ! endif 215 387 !endif 388 -
TabularUnified trunk/include/pdwin32.vac36.rel ¶
r4334 r4620 1 # $Id: pdwin32.vac36.rel,v 1. 19 2000-09-28 03:16:24bird Exp $1 # $Id: pdwin32.vac36.rel,v 1.20 2000-11-19 08:31:21 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 32 32 # Tool Flags 33 33 # 34 CFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 35 CXXFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 36 CXXFLAGS_ODINCRT = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__WINE__ -D__i386__ 37 CFLAGS_WIN32APP = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 38 CXXFLAGS_WIN32APP= -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) -D__WIN32OS2__ -D__i386__ 34 CFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 35 CXXFLAGS = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ /Gx+ 36 CXXFLAGS_ODINCRT = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn- /Gx+ 37 CFLAGS_WIN32APP = -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 38 CXXFLAGS_WIN32APP= -Q -Si -G5 -O+ -Oi+ -Ge- -Ss+ -W3 -Gm+ /Gn+ 39 40 CINCLUDES = -I$(PDWIN32_INCLUDE)\Win -I. -I$(PDWIN32_INCLUDE) 41 CDEFINES = -D__WIN32OS2__ -D__WINE__ -D__i386__ -DTCPV40HDRS -DCOMCTL32UNDOC 42 CDEFINES_ODINCRT = -D__WIN32OS2__ -D__WINE__ -D__i386__ 43 CDEFINES_WIN32APP= -D__WIN32OS2__ -D__i386__ 44 39 45 ASFLAGS = -Mb -Sc -Sv:ALP 40 46 LDFLAGS = -Q -Si -G5 -O+ -Ge- -Ss+ -W3 -Gm+ /B"/noe /map /packcode /packdata /exepack:2 /nod" … … 44 50 IMPLIBFLAGS = /nologo 45 51 ILIBFLAGS = /nofree /quiet /nologo 46 RCFLAGS = -s -I. -I$(CPPMAIN)\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win52 RCFLAGS = -s -I. -I$(CPPMAIN)\include 47 53 OS2RCFLAGS = -r -n 48 54 OS2RCLFLAGS = -x2 -n -
TabularUnified trunk/include/pdwin32.vac36.tools ¶
r4334 r4620 1 # $Id: pdwin32.vac36.tools,v 1. 1 2000-09-28 03:16:24bird Exp $1 # $Id: pdwin32.vac36.tools,v 1.2 2000-11-19 08:31:21 bird Exp $ 2 2 # ODIN / win32os2 Project 3 3 # … … 30 30 31 31 .c{$(OBJDIR)}.obj: 32 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj$<32 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -Fo$(OBJDIR)\$(@B).obj -c $< 33 33 34 34 .cpp{$(OBJDIR)}.obj: 35 $(CXX) $(CXXFLAGS) -Fo$(OBJDIR)\$(@B).obj -c $<35 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -Fo$(OBJDIR)\$(@B).obj -c $< 36 36 37 37 .asm{$(OBJDIR)}.obj: … … 39 39 40 40 .orc{$(OBJDIR)}.orc_asm: 41 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<41 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$(@B).orc_asm $< 42 42 43 43 .orc{$(OBJDIR)}.obj: 44 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<44 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$(@B).orc_asm $< 45 45 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$(@B).orc_asm 46 46 47 47 .rc{$(OBJDIR)}.res: 48 $(OS2RC) $(OS2RCFLAGS) $ < $@48 $(OS2RC) $(OS2RCFLAGS) $(CINCLUDES:-I=-i ) $< $@ 49 49 50 50 … … 53 53 # 54 54 .c.obj: 55 $(CC) $(CFLAGS) -c $<55 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -c $< 56 56 57 57 .cpp.obj: 58 $(CXX) $(CXXFLAGS) -c $<58 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -c $< 59 59 60 60 .asm.obj: … … 62 62 63 63 .orc.asm: 64 $(RC) $(RCFLAGS) -o $@ $<64 $(RC) $(RCFLAGS) $(CINCLUDES) -o $@ $< 65 65 66 66 .rc.res: -
TabularUnified trunk/src/wing32/makefile ¶
r3864 r4620 1 # $Id: makefile,v 1. 8 2000-07-19 19:05:26 sandervlExp $1 # $Id: makefile,v 1.9 2000-11-19 08:35:50 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 = lz32rsrc.asm 22 ASFLAGS = -Sc -Sv:ALP 23 24 25 # Object files. All objects should be prefixed with $(OBJDIR)! 16 # 17 # Object files. Prefix with OBJDIR and one space before the '\'. 18 # 26 19 OBJS = \ 27 20 $(OBJDIR)\initterm.obj \ … … 30 23 31 24 25 # 26 # Libraries. One space before the '\'. 27 # 28 LIBS = \ 29 $(PDWIN32_LIB)/kernel32.lib \ 30 $(PDWIN32_LIB)/user32.lib \ 31 $(PDWIN32_LIB)/gdi32.lib \ 32 $(PDWIN32_LIB)/$(ODINCRT).lib \ 33 OS2386.LIB \ 34 $(RTLLIB_O) 35 36 37 # 32 38 # Target name - name of the dll without extention and path. 39 # 33 40 TARGET = wing32 34 41 35 42 36 # All rule - build objs, target dll, copies dll to bin and makes libs. 37 all: $(OBJDIR) \ 38 $(OBJDIR)\$(TARGET).dll \ 39 $(PDWIN32_BIN)\$(TARGET).dll \ 40 lib 43 # 44 # Includes the common rules. 45 # 46 !include $(PDWIN32_INCLUDE)/pdwin32.post 41 47 42 48 43 # Lib rule - build importlibrary (and evt. other libs)44 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib45 46 47 # Dll rule - builds the target dll.48 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf49 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf50 51 52 # Linker file - creates the parameter file passed on to the linker.53 $(OBJDIR)\$(TARGET).lrf: makefile54 @echo Creating file <<$@55 /OUT:$(OBJDIR)\$(TARGET).dll56 /MAP:$(OBJDIR)\$(TARGET).map57 $(OBJS)58 $(PDWIN32_LIB)/user32.lib59 $(PDWIN32_LIB)/gdi32.lib60 $(PDWIN32_LIB)/kernel32.lib61 $(PDWIN32_LIB)/$(ODINCRT).lib62 OS2386.LIB63 $(RTLLIB_O)64 $(TARGET).def65 <<keep66 67 68 # Dep rule - makes depenencies for C, C++ and Asm files.69 dep:70 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \71 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h72 73 74 # Includes the common rules.75 !include $(PDWIN32_INCLUDE)/pdwin32.post76 -
TabularUnified trunk/src/wininet/makefile ¶
r3994 r4620 1 # $Id: makefile,v 1. 9 2000-08-11 10:57:59 sandervlExp $1 # $Id: makefile,v 1.10 2000-11-19 08:35:50 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 = mprrsrc.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)\wininet.obj \ … … 29 23 $(OBJDIR)\initterm.obj \ 30 24 $(OBJDIR)\internet.obj \ 31 $(OBJDIR)\wininetrsrc.obj 25 $(OBJDIR)\wininetrsrc.obj 32 26 33 27 28 # 29 # Libraries. One space before the '\'. 30 # 31 LIBS = \ 32 $(PDWIN32_LIB)/kernel32.lib \ 33 $(PDWIN32_LIB)/user32.lib \ 34 $(PDWIN32_LIB)/$(ODINCRT).lib \ 35 $(PDWIN32_LIB)/wsock32.lib \ 36 OS2386.LIB \ 37 $(RTLLIB_O) 38 39 40 # 34 41 # Target name - name of the dll without extention and path. 42 # 35 43 TARGET = wininet 36 44 37 45 38 # All rule - build objs, target dll, copies dll to bin and makes libs. 39 all: $(OBJDIR) \ 40 $(OBJDIR)\$(TARGET).dll \ 41 $(PDWIN32_BIN)\$(TARGET).dll \ 42 lib 43 44 45 # Lib rule - build importlibrary (and evt. other libs) 46 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 47 48 49 # Dll rule - builds the target dll. 50 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 51 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 52 53 54 # Linker file - creates the parameter file passed on to the linker. 55 $(OBJDIR)\$(TARGET).lrf: makefile 56 @echo Creating file <<$@ 57 /OUT:$(OBJDIR)\$(TARGET).dll 58 /MAP:$(OBJDIR)\$(TARGET).map 59 $(OBJS) 60 $(PDWIN32_LIB)/kernel32.lib \ 61 $(PDWIN32_LIB)/user32.lib \ 62 $(PDWIN32_LIB)/$(ODINCRT).lib \ 63 $(PDWIN32_LIB)/wsock32.lib 64 OS2386.LIB $(RTLLIB_O) 65 $(TARGET).def 66 <<keep 67 68 69 # Dep rule - makes depenencies for C, C++ and Asm files. 70 dep: 71 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 72 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 73 74 46 # 75 47 # Includes the common rules. 48 # 76 49 !include $(PDWIN32_INCLUDE)/pdwin32.post 77 50 -
TabularUnified trunk/src/winmm/makefile ¶
r3864 r4620 1 # $Id: makefile,v 1. 19 2000-07-19 19:05:26 sandervlExp $1 # $Id: makefile,v 1.20 2000-11-19 08:35:50 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 = winmmrsrc.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)\os2timer.obj \ … … 46 40 47 41 42 # 43 # Libraries. One space before the '\'. 44 # 45 LIBS = \ 46 $(PDWIN32_LIB)/pmwinx.lib \ 47 mmpm2.lib \ 48 $(PDWIN32_LIB)/kernel32.lib \ 49 $(PDWIN32_LIB)/user32.lib \ 50 $(PDWIN32_LIB)/$(ODINCRT).lib \ 51 OS2386.LIB \ 52 $(RTLLIB_O) 53 54 55 # 48 56 # Target name - name of the dll without extention and path. 57 # 49 58 TARGET = winmm 50 59 51 LDFLAGS = -Q -Si -Ti -Ge- -Ss+ -W3 -Gm+ /B"/noe /map /NOD /dbgpack /packcode /packdata /exepack:2"52 60 53 # All rule - build objs, target dll, copies dll to bin and makes libs. 54 all: $(OBJDIR) \ 55 $(OBJDIR)\$(TARGET).dll \ 56 $(PDWIN32_BIN)\$(TARGET).dll \ 57 lib 58 59 60 # Lib rule - build importlibrary (and evt. other libs) 61 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 62 63 64 # Dll rule - builds the target dll. 65 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 66 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 67 68 69 # Linker file - creates the parameter file passed on to the linker. 70 $(OBJDIR)\$(TARGET).lrf: makefile 71 @echo Creating file <<$@ 72 /OUT:$(OBJDIR)\$(TARGET).dll 73 /MAP:$(OBJDIR)\$(TARGET).map 74 $(OBJS) 75 $(PDWIN32_LIB)/pmwinx.lib 76 mmpm2.lib 77 $(PDWIN32_LIB)/kernel32.lib 78 $(PDWIN32_LIB)/user32.lib 79 $(PDWIN32_LIB)/$(ODINCRT).lib 80 OS2386.LIB 81 $(RTLLIB_O) 82 $(TARGET).def 83 <<keep 84 85 86 # Dep rule - makes depenencies for C, C++ and Asm files. 87 dep: 88 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 89 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 90 91 61 # 92 62 # Includes the common rules. 63 # 93 64 !include $(PDWIN32_INCLUDE)/pdwin32.post 94 65 -
TabularUnified trunk/src/winspool/makefile ¶
r4594 r4620 1 # $Id: makefile,v 1.1 7 2000-11-15 10:54:23 sandervlExp $1 # $Id: makefile,v 1.18 2000-11-19 08:35:50 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 = winspoolrsrc.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)\winspool.obj \ 27 21 $(OBJDIR)\oslibspl.obj \ 28 22 $(OBJDIR)\winspoolrsrc.obj \ 29 $( PDWIN32_LIB)\dllentry.obj23 $(DLLENTRY) 30 24 31 25 26 # 27 # Libraries. One space before the '\'. 28 # 29 LIBS = \ 30 $(PDWIN32_LIB)/kernel32.lib \ 31 $(PDWIN32_LIB)/pmwinx.lib \ 32 $(PDWIN32_LIB)/user32.lib \ 33 $(PDWIN32_LIB)/$(ODINCRT).lib \ 34 OS2386.LIB \ 35 $(RTLLIB_O) 36 37 38 # 32 39 # Target name - name of the dll without extention and path. 40 # 33 41 TARGET = winspool 34 42 35 43 36 # All rule - build objs, target dll, copies dll to bin and makes libs. 37 all: $(OBJDIR) \ 38 $(OBJDIR)\$(TARGET).dll \ 39 $(PDWIN32_BIN)\$(TARGET).dll \ 40 lib 41 42 43 # Lib rule - build importlibrary (and evt. other libs) 44 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 45 46 47 # Dll rule - builds the target dll. 48 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 49 -4 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 50 51 52 # Linker file - creates the parameter file passed on to the linker. 53 $(OBJDIR)\$(TARGET).lrf: makefile 54 @echo Creating file <<$@ 55 /OUT:$(OBJDIR)\$(TARGET).dll 56 /MAP:$(OBJDIR)\$(TARGET).map 57 $(OBJS) 58 $(PDWIN32_LIB)/kernel32.lib 59 $(PDWIN32_LIB)/pmwinx.lib 60 $(PDWIN32_LIB)/user32.lib 61 $(PDWIN32_LIB)/$(ODINCRT).lib 62 OS2386.LIB 63 $(RTLLIB_O) 64 $(TARGET).def 65 <<keep 66 67 68 # Dep rule - makes depenencies for C, C++ and Asm files. 69 dep: 70 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 71 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 72 73 44 # 74 45 # Includes the common rules. 46 # 75 47 !include $(PDWIN32_INCLUDE)/pdwin32.post 76 48 -
TabularUnified trunk/src/wnaspi32/makefile ¶
r4265 r4620 1 # $Id: makefile,v 1.1 1 2000-09-15 13:25:49 sandervlExp $1 # $Id: makefile,v 1.12 2000-11-19 08:35:50 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 = wnaspi32rsrc.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)\aspilib.obj \ … … 30 24 31 25 26 # 27 # Libraries. One space before the '\'. 28 # 29 LIBS = \ 30 $(PDWIN32_LIB)/kernel32.lib \ 31 $(PDWIN32_LIB)/$(ODINCRT).lib \ 32 $(PDWIN32_LIB)/advapi32.lib \ 33 OS2386.LIB \ 34 $(RTLLIB_O) 35 36 37 # 32 38 # Target name - name of the dll without extention and path. 39 # 33 40 TARGET = wnaspi32 34 41 35 42 36 # All rule - build objs, target dll, copies dll to bin and makes libs. 37 all: $(OBJDIR) \ 38 $(OBJDIR)\$(TARGET).dll \ 39 $(PDWIN32_BIN)\$(TARGET).dll \ 40 lib 41 42 43 # Lib rule - build importlibrary (and evt. other libs) 44 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 45 46 47 # Dll rule - builds the target dll. 48 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 49 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 50 51 52 # Linker file - creates the parameter file passed on to the linker. 53 $(OBJDIR)\$(TARGET).lrf: makefile 54 @echo Creating file <<$@ 55 /OUT:$(OBJDIR)\$(TARGET).dll 56 /MAP:$(OBJDIR)\$(TARGET).map 57 $(OBJS) 58 $(PDWIN32_LIB)/kernel32.lib 59 $(PDWIN32_LIB)/$(ODINCRT).lib 60 OS2386.LIB 61 $(RTLLIB_O) 62 $(PDWIN32_LIB)/advapi32.lib 63 $(TARGET).def 64 <<keep 65 66 67 # Dep rule - makes depenencies for C, C++ and Asm files. 68 dep: 69 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 70 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 71 72 43 # 73 44 # Includes the common rules. 45 # 74 46 !include $(PDWIN32_INCLUDE)/pdwin32.post 75 47 -
TabularUnified trunk/src/wnetap32/makefile ¶
r4362 r4620 1 # $Id: makefile,v 1.1 3 2000-10-02 13:03:00 phallerExp $1 # $Id: makefile,v 1.14 2000-11-19 08:35:50 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 = netapi32rsrc.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)\wnetap32.obj \ … … 30 24 31 25 26 # 27 # Libraries. One space before the '\'. 28 # 29 LIBS = \ 30 $(PDWIN32_LIB)/kernel32.lib \ 31 $(PDWIN32_LIB)/user32.lib \ 32 $(PDWIN32_LIB)/$(ODINCRT).lib \ 33 OS2386.LIB \ 34 $(RTLLIB_O) 35 36 37 # 32 38 # Target and original target names - names of the dll without extention and path 39 # 33 40 TARGET = wnetap32 34 41 ORGTARGET = netapi32 35 42 36 43 37 # All rule - build objs, target dll, copies dll to bin and makes libs. 38 all: $(OBJDIR) \ 39 $(OBJDIR)\$(TARGET).dll \ 40 $(PDWIN32_BIN)\$(TARGET).dll \ 41 lib 42 43 44 # Lib rule - build importlibrary (and evt. other libs) 45 lib: $(ORGTARGET).lib $(PDWIN32_LIB)\$(ORGTARGET).lib 46 47 48 # Dll rule - builds the target dll. 49 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(ORGTARGET).def $(OBJDIR)\$(TARGET).lrf 50 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 51 52 53 # Linker file - creates the parameter file passed on to the linker. 54 $(OBJDIR)\$(TARGET).lrf: makefile 55 @echo Creating file <<$@ 56 /OUT:$(OBJDIR)\$(TARGET).dll 57 /MAP:$(OBJDIR)\$(TARGET).map 58 $(OBJS) 59 $(PDWIN32_LIB)/kernel32.lib 60 $(PDWIN32_LIB)/user32.lib 61 $(PDWIN32_LIB)/$(ODINCRT).lib 62 OS2386.LIB $(RTLLIB_O) 63 $(ORGTARGET).def 64 <<keep 65 66 67 # Dep rule - makes depenencies for C, C++ and Asm files. 68 dep: 69 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 70 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 71 72 44 # 73 45 # Includes the common rules. 46 # 74 47 !include $(PDWIN32_INCLUDE)/pdwin32.post 75 48 -
TabularUnified trunk/src/wsock32/makefile ¶
r3864 r4620 1 # $Id: makefile,v 1.2 7 2000-07-19 19:05:27 sandervlExp $1 # $Id: makefile,v 1.28 2000-11-19 08:35:49 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 16 # 17 # Overrides. 18 # 19 CXXFLAGS = $(CXXFLAGS) -DNEW_ASYNC 18 20 19 21 20 # Flag overloads and local macros. 21 CLEANEXTRAS = wsock32rsrc.asm 22 23 24 # Object files. All objects should be prefixed with $(OBJDIR)! 22 # 23 # Object files. Prefix with OBJDIR and one space before the '\'. 24 # 25 25 OBJS = \ 26 26 $(OBJDIR)\wsock32.obj \ … … 35 35 36 36 37 # 38 # Libraries. One space before the '\'. 39 # 40 LIBS = \ 41 $(PDWIN32_LIB)/kernel32.lib \ 42 $(PDWIN32_LIB)/user32.lib \ 43 $(PDWIN32_LIB)/$(ODINCRT).lib \ 44 so32dll.lib \ 45 tcp32dll.lib \ 46 OS2386.LIB \ 47 $(RTLLIB_O) 48 49 50 # 37 51 # Target name - name of the dll without extention and path. 52 # 38 53 TARGET = wsock32 39 54 40 CXXFLAGS = $(CXXFLAGS) -DNEW_ASYNC41 55 42 43 # All rule - build objs, target dll, copies dll to bin and makes libs. 44 all: $(OBJDIR) \ 45 $(OBJDIR)\$(TARGET).dll \ 46 $(PDWIN32_BIN)\$(TARGET).dll \ 47 lib 48 49 50 # Lib rule - build importlibrary (and evt. other libs) 51 lib: $(TARGET).lib $(PDWIN32_LIB)\$(TARGET).lib 52 53 54 # Dll rule - builds the target dll. 55 $(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def $(OBJDIR)\$(TARGET).lrf 56 $(LD2) $(LD2FLAGS) @$(OBJDIR)\$(TARGET).lrf 57 58 59 # Linker file - creates the parameter file passed on to the linker. 60 $(OBJDIR)\$(TARGET).lrf: makefile 61 @echo Creating file <<$@ 62 /OUT:$(OBJDIR)\$(TARGET).dll 63 /MAP:$(OBJDIR)\$(TARGET).map 64 $(OBJS) 65 $(TARGET).def 66 so32dll.lib 67 tcp32dll.lib 68 $(PDWIN32_LIB)\kernel32.lib 69 $(PDWIN32_LIB)/user32.lib 70 $(PDWIN32_LIB)/$(ODINCRT).lib 71 OS2386.LIB 72 $(RTLLIB_O) 73 <<keep 74 75 76 # Dep rule - makes depenencies for C, C++ and Asm files. 77 dep: 78 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \ 79 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h 80 81 56 # 82 57 # Includes the common rules. 58 # 83 59 !include $(PDWIN32_INCLUDE)/pdwin32.post 84 60 -
TabularUnified trunk/tools/SDF/makefile ¶
r4332 r4620 1 # $Id: makefile,v 1. 2 2000-09-28 03:06:27bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:25:50 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # include common definitions 11 # 12 # Directory macros. 13 # 12 14 PDWIN32_INCLUDE = ..\..\include 15 PDWIN32_LIB = ..\..\lib 16 PDWIN32_BIN = ..\bin 13 17 PDWIN32_TOOLS = ..\bin 18 PDWIN32_TCOMMON = ..\common 19 20 21 # 22 # Tell buildenvironment that we're makeing an .exe. 23 # Tell buildenvironment that we should not copy this into /bin. 24 # 25 EXETARGET = 1 26 NO_MAIN_BIN_COPY = 1 27 28 29 # 30 # Compiler, tools, and interference rules. 31 # 14 32 !include $(PDWIN32_INCLUDE)\pdwin32.mk 33 !include $(PDWIN32_TCOMMON)\common.mk 15 34 16 # Addjust common definitions 17 CINCLUDES= -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win -I..\common 18 !ifdef DEBUG 19 CFLAGS = $(CFLAGS) -Ge+ -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 20 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 21 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 22 !else 23 CFLAGS = $(CFLAGS) -Ge+ -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 24 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 25 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 35 36 # 37 # Flag overrides. 38 # 39 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 40 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- 41 CXXFLAGS = $(CXXFLAGS) -Gx- -Wall+ppt-ppc-inl-cnv-gnr-vft- 26 42 !endif 27 43 28 44 29 30 all: sdf.exe ..\bin\sdf.exe 31 32 33 sdf.exe: sdf.obj ..\common\commonicc.lib 34 $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib 35 36 ..\bin\sdf.exe: sdf.exe 37 $(CP) $** $@ 38 39 dep: 40 $(DEPEND) $(CINCLUDES) -I *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 41 *.c *.cpp 42 43 clean: 44 @$(RM) *.obj *.exe *.map *.pch *.log 45 # 46 # Object files. Prefix with OBJDIR and one space before the '\'. 47 # 48 OBJS= \ 49 $(OBJDIR)\sdf.obj 45 50 46 51 47 52 # 48 # Include the .depend file. 49 # If the depend file don't exists we'll complain about it. 53 # Libraries. One space before the '\'. 50 54 # 51 !ifndef NODEP 52 ! if [$(EXISTS) .depend] == 0 53 ! include .depend 54 ! else 55 ! if [$(ECHO) .depend doesn't exist] 56 ! endif 57 ! endif 58 !endif 55 LIBS = \ 56 $(COMMONLIB) \ 57 $(RTLLIB) \ 58 os2386.lib 59 59 60 61 # 62 # Target name - name of the exe without extention and path. 63 # 64 TARGET = sdf 65 66 67 # 68 # Includes the common rules. 69 # 70 !include $(PDWIN32_INCLUDE)\pdwin32.post 71 !include $(PDWIN32_TCOMMON)\common.mk.post 72 -
TabularUnified trunk/tools/common/common.mk ¶
r3536 r4620 1 # $Id: common.mk,v 1. 1 2000-05-13 17:17:08bird Exp $1 # $Id: common.mk,v 1.2 2000-11-19 08:29:54 bird Exp $ 2 2 # 3 3 # Common definitions for tools. … … 32 32 33 33 34 # 35 # Add PDWIN32_TCOMMON to the C and C++ includes. 36 # 37 CINCLUDES = -I$(PDWIN32_TCOMMON) $(CINCLUDE) 38 -
TabularUnified trunk/tools/common/makefile ¶
r4402 r4620 1 # $Id: makefile,v 1. 7 2000-10-03 05:42:39bird Exp $1 # $Id: makefile,v 1.8 2000-11-19 08:29:54 bird Exp $ 2 2 3 3 # … … 21 21 22 22 23 all: commonicc.lib commongcc.a commongcc.lib 23 all: commonicc.lib commongcc.a commongcc.lib \ 24 $(PDWIN32_TOOLS)\kDef2Wat.exe 25 # $(PDWIN32_TOOLS)\kDump.exe 24 26 25 27 … … 65 67 *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h *.c *.cpp -objo *.c *.cpp -objgobj *.c *.cpp 66 68 69 # 70 # Do not includes the common rules. 71 # 72 -
TabularUnified trunk/tools/common/makefile.gcc ¶
r3592 r4620 1 # $Id: makefile.gcc,v 1. 6 2000-05-23 18:23:04 bird Exp $1 # $Id: makefile.gcc,v 1.7 2000-11-19 08:29:54 bird Exp $ 2 2 3 3 # … … 30 30 LOCALCLEAN = 1 31 31 CLEANEXTRAS = commongcc.* 32 OLD_STYLE = 1 32 33 33 34 -
TabularUnified trunk/tools/common/makefile.icc ¶
r4426 r4620 1 # $Id: makefile.icc,v 1.1 3 2000-10-05 07:27:57bird Exp $1 # $Id: makefile.icc,v 1.14 2000-11-19 08:29:54 bird Exp $ 2 2 3 3 # … … 17 17 LOCALCLEAN = 1 18 18 CLEANEXTRAS = commonicc.lib 19 OLD_STYLE = 1 19 20 20 21 -
TabularUnified trunk/tools/fastdep/makefile ¶
r3132 r4620 1 # $Id: makefile,v 1. 5 2000-03-16 23:51:26bird Exp $1 # $Id: makefile,v 1.6 2000-11-19 08:27:21 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # 12 # Tell buildenvironment that we're makeing an .exe. 13 # Tell buildenvironment that we should not copy this into /bin. 14 # 15 EXETARGET = 1 16 NO_MAIN_BIN_COPY = 1 17 18 19 # 11 20 # include common definitions 21 # 12 22 PDWIN32_INCLUDE = ..\..\include 23 PDWIN32_TOOLS = ..\bin 24 PDWIN32_BIN = ..\bin 25 PDWIN32_LIB = ..\..\lib 13 26 !include $(PDWIN32_INCLUDE)\pdwin32.mk 14 27 28 29 # 15 30 # Addjust common definitions 31 # 32 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 33 CFLAGS = $(CFLAGS) -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- \ 16 34 !ifdef DEBUG 17 CFLAGS = $(CFLAGS) -Ge+ -Tx+ -I..\common \ 18 -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -O+ -Tm- 19 # -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -Gh+ -Tm- #-O+ 20 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 21 !else 22 CFLAGS = $(CFLAGS) -Ge+ -Tx+ -I..\common \ 23 -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- 24 LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full" 35 -O+ -Tm- 36 !endif 25 37 !endif 26 38 27 39 28 29 all: fastdep.exe ..\bin\fastdep.exe 40 # 41 # Object files. Prefix with OBJDIR and one space before the '\'. 42 # 43 OBJS = \ 44 $(OBJDIR)\fastdep.obj \ 45 $(OBJDIR)\avl.obj 30 46 31 47 32 fastdep.exe: fastdep.obj avl.obj 33 $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib 34 # $(LD) $(LDFLAGS) $** CPPOPA3.OBJ $(RTLLIB) _DOSCALL.LIB os2386.lib35 36 ..\bin\fastdep.exe: fastdep.exe 37 $(CP) $** $@ 48 # 49 # Libraries. One space before the '\'. 50 # 51 LIBS = \ 52 $(RTLLIB) \ 53 os2386.lib 38 54 39 55 40 dep: # dummy rule 56 # 57 # Target name - name of the exe without extention and path. 58 # 59 TARGET = FastDep 41 60 42 61 43 clean: 44 -@$(RM) *.obj *.exe *.map *.pch *.log ..\bin\fastdep.exe 62 # 63 # Includes the common rules. 64 # 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 66 67 68 # 69 # We need all. 70 # 71 needed: all 72 -
TabularUnified trunk/tools/impdef/makefile ¶
r4427 r4620 1 # $Id: makefile,v 1. 5 2000-10-05 07:28:39bird Exp $1 # $Id: makefile,v 1.6 2000-11-19 08:26:52 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # 11 12 # Directory macros. 13 # 12 14 PDWIN32_INCLUDE = ..\..\include 13 PDWIN32_BIN = ..\..\bin\$(OBJDIR)14 15 PDWIN32_LIB = ..\..\lib 16 PDWIN32_BIN = ..\bin 15 17 PDWIN32_TOOLS = ..\bin 16 18 PDWIN32_TCOMMON = ..\common 17 19 18 20 19 # Defines for the pdwin32.post and pdwin32.mk 20 LOCALCLEAN = 1 21 CLEANEXTRAS = $(PDWIN32_TOOLS)\impdef.exe *.log 22 EXETARGET = 1 21 # 22 # Tell buildenvironment that we're makeing an .exe. 23 # Tell buildenvironment that we should not copy this into /bin. 24 # 25 EXETARGET = 1 26 NO_MAIN_BIN_COPY = 1 23 27 24 28 29 # 25 30 # Compiler, tools, and interference rules. 31 # 26 32 !include $(PDWIN32_INCLUDE)\pdwin32.mk 27 33 !include $(PDWIN32_TCOMMON)\common.mk 28 34 29 35 30 31 # Flag overloads and local macros. 32 CINCLUDES= -I$(PDWIN32_TCOMMON) -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\Win 33 CFLAGS = $(CFLAGS) $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- 34 CXXFLAGS = $(CXXFLAGS) $(CINCLUDES) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gx- 36 # 37 # Flag overrides. 38 # 39 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 40 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- 41 CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gx- 42 !endif 35 43 36 44 37 # Object files. All objects should be prefixed with $(OBJDIR)! 45 # 46 # Object files. Prefix with OBJDIR and one space before the '\'. 47 # 38 48 OBJS= \ 39 49 $(OBJDIR)\ImpDef.obj 40 50 41 51 42 # All rule - build objs, target dll, copies dll to bin and makes libs. 43 all: $(OBJDIR) \ 44 $(PDWIN32_TOOLS)\ImpDef.exe 52 # 53 # Libraries. One space before the '\'. 54 # 55 LIBS = \ 56 $(COMMONLIB) \ 57 $(RTLLIB) \ 58 os2386.lib 45 59 46 60 47 $(OBJDIR)\ImpDef.exe: $(OBJS) $(COMMONLIB) 48 $(LD) $(LDFLAGS) -Fe$@ $** $(RTLLIB) os2386.lib 49 50 $(PDWIN32_TOOLS)\ImpDef.exe: $(OBJDIR)\ImpDef.exe 51 $(CP) $** $@ 61 # 62 # Target name - name of the exe without extention and path. 63 # 64 TARGET = ImpDef 52 65 53 66 54 # Dep rule - makes depenencies for C, C++ and Asm files. 55 dep: 56 $(DEPEND) $(CINCLUDES) *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 57 *.c *.cpp 58 59 60 # Include common rules 67 # 68 # Includes the common rules. 69 # 61 70 !include $(PDWIN32_INCLUDE)\pdwin32.post 62 71 !include $(PDWIN32_TCOMMON)\common.mk.post 72 -
TabularUnified trunk/tools/install/makefile ¶
r3880 r4620 1 # $Id: makefile,v 1.3 2000-11-19 08:26:36 bird Exp $ 2 1 3 # 2 4 # PD-Win32 API 3 5 # 6 # odininst.exe makefile 4 7 # 5 8 6 # Tell that we're producing an executable 9 10 # 11 # Tell that we're producing an executable. 12 # 7 13 EXETARGET = 1 8 14 9 PDWIN32_INCLUDE = ..\..\include10 PDWIN32_LIB = ..\..\lib11 PDWIN32_BIN = ..\..\$(OBJDIR)12 PDWIN32_TOOLS = ..\bin13 15 14 !include $(PDWIN32_INCLUDE)/pdwin32.mk 16 # 17 # Compiler, tools, and interference rules. 18 # 19 !include ../../include/pdwin32.mk 15 20 21 22 # 23 # Overrides 24 # 25 LD2FLAGS = $(LD2FLAGS_ODINCRT) /PMTYPE:pm /STACK:0x100000 /NOBASE 26 27 28 # 29 # Object files. Prefix with OBJDIR and one space before the '\'. 30 # 31 OBJS = \ 32 $(OBJDIR)\odininst.obj 33 34 35 # 36 # Libraries. One space before the '\'. 37 # 38 LIBS = \ 39 os2386.lib \ 40 $(PDWIN32_LIB)\kernel32.lib 41 42 43 # 44 # Target name - name of the exe without extention and path. 45 # 16 46 TARGET = odininst 17 47 18 all: $(OBJDIR) \19 $(OBJDIR)\$(TARGET).exe \20 $(PDWIN32_BIN)\$(TARGET).exe21 48 22 # Flag overloads and local macros. 23 CLEANEXTRAS = $(PDWIN32_BIN)\$(TARGET).exe 49 # 50 # Includes the common rules. 51 # 52 !include $(PDWIN32_INCLUDE)\pdwin32.post 24 53 25 # Object files. All objects should be prefixed with $(OBJDIR)!26 OBJS = $(OBJDIR)\odininst.obj27 28 29 # Lib rule - dummy rule.30 lib:31 32 33 # Exe rule - builds the target exe.34 $(OBJDIR)\$(TARGET).exe: $(OBJS) $(OBJDIR)\$(TARGET).lrf35 $(LD2) $(LD2FLAGS_ODINCRT) @$(OBJDIR)\$(TARGET).lrf36 37 # Linker file - creates the parameter file passed on to the linker.38 $(OBJDIR)\$(TARGET).lrf: makefile39 @echo Creating file <<$@40 /OUT:$(OBJDIR)\$(TARGET).exe41 /MAP:$(OBJDIR)\$(TARGET).map42 /PMTYPE:pm43 /STACK:0x10000044 /NOBASE45 $(OBJS)46 os2386.lib47 $(PDWIN32_LIB)\kernel32.lib48 <<keep49 50 51 # Dep rule - makes depenencies for C, C++ and Asm files.52 dep:53 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \54 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h55 56 57 # Includes the common rules.58 !include $(PDWIN32_INCLUDE)/pdwin32.post -
TabularUnified trunk/tools/makefile ¶
r4332 r4620 1 # $Id: makefile,v 1.1 2 2000-09-28 03:06:26bird Exp $1 # $Id: makefile,v 1.13 2000-11-19 08:20:55 bird Exp $ 2 2 3 3 # … … 16 16 # 17 17 # 18 19 20 # 21 # Directory macros. 22 # 18 23 PDWIN32_INCLUDE = ..\include 24 PDWIN32_TOOLS = .\bin 19 25 !include $(PDWIN32_INCLUDE)\pdwin32.tools 20 26 21 !ifdef DEBUG 22 MAKE_CMD = $(MAKE) -nologo DEBUG=1 23 !else 24 MAKE_CMD = $(MAKE) -nologo 25 !endif 27 28 # 29 # The directories included in the usual makes; all, clean, dep rules. 30 # 31 ALL_DIRS = \ 32 .\common \ 33 .\database \ 34 .\impdef \ 35 .\fastdep \ 36 .\wrc \ 37 .\omfdumper \ 38 .\sdf \ 39 .\install 26 40 27 41 28 all: 29 cd common 30 $(MAKE_CMD) 31 cd ..\database 32 $(MAKE_CMD) 33 cd ..\impdef 34 $(MAKE_CMD) 35 cd ..\fastdep 36 $(MAKE_CMD) 37 cd ..\wrc 38 $(MAKE_CMD) -f makefile.os2 39 cd ..\omfdumper 40 $(MAKE_CMD) 41 cd ..\sdf 42 $(MAKE_CMD) 43 cd ..\install 44 $(MAKE_CMD) 45 cd .. 42 # 43 # Dummy all rule. 44 # 45 _all: all 46 46 47 48 # 49 # common rules. 50 # 51 dep clean all: 52 $(DODIRS) "$(ALL_DIRS)" $(MAKE_CMD) $@ 53 54 55 # 47 56 # compile tools needed to compile rest of the tree. 57 # 48 58 needed: 49 59 cd fastdep … … 58 68 59 69 60 dep: 61 cd common 62 $(MAKE_CMD) NODEP=1 dep 63 cd ..\database 64 $(MAKE_CMD) NODEP=1 dep 65 cd ..\impdef 66 $(MAKE_CMD) NODEP=1 dep 67 cd ..\wrc 68 $(MAKE_CMD) -f makefile.os2 NODEP=1 dep 69 cd ..\omfdumper 70 $(MAKE_CMD) NODEP=1 dep 71 cd ..\sdf 72 $(MAKE_CMD) NODEP=1 dep 73 cd .. 70 # 71 # Do not includes the common rules. 72 # 74 73 75 76 clean:77 cd common78 $(MAKE_CMD) NODEP=1 clean79 cd ..\database80 $(MAKE_CMD) NODEP=1 clean81 cd ..\impdef82 $(MAKE_CMD) NODEP=1 clean83 cd ..\fastdep84 $(MAKE_CMD) NODEP=1 clean85 cd ..\wrc86 $(MAKE_CMD) -f makefile.os2 NODEP=1 clean87 cd ..\omfdumper88 $(MAKE_CMD) NODEP=1 clean89 cd ..\sdf90 $(MAKE_CMD) NODEP=1 clean91 cd ..92 -
TabularUnified trunk/tools/omfdumper/makefile ¶
r2714 r4620 1 # $Id: makefile,v 1. 2 2000-02-09 23:49:55bird Exp $1 # $Id: makefile,v 1.3 2000-11-19 08:26:16 bird Exp $ 2 2 3 3 # … … 7 7 # 8 8 9 !include ..\..\include\pdwin32.tools 9 # 10 # Directory macros. 11 # 12 PDWIN32_INCLUDE = ..\..\include 13 PDWIN32_LIB = ..\..\lib 14 PDWIN32_BIN = ..\bin 15 PDWIN32_TOOLS = ..\bin 16 PDWIN32_TCOMMON = ..\common 10 17 11 all: omfdumper.exe ..\bin\omfdumper.exe12 18 13 omfdumper.exe: omfdumper.c omf.h 14 icc /ti+ /Q+ omfdumper.c 19 # 20 # Tell buildenvironment that we're makeing an .exe. 21 # Tell buildenvironment that we should not copy this into /bin. 22 # 23 EXETARGET = 1 24 NO_MAIN_BIN_COPY = 1 15 25 16 ..\bin\omfdumper.exe: omfdumper.exe17 $(CP) $** $@18 26 19 dep: # dummy rule 27 # 28 # Compiler, tools, and interference rules. 29 # 30 !include $(PDWIN32_INCLUDE)\pdwin32.mk 31 !include $(PDWIN32_TCOMMON)\common.mk 20 32 21 clean:22 -@$(RM) *.obj23 -@$(RM) *.exe24 33 34 # 35 # Object files. Prefix with OBJDIR and one space before the '\'. 36 # 37 OBJS= \ 38 $(OBJDIR)\omfdumper.obj 39 40 41 # 42 # Libraries. One space before the '\'. 43 # 44 LIBS = \ 45 $(RTLLIB) \ 46 os2386.lib 47 48 49 # 50 # Target name - name of the exe without extention and path. 51 # 52 TARGET = omfdumper 53 54 55 # 56 # Includes the common rules. 57 # 58 !include $(PDWIN32_INCLUDE)\pdwin32.post 59 !include $(PDWIN32_TCOMMON)\common.mk.post 60
Note:
See TracChangeset
for help on using the changeset viewer.