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 |
52 |
|
# Site settings |
53 |
|
# |
54 |
|
clientmakefile=$(LOCALTOP)/$(INTwork)/clientmakefile |
55 |
< |
include $(clientmakefile) |
55 |
> |
-include $(clientmakefile) |
56 |
|
|
57 |
|
# |
58 |
|
# get build targets |
81 |
|
# Process Subdirs |
82 |
|
# |
83 |
|
ifdef SUBDIRS |
84 |
< |
$(SUBDIRS): |
84 |
> |
$(SUBDIRS):: |
85 |
|
@echo ------- Building ---- $@ ----------- |
86 |
|
@cd $(LOCALTOP)/$(ClassDir)/$@; $(TOOL_HOME)/scram build |
87 |
|
endif |
125 |
|
ifdef DefaultMakefile |
126 |
|
clean:: |
127 |
|
@echo Cleaning working folder $(workdir) |
128 |
< |
@rm -rf $(LOCALTOP)/$(workdir)/* |
128 |
> |
ifdef LOCALTOP |
129 |
> |
ifdef workdir |
130 |
> |
@rm -rf $(LOCALTOP)/$(workdir)/.* $(LOCALTOP)/$(workdir)/* |
131 |
> |
endif |
132 |
> |
endif |
133 |
|
|
134 |
|
very_clean: |
135 |
|
@echo Cleaning all working folders in $(INTwork) |
136 |
|
@cd $(LOCALTOP)/$(INTwork) |
137 |
+ |
ifdef LOCALTOP |
138 |
+ |
ifdef workdir |
139 |
|
@rm -rf $(LOCALTOP)/$(INTwork)/*.o |
140 |
|
endif |
141 |
+ |
endif |
142 |
+ |
endif |