Changeset 5502 for trunk/tools


Ignore:
Timestamp:
Apr 14, 2001, 11:09:23 AM (24 years ago)
Author:
bird
Message:

Updated makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/dbginfo/makefile

    r4712 r5502  
    1 # $Id: makefile,v 1.7 2000-12-02 23:26:59 bird Exp $
     1# $Id: makefile,v 1.8 2001-04-14 09:09:23 bird Exp $
    22
    33#
    44# Makefile for debug info convertes - experimental.
    5 #   Don't bother to cleanup this mess yet.
    65#
    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)
    87#
    98# Project Odin Software License can be found in LICENSE.TXT
     
    1110
    1211
     12#
    1313# Directory macros.
     14#
    1415ODIN32_TCOMMON = ..\common
     16ODIN32_BIN     = $(ODIN32_TOOLS)
    1517
    1618
    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#
     24EXETARGET = 1
     25VIO = 1
     26STATIC_CRT = 1
     27NO_MAIN_BIN_COPY = 1
     28
     29
     30#
     31# include common definitions
     32#
    2033!include ../../makefile.inc
    2134!include $(ODIN32_TCOMMON)\common.mk
    2235
    2336
    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"
     41CFLAGS   = $(CFLAGS)   -Wall+ppt-ppc-inl-cnv-gnr-vft-
     42CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft- $(CXXEXCEPTIONS)
     43!else
     44!if "$(WAT)" == "1"
     45CXXFLAGS += $(CXXEXCEPTIONS)
     46!else
     47CXXFLAGS = $(CXXFLAGS) $(CXXEXCEPTIONS)
     48!endif
     49!endif
    3250
    3351
    3452#
    35 # Sym2Hll executable rule.
     53# Object files. Prefix with OBJDIR and one space before the '\'.
    3654#
    37 Sym2Hll:
    38 Sym2Hll.exe: Sym2Hll.obj kHll.obj $(COMMONLIB)
    39     $(LD2) $(LD2FLAGS) /PMTYPE:vio /EXEC /OUT:$@ $** $(RTLLIB) os2386.lib
     55OBJS = \
     56$(OBJDIR)\kHll.obj \
     57$(OBJDIR)\kHllMain.obj
     58
    4059
    4160#
    42 # New LX debug info dumper.
     61# Libraries. One space before the '\'.
    4362#
    44 kHll.exe: kHll.obj kHllMain.obj $(COMMONLIB)
    45     $(LD2) $(LD2FLAGS) /PMTYPE:vio /EXEC /OUT:$@ $** $(RTLLIB) os2386.lib
     63LIBS = \
     64$(COMMONLIB) \
     65$(RTLLIB) \
     66os2386.lib
     67
    4668
    4769#
    48 # LX debug info dumper (HLL only) executable rule.
     70# Target name - name of the exe without extention and path.
    4971#
    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  $**
     72TARGET = kHll
    6273
    6374
Note: See TracChangeset for help on using the changeset viewer.