Changeset 578


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

Map files and .a stripping.

Location:
trunk/src/emx
Files:
5 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r577 r578  
    3737
    3838ifdef .INSDIR
     39ifndef .NOINST
    3940INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
    4041$(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
    4142        $(call CP,$<,$@)
     43endif   
    4244endif # def .INSDIR
    4345
  • trunk/src/emx/mkdll.smak

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r577 r578  
    2222endif   
    2323endif                           
     24
     25# Map file.
     26ifdef .TARGET
     27ifneq ($(.TARGET),$(.TARGET:.exe=.map))
     28INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.map)
     29$(INS)$(.INSDIR)$(.TARGET:.exe=.map): $.$(.TARG:.exe=.map)
     30        $(call CP,$<,$@)
     31endif
     32endif
    2433                               
    2534include comend.smak
  • trunk/src/emx/mkexe.smak

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r577 r578  
    2222endif   
    2323endif                           
     24
     25# Map file.
     26ifdef .TARGET
     27ifneq ($(.TARGET),$(.TARGET:.exe=.map))
     28INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.map)
     29$(INS)$(.INSDIR)$(.TARGET:.exe=.map): $.$(.TARG:.exe=.map)
     30        $(call CP,$<,$@)
     31endif
     32endif
     33
    2434                               
    2535include comend.smak
  • 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 :=
  • 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.