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