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.1 by williamc, Mon Mar 1 10:37:54 1999 UTC vs.
Revision 1.13 by williamc, Thu Apr 1 08:27:33 1999 UTC

# Line 1 | Line 1
1   #
2   # Preliminaries
3   #
4 + LIBDIR:=$(LOCALTOP)/lib/$(SCRAM_ARCH) $(RELEASETOP)/lib/$(SCRAM_ARCH)
5  
6   #
7   # Make sure nobody tries to run this directly through gmake
# Line 21 | 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 38 | 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 50 | Line 57 | include ${TOOL_HOME}/toolrules.mk
57   #
58   CPPFLAGS += $(INCLUDEPATH)
59  
53 #
54 # Site settings
55 #
56 clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile
57 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)::
76          @echo ------- Building ---- $@ -----------
77 <        cd $(LOCALTOP)/$(THISDIR)/$@; $(TOOL_HOME)/scram build
77 >        @cd $(LOCALTOP)/$(ClassDir)/$@; $(TOOL_HOME)/scram build
78   endif
79  
80   #
81   # clientmakefile creation
82   #
83 < $(clientmakefile): $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings $(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 107 | 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)/.* $(LOCALTOP)/$(workdir)/*
120  
121   very_clean:
122          @echo Cleaning all working folders in $(INTwork)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines