|
Last change
on this file since 767 was 578, checked in by bird, 22 years ago |
|
Map files and .a stripping.
|
-
Property cvs2svn:cvs-rev
set to
1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
846 bytes
|
| Line | |
|---|
| 1 | # This submakefile is included when a module needs to build a DLL.
|
|---|
| 2 | # For a list of additional variables that can be defined prior to including
|
|---|
| 3 | # this submakefile see build.txt.
|
|---|
| 4 |
|
|---|
| 5 | include common.smak
|
|---|
| 6 |
|
|---|
| 7 | tools: $(.MODULE)
|
|---|
| 8 |
|
|---|
| 9 | # Linking rule
|
|---|
| 10 | RULES += \
|
|---|
| 11 | $(call FECHO,_@,$$.$(.TARG): $(.OBJS) $(.DEPS) $(.TDEF))$(NL)\
|
|---|
| 12 | $(call FECHO,_@, $$(call DO.LINK.dll,$(.TLDF)))$(NL)
|
|---|
| 13 |
|
|---|
| 14 | # Add unstripped copy.
|
|---|
| 15 | ifeq ($(MODE),opt)
|
|---|
| 16 | ifdef .TARGET
|
|---|
| 17 | ifneq ($(.TARGET),$(.TARGET:.dll=.dbg))
|
|---|
| 18 | INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.dll=.dbg)
|
|---|
| 19 | $(INS)$(.INSDIR)$(.TARGET:.dll=.dbg): $.$(.TARG:.dll=.dbg)
|
|---|
| 20 | $(call CP,$<,$@)
|
|---|
| 21 | endif
|
|---|
| 22 | endif
|
|---|
| 23 | endif
|
|---|
| 24 |
|
|---|
| 25 | # Map file.
|
|---|
| 26 | ifdef .TARGET
|
|---|
| 27 | ifneq ($(.TARGET),$(.TARGET:.exe=.map))
|
|---|
| 28 | INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.map)
|
|---|
| 29 | $(INS)$(.INSDIR)$(.TARGET:.exe=.map): $.$(.TARG:.exe=.map)
|
|---|
| 30 | $(call CP,$<,$@)
|
|---|
| 31 | endif
|
|---|
| 32 | endif
|
|---|
| 33 |
|
|---|
| 34 | include comend.smak
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.