Changeset 3538 for trunk/tools
- Timestamp:
- May 13, 2000, 7:18:39 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/impdef/makefile
r2714 r3538 1 # $Id: makefile,v 1. 3 2000-02-09 23:50:13bird Exp $1 # $Id: makefile,v 1.4 2000-05-13 17:18:39 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # include common definitions11 # Directory macros. 12 12 PDWIN32_INCLUDE = ..\..\include 13 PDWIN32_BIN = ..\..\bin\$(OBJDIR) 14 PDWIN32_LIB = ..\..\lib 13 15 PDWIN32_TOOLS = ..\bin 16 PDWIN32_TCOMMON = ..\common 17 18 19 # Defines for the pdwin32.post and pdwin32.mk 20 LOCALCLEAN = 1 21 CLEANEXTRAS = $(PDWIN32_TOOLS)\impdef.exe *.log 22 EXETARGET = 1 23 24 25 # Compiler, tools, and interference rules. 14 26 !include $(PDWIN32_INCLUDE)\pdwin32.mk 15 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" 26 !endif 27 !include $(PDWIN32_TCOMMON)\common.mk 27 28 28 29 29 30 30 all: ImpDef.exe ..\bin\ImpDef.exe 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- 31 35 32 36 33 ImpDef.exe: ImpDef.obj ..\common\commonicc.lib 34 $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib 37 # Object files. All objects should be prefixed with $(OBJDIR)! 38 OBJS= \ 39 $(OBJDIR)\ImpDef.obj 35 40 36 ..\bin\ImpDef.exe: ImpDef.exe 41 42 # All rule - build objs, target dll, copies dll to bin and makes libs. 43 all: $(OBJDIR) \ 44 $(PDWIN32_TOOLS)\ImpDef.exe 45 46 47 ImpDef.exe: $(OBJS) $(COMMONLIB) 48 $(LD) $(LDFLAGS) -Fe$@ $** $(RTLLIB) os2386.lib 49 50 $(PDWIN32_TOOLS)\ImpDef.exe: ImpDef.exe 37 51 $(CP) $** $@ 38 52 39 ..\common\commonicc.lib: 40 @cd ..\common 41 @nmake /nologo commonicc.lib 42 @cd ..\impdef 53 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 43 58 44 59 45 dep: 46 $(DEPEND) $(CINCLUDES) -I *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h \ 47 *.c *.cpp 48 49 !ifndef NODEP 50 !include .depend 51 !endif 52 53 54 clean: 55 @$(RM) *.obj *.exe *.map *.pch *.log 56 57 60 # Include common rules 61 !include $(PDWIN32_INCLUDE)\pdwin32.post 62 !include $(PDWIN32_TCOMMON)\common.mk.post
Note:
See TracChangeset
for help on using the changeset viewer.