ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/binary.mk
Revision: 1.1.2.1.2.1
Committed: Tue Aug 22 18:14:59 2000 UTC (24 years, 8 months ago) by williamc
Branch: HPWbranch
CVS Tags: BuildSystemProto1, V0_18_0, V0_18_0model, V0_17_1, V0_18_0alpha, V0_17_0, V0_16_4, V0_16_3, V0_16_2, V0_16_1, V0_16_0, V0_15_1, V0_15_0, V0_15_0beta
Branch point for: V0_17branch, V0_16branch, V0_15branch
Changes since 1.1.2.1: +3 -3 lines
Log Message:
remove perl5 location dependence

File Contents

# User Rev Content
1 williamc 1.1.2.1 # binary build rules
2     # Control Variables
3     # -----------------
4     # files
5     # binname
6     # SharedSuffix
7     # ArchiveSuffix
8    
9     # ------ <Build> targets ----
10     binname=buildname
11     ifneq ($(strip $(files)),)
12     bin_%:: dependencies.mk binmsg
13     bin_opt:: $(binname)
14     bin_debug:: $(binname)_d
15     bin_debug_local:: $(binname)_d
16     endif
17    
18     include $(TOOL_HOME)/BuildSystem/objectfiles.mk
19    
20     # -- Set the library vpaths
21     VPATH+=$(binstore):$(RELEASETOP)/$(INTbin)
22    
23     .PHONY: libmsg
24     binmsg::
25     @echo --------------- $(binname) --------------
26    
27    
28     #------------------------------------------------
29     # Set up some system variables
30     # - all begin with S
31     #------------------------------------------------
32    
33     Sdebugobjs:=$(addsuffix _d.o,$(files))
34     Sbinobjs:=$(addsuffix _o.o,$(files))
35     Spicbinobjs:=$(addsuffix _pic.o,$(files))
36     SInsureobjs:=$(addsuffix _Insure.o,$(files))
37     SpicInsureobjs:=$(addsuffix _picInsure.o,$(files))
38    
39     # Now more specific rules
40    
41     $(binname)_d: $(Sbinobjs)
42     $(CClinkCmdDebug)
43 williamc 1.1.2.1.2.1 @$(SCRAMPERL) $(SCRAM_HOME)/src/scramdatestamp $@.ds $@ $^
44 williamc 1.1.2.1
45     $(binname):
46     $(CClinkCmd)
47 williamc 1.1.2.1.2.1 @$(SCRAMPERL) $(SCRAM_HOME)/src/scramdatestamp $@.ds $@ $^
48 williamc 1.1.2.1
49     $(binname)_insure:
50     $(CClinkCmdInsure)
51 williamc 1.1.2.1.2.1 @$(SCRAMPERL) $(SCRAM_HOME)/src/scramdatestamp $@.ds $@ $^
52 williamc 1.1.2.1
53     # -- dependencies
54     $(binname).dep: $(binname)
55     -include $(binname).dep
56