source: CMT/v1r14p20031120/fragments/constituent @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 1.8 KB
Line 
1#-- start of constituent ------
2
3$(bin)${CONSTITUENT}.make :: $(${CONSTITUENT}_dependencies) build_library_links dirs
4        @echo "------> (constituents.make) Building ${CONSTITUENT}.make"; \
5          $(cmtexe) build constituent_makefile ${CONSTITUENT} -quiet -tag=$(tags); \
6          if test ! "$(bin)" = "./"; then /bin/mv -f ${CONSTITUENT}.make $(bin); fi
7
8${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(bin)${CONSTITUENT}.make
9        @echo "------> (constituents.make) Starting ${CONSTITUENT}"
10        @$(MAKE) -f $(bin)${CONSTITUENT}.make $(MAKEFLAGS) ${CONSTITUENT}
11        @echo "------> (constituents.make) ${CONSTITUENT} done"
12       
13
14clean :: ${CONSTITUENT}clean
15
16${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) ##$(bin)${CONSTITUENT}.make
17        @if test -f $(bin)${CONSTITUENT}.make; then \
18          echo "------> (constituents.make) Starting ${CONSTITUENT}clean"; \
19          $(MAKE) -f $(bin)${CONSTITUENT}.make $(MAKEFLAGS) ${CONSTITUENT}clean; \
20          /bin/rm -f $(bin)${CONSTITUENT}.make $(bin)${CONSTITUENT}_dependencies.make; \
21        fi
22
23install :: ${CONSTITUENT}install
24
25${CONSTITUENT}install :: $(${CONSTITUENT}_dependencies) $(bin)${CONSTITUENT}.make
26        @echo "------> (constituents.make) Starting install ${CONSTITUENT}"
27        @$(MAKE) -f $(bin)${CONSTITUENT}.make $(MAKEFLAGS) install
28        @echo "------> (constituents.make) install ${CONSTITUENT} done"
29
30uninstall :: ${CONSTITUENT}uninstall
31
32${CONSTITUENT}uninstall :: $(bin)${CONSTITUENT}.make
33        @echo "------> (constituents.make) Starting uninstall ${CONSTITUENT}"
34        @$(MAKE) -f $(bin)${CONSTITUENT}.make $(MAKEFLAGS) uninstall
35        @echo "------> (constituents.make) uninstall ${CONSTITUENT} done"
36
37.DEFAULT::
38        @echo "------> (constituents.make) Starting $@ ${CONSTITUENT}"
39        @echo Using default action for $@
40        @echo "------> (constituents.make) $@ ${CONSTITUENT} done"
41
42
43#-- end of constituent ------
Note: See TracBrowser for help on using the repository browser.