Changeset 5502 for trunk/tools
- Timestamp:
- Apr 14, 2001, 11:09:23 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/dbginfo/makefile
r4712 r5502 1 # $Id: makefile,v 1. 7 2000-12-02 23:26:59bird Exp $1 # $Id: makefile,v 1.8 2001-04-14 09:09:23 bird Exp $ 2 2 3 3 # 4 4 # Makefile for debug info convertes - experimental. 5 # Don't bother to cleanup this mess yet.6 5 # 7 # Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)6 # Copyright (c) 2000-2001 knut st. osmundsen (knut.stange.osmundsen@pmsc.no) 8 7 # 9 8 # Project Odin Software License can be found in LICENSE.TXT … … 11 10 12 11 12 # 13 13 # Directory macros. 14 # 14 15 ODIN32_TCOMMON = ..\common 16 ODIN32_BIN = $(ODIN32_TOOLS) 15 17 16 18 17 # Compiler, tools, and interference rules. 18 EXETARGET=1 19 OLD_STYLE=1 19 # 20 # Tell buildenvironment that we're making an VIO .exe. 21 # Tell buildenvironment that we like to use static linked CRT. 22 # Tell buildenvironment that we should not copy this into /bin. 23 # 24 EXETARGET = 1 25 VIO = 1 26 STATIC_CRT = 1 27 NO_MAIN_BIN_COPY = 1 28 29 30 # 31 # include common definitions 32 # 20 33 !include ../../makefile.inc 21 34 !include $(ODIN32_TCOMMON)\common.mk 22 35 23 36 24 # Flag overloads and local macros. 25 CINCLUDES = -I$(ODIN32_TCOMMON) 26 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- -Gm- -Ti+ -Tm- 27 CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- -Gm- -Ti+ -Tm- $(CXXEXCEPTIONS) 28 29 30 # All rule - build objs, target dll, copies dll to bin and makes libs. 31 all: kHll.exe # Sym2Hll.exe dbgLXDumper.exe 37 # 38 # Flag overrides. 39 # 40 !if "$(VAC3)" == "1" || "$(VAC36)" == "1" 41 CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- 42 CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- $(CXXEXCEPTIONS) 43 !else 44 !if "$(WAT)" == "1" 45 CXXFLAGS += $(CXXEXCEPTIONS) 46 !else 47 CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS) 48 !endif 49 !endif 32 50 33 51 34 52 # 35 # Sym2Hll executable rule.53 # Object files. Prefix with OBJDIR and one space before the '\'. 36 54 # 37 Sym2Hll: 38 Sym2Hll.exe: Sym2Hll.obj kHll.obj $(COMMONLIB) 39 $(LD2) $(LD2FLAGS) /PMTYPE:vio /EXEC /OUT:$@ $** $(RTLLIB) os2386.lib 55 OBJS = \ 56 $(OBJDIR)\kHll.obj \ 57 $(OBJDIR)\kHllMain.obj 58 40 59 41 60 # 42 # New LX debug info dumper.61 # Libraries. One space before the '\'. 43 62 # 44 kHll.exe: kHll.obj kHllMain.obj $(COMMONLIB) 45 $(LD2) $(LD2FLAGS) /PMTYPE:vio /EXEC /OUT:$@ $** $(RTLLIB) os2386.lib 63 LIBS = \ 64 $(COMMONLIB) \ 65 $(RTLLIB) \ 66 os2386.lib 67 46 68 47 69 # 48 # LX debug info dumper (HLL only) executable rule.70 # Target name - name of the exe without extention and path. 49 71 # 50 dbgLXDumper.exe: dbgLXDumper.obj dummy.obj 51 $(LD2) $(LD2FLAGS) /PMTYPE:vio /EXEC /OUT:$@ $** $(RTLLIB) os2386.lib 52 53 # Dummy source file rule 54 dummy.c: 55 echo creating <<$@ 56 /* dummy.c */ 57 int idummy; 58 <<keep 59 60 dummy.obj: dummy.c 61 icc -c $** 72 TARGET = kHll 62 73 63 74
Note:
See TracChangeset
for help on using the changeset viewer.