Last change
on this file since 2512 was 2446, checked in by bird, 20 years ago |
serious restructuring in progress.
|
-
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
|
Rev | Line | |
---|
[157] | 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 |
|
---|
[580] | 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
|
---|
[894] | 14 |
|
---|
[157] | 15 | include common.smak
|
---|
| 16 |
|
---|
[236] | 17 | libs: $(.MODULE)
|
---|
| 18 |
|
---|
[894] | 19 | # The rule for building an archive with imports
|
---|
| 20 | $(eval $(call def_implib))
|
---|
[157] | 21 |
|
---|
[580] | 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
|
---|
[894] | 33 |
|
---|
[157] | 34 | include mkomflib.smak
|
---|
| 35 | include comend.smak
|
---|
[894] | 36 | .NOINST :=
|
---|
Note:
See
TracBrowser
for help on using the repository browser.