ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/basics.mk
(Generate patch)

Comparing COMP/SCRAM/src/basics.mk (file contents):
Revision 1.4 by williamc, Fri Mar 19 14:49:46 1999 UTC vs.
Revision 1.11 by williamc, Tue Mar 30 15:07:34 1999 UTC

# Line 22 | Line 22 | vpath %.o $(LOCALTOP)/$(workdir):$(RELEA
22   #
23   ifdef ReqDependencies
24   always:$(LOCALTOP)/$(workdir)/PackageReqs
25 < $(LOCALTOP)/$(workdir)/PackageReqs::$(ReqDependencies)
25 > $(LOCALTOP)/$(workdir)/PackageReqs:$(ReqDependencies)
26          $(TOOL_HOME)/BuildPackageReqs $@ $?
27   endif
28  
# Line 39 | Line 39 | ifdef DefaultBuildFile
39   include ${DefaultBuildFile}
40   endif
41  
42 + #
43 + # Site settings
44 + #
45 + clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile
46 + include $(clientmakefile)
47  
48   #
49   # get build targets
50   #
51 + include ${TOOL_HOME}/compilers.mk
52   include ${TOOL_HOME}/toolrules.mk
53  
54  
# Line 51 | Line 57 | include ${TOOL_HOME}/toolrules.mk
57   #
58   CPPFLAGS += $(INCLUDEPATH)
59  
54 #
55 # Site settings
56 #
57 clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile
58 include $(clientmakefile)
60  
61   #
62   # now add our includepath
63   #
64   INCLUDEPATH+=-I$(LOCALTOP)/${INTsrc} -I$(RELEASETOP)/${INTsrc}
65  
66 + #
67 + # Dependency information
68 + #
69 + -include dependencies.mk
70 +
71   #
72   # Process Subdirs
73   #
74   ifdef SUBDIRS
75 < $(SUBDIRS)::
75 > $(SUBDIRS):
76          @echo ------- Building ---- $@ -----------
77          @cd $(LOCALTOP)/$(ClassDir)/$@; $(TOOL_HOME)/scram build
78   endif
# Line 74 | Line 80 | endif
80   #
81   # clientmakefile creation
82   #
83 < $(clientmakefile):: $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings_reqs $(projdeps) $(TOOL_HOME)/ProcessSiteFile
83 > $(clientmakefile): $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings_reqs $(projdeps) $(TOOL_HOME)/ProcessSiteFile
84          @$(TOOL_HOME)/ProcessSiteFile $< $@ $(projdeps)
85  
86   HELPINCLUDEMAKEFILES := ${DefaultBuildFile} ${TOOL_HOME}/toolrules.mk
# Line 108 | Line 114 | echo_%:
114   # it has come through the wrapper script
115  
116   ifdef DefaultMakefile
117 < clean:
117 > clean::
118          @echo Cleaning working folder $(workdir)
119 <        @rm -f $(LOCALTOP)/$(workdir)/*
119 >        @rm -rf $(LOCALTOP)/$(workdir)/*
120  
121   very_clean:
122          @echo Cleaning all working folders in $(INTwork)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines