Changeset 4620 for trunk/tools
- Timestamp:
- Nov 19, 2000, 9:35:50 AM (25 years ago)
- Location:
- trunk/tools
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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.