|
Last change
on this file since 897 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.7
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
808 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 | ifeq ($(findstring prof,$(.TKIND)),)
|
|---|
| 7 | ifneq ($(findstring aout,$(.TKIND)),)
|
|---|
| 8 | ifeq ($(MODE),opt)
|
|---|
| 9 | .NOINST := 1
|
|---|
| 10 | endif
|
|---|
| 11 | endif
|
|---|
| 12 | endif
|
|---|
| 13 |
|
|---|
| 14 | include common.smak
|
|---|
| 15 |
|
|---|
| 16 | libs: $(.MODULE)
|
|---|
| 17 |
|
|---|
| 18 | # The rule for building an archive
|
|---|
| 19 | $(eval $(call def_lib))
|
|---|
| 20 |
|
|---|
| 21 | # Rule for stripping debug info.
|
|---|
| 22 | ifdef .NOINST
|
|---|
| 23 | INS.FILES += $(INS)$(.INSDIR)$(.TARGET)
|
|---|
| 24 | $(INS)$(.INSDIR)$(.TARGET): $.$(.TARG)
|
|---|
| 25 | objcopy --strip-debug $< $@
|
|---|
| 26 |
|
|---|
| 27 | INS.FILES += $(INS)$(.INSDIR)dbg/$(.TARGET)
|
|---|
| 28 | $(INS)$(.INSDIR)dbg/$(.TARGET): $.$(.TARG)
|
|---|
| 29 | mkdir -p $(INS)$(.INSDIR)dbg
|
|---|
| 30 | $(call CP,$<,$@)
|
|---|
| 31 | endif
|
|---|
| 32 |
|
|---|
| 33 | include mkomflib.smak
|
|---|
| 34 | include comend.smak
|
|---|
| 35 | .NOINST :=
|
|---|
| 36 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.