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 |
|
|
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 |
+ |
|
55 |
|
# |
56 |
|
# -- Some tool setups which dont yet have a home |
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 |
66 |
|
# |
67 |
|
# Dependency information |
68 |
|
# |
69 |
< |
include dependencies.mk |
69 |
> |
-include dependencies.mk |
70 |
|
|
71 |
|
# |
72 |
|
# Process Subdirs |
74 |
|
ifdef SUBDIRS |
75 |
|
$(SUBDIRS):: |
76 |
|
@echo ------- Building ---- $@ ----------- |
77 |
< |
@cd $(LOCALTOP)/$(ClassDir)/$@; $(TOOL_HOME)/scram build $(MAKETARGETS) |
77 |
> |
@cd $(LOCALTOP)/$(ClassDir)/$@; $(TOOL_HOME)/scram build |
78 |
|
endif |
79 |
|
|
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 |
114 |
|
# it has come through the wrapper script |
115 |
|
|
116 |
|
ifdef DefaultMakefile |
117 |
< |
clean: |
117 |
> |
clean:: |
118 |
|
@echo Cleaning working folder $(workdir) |
119 |
|
@rm -rf $(LOCALTOP)/$(workdir)/* |
120 |
|
|