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.8 by williamc, Mon Mar 22 18:38:39 1999 UTC vs.
Revision 1.16 by williamc, Tue Apr 6 07:50:31 1999 UTC

# Line 10 | Line 10 | ifndef DefaultMakefile
10   all: exit
11   endif
12  
13 + # -- storage of libraries
14 + librarystore:=$(LOCALTOP)/$(INTlib)
15 +
16 + libsavaillocal=$(notdir $(wildcard $(librarystore)/*))
17 + libsavailbase=$(notdir $(wildcard $(RELEASETOP)/$(INTlib)/*))
18 + libsavail=$(sort $(libsavailbase) $(libsavaillocal))
19 + libslocal=$(foreach var,$(lib),$(filter lib$(var).a, $(libsavail)))
20 + libslocal_I=$(foreach var,$(lib_I),$(filter lib$(var).a, $(libsavail)))
21 + libslocal_d=$(foreach var,$(lib_d),$(filter lib$(var).a, $(libsavail)))
22  
23   #
24   # Pointing to file storage locations for the various types
# Line 22 | Line 31 | vpath %.o $(LOCALTOP)/$(workdir):$(RELEA
31   #
32   ifdef ReqDependencies
33   always:$(LOCALTOP)/$(workdir)/PackageReqs
34 < $(LOCALTOP)/$(workdir)/PackageReqs::$(ReqDependencies)
34 > $(LOCALTOP)/$(workdir)/PackageReqs:$(ReqDependencies)
35          $(TOOL_HOME)/BuildPackageReqs $@ $?
36   endif
37  
# Line 39 | Line 48 | ifdef DefaultBuildFile
48   include ${DefaultBuildFile}
49   endif
50  
51 + #
52 + # Site settings
53 + #
54 + clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile
55 + include $(clientmakefile)
56  
57   #
58   # get build targets
59   #
60 + include ${TOOL_HOME}/compilers.mk
61   include ${TOOL_HOME}/toolrules.mk
62  
63 +
64   #
65   # -- Some tool setups which dont yet have a home
66   #
67   CPPFLAGS += $(INCLUDEPATH)
68  
53 #
54 # Site settings
55 #
56 clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile
57 include $(clientmakefile)
69  
70   #
71   # now add our includepath
# Line 64 | Line 75 | INCLUDEPATH+=-I$(LOCALTOP)/${INTsrc} -I$
75   #
76   # Dependency information
77   #
78 < include dependencies.mk
78 > -include dependencies.mk
79  
80   #
81   # Process Subdirs
# Line 78 | Line 89 | endif
89   #
90   # clientmakefile creation
91   #
92 < $(clientmakefile):: $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings_reqs $(projdeps) $(TOOL_HOME)/ProcessSiteFile
92 > $(clientmakefile): $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings $(LOCALTOP)/.SCRAM/${SCRAM_ARCH}/clientsettings_reqs $(projdeps) $(TOOL_HOME)/ProcessSiteFile
93          @$(TOOL_HOME)/ProcessSiteFile $< $@ $(projdeps)
94  
95   HELPINCLUDEMAKEFILES := ${DefaultBuildFile} ${TOOL_HOME}/toolrules.mk
# Line 112 | Line 123 | echo_%:
123   # it has come through the wrapper script
124  
125   ifdef DefaultMakefile
126 < clean:
126 > clean::
127          @echo Cleaning working folder $(workdir)
128 <        @rm -rf $(LOCALTOP)/$(workdir)/*
128 >        @rm -rf $(LOCALTOP)/$(workdir)/.* $(LOCALTOP)/$(workdir)/*
129  
130   very_clean:
131          @echo Cleaning all working folders in $(INTwork)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines