Ignore:
Timestamp:
Aug 11, 2003, 1:45:40 PM (22 years ago)
Author:
bird
Message:

Map files and .a stripping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/mklib.smak

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r577 r578  
    22# For a list of additional variables that can be defined prior to including
    33# this submakefile see build.txt.
     4
     5# for opt builds we have our own install rules
     6ifeq ($(findstring prof,$(.TKIND)),)
     7ifneq ($(findstring aout,$(.TKIND)),)
     8ifeq ($(MODE),opt)
     9.NOINST := 1
     10endif
     11endif
     12endif
    413
    514include common.smak
     
    1221        $(call FECHO,_@,        $$(DO.LIBRARY))$(NL)
    1322
     23# Rule for stripping debug info.
     24ifdef .NOINST
     25INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
     26$(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
     27        objcopy --strip-debug $< $@
     28       
     29INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
     30$(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
     31        mkdir -p $(INS)$(.INSDIR)dbg
     32        $(call CP,$<,$@)
     33endif   
     34
    1435include mkomflib.smak
    1536include comend.smak
     37.NOINST :=
     38
Note: See TracChangeset for help on using the changeset viewer.