source: branches/libc-0.6/src/emx/mkdll.smak@ 3834

Last change on this file since 3834 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.3
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 746 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
5include common.smak
6
7tools: $(.MODULE)
8
9# Linking rule
10$(eval $(call def_link_dll))
11
12# Add unstripped copy.
13ifeq ($(MODE),opt)
14ifdef .TARGET
15ifneq ($(.TARGET),$(.TARGET:.dll=.dbg))
16INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.dll=.dbg)
17$(INS)$(.INSDIR)$(.TARGET:.dll=.dbg): $.$(.TARG:.dll=.dbg)
18 $(call CP,$<,$@)
19endif
20endif
21endif
22
23# Map file.
24ifdef .TARGET
25ifneq ($(.TARGET),$(.TARGET:.exe=.map))
26INS.FILES += $(INS)$(.INSDIR)$(.TARGET:.exe=.map)
27$(INS)$(.INSDIR)$(.TARGET:.exe=.map): $.$(.TARG:.exe=.map)
28 $(call CP,$<,$@)
29endif
30endif
31
32include comend.smak
Note: See TracBrowser for help on using the repository browser.