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/mkimplib.smak

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r577 r578  
    33# this submakefile see build.txt.
    44
     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
     13                   
    514include common.smak
    615
     
    1221        $(call FECHO,_@,        $$(call DO.IMPLIB))$(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 :=
Note: See TracChangeset for help on using the changeset viewer.