source: branches/libc-0.6/src/emx/mkimplib.smak@ 2577

Last change on this file since 2577 was 894, checked in by bird, 22 years ago

Converted to make 3.80+, no need to generate makefiles.

  • Property cvs2svn:cvs-rev set to 1.5
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 877 bytes
Line 
1# This submakefile is included when a module needs to build a library.
2# For a list of additional variables that can be defined prior to including
3# this submakefile see build.txt.
4
5## for opt builds we have our own install rules
6# objcopy nukes imports.
7#ifeq ($(findstring prof,$(.TKIND)),)
8#ifneq ($(findstring aout,$(.TKIND)),)
9#ifeq ($(MODE),opt)
10#.NOINST := 1
11#endif
12#endif
13#endif
14
15include common.smak
16
17libs: $(.MODULE)
18
19# The rule for building an archive with imports
20$(eval $(call def_implib))
21
22## Rule for stripping debug info.
23#ifdef .NOINST
24#INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
25#$(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
26# objcopy --strip-debug $< $@
27#
28#INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
29#$(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
30# mkdir -p $(INS)$(.INSDIR)dbg
31# $(call CP,$<,$@)
32#endif
33
34include mkomflib.smak
35include comend.smak
36.NOINST :=
Note: See TracBrowser for help on using the repository browser.