source: trunk/base/vendor/Makefile.in @ 118297

Last change on this file since 118297 was 118297, checked in by cal@…, 6 years ago

base: bundle TclX extension to support signal handling

File size: 2.8 KB
Line 
1TCL_SUBDIR=                     @VENDOR_TCL_SUBDIR@
2TCL_TARGETS=            @VENDOR_TCL_INSTALL@
3
4TCLTHREAD_SUBDIR=       @VENDOR_TCLTHREAD_SUBDIR@
5TCLTREHAD_TARGETS=      @VENDOR_TCLTHREAD_INSTALL@
6
7TCLX_SUBDIR=            @VENDOR_TCLX_SUBDIR@
8TCLX_TARGETS=           @VENDOR_TCLX_INSTALL@
9
10TCLLIB_SUBDIR=          @VENDOR_TCLLIB_SUBDIR@
11TCLLIB_TARGETS=         @VENDOR_TCLLIB_INSTALL@
12
13DESTROOT=               @abs_top_builddir@/vendor/vendor-destroot
14
15.PHONY: all clean distclean install destroot test
16.PHONY: destroot-tcl destroot-tcllthread destroot-tclx destroot-tcllib
17.PHONY: install-tcl install-tcllthread install-tclx install-tcllib
18.PHONY: %-tcl %-tcllthread %-tclx %-tcllib
19
20# for make all, run destroot (where destroot will depend on all of each
21# subpackage)
22all: destroot
23
24%-tcl:
25        @echo ===\> making $(@:%-tcl=%) in ${DIRPRFX}@VENDOR_TCL_SUBDIR@
26        @$(MAKE) -C @VENDOR_TCL_SUBDIR@ $(@:%-tcl=%)
27
28%-tclthread:
29        @echo ===\> making $(@:%-tclthrad=%) in ${DIRPRFX}@VENDOR_TCLTHREAD_SUBDIR@
30        @$(MAKE) -C @VENDOR_TCLTHREAD_SUBDIR@ $(@:%-tclthread=%)
31
32%-tclx:
33        @echo ===\> making $(@:%-tclx=%) in ${DIRPRFX}@VENDOR_TCLX_SUBDIR@
34        @$(MAKE) -C @VENDOR_TCLX_SUBDIR@ $(@:%-tclx=%)
35
36%-tcllib:
37        @echo ===\> making $(@:%-tcllib=%) in ${DIRPRFX}@VENDOR_TCLLIB_SUBDIR@
38        @$(MAKE) -C @VENDOR_TCLLIB_SUBDIR@ $(@:%-tcllib=%)
39
40destroot: destroot-tcl destroot-tclthread destroot-tclx destroot-tcllib
41destroot-tcl: all-tcl
42        @echo ===\> staging to destroot in ${DIRPRFX}@VENDOR_TCL_SUBDIR@
43        @$(MAKE) -C @VENDOR_TCL_SUBDIR@ DESTDIR=${DESTROOT} @VENDOR_TCL_INSTALL@
44
45destroot-tclthread: all-tclthread
46        @echo ===\> staging to destroot in ${DIRPRFX}@VENDOR_TCLTHREAD_SUBDIR@
47        @$(MAKE) -C @VENDOR_TCLTHREAD_SUBDIR@ DESTDIR=${DESTROOT} @VENDOR_TCLTHREAD_INSTALL@
48
49destroot-tclx: all-tclx
50        @echo ===\> staging to destroot in ${DIRPRFX}@VENDOR_TCLX_SUBDIR@
51        @$(MAKE) -C @VENDOR_TCLX_SUBDIR@ DESTDIR=${DESTROOT} @VENDOR_TCLX_INSTALL@
52
53destroot-tcllib: all-tcllib
54        @echo ===\> staging to destroot in ${DIRPRFX}@VENDOR_TCLLIB_SUBDIR@
55        @$(MAKE) -C @VENDOR_TCLLIB_SUBDIR@ DESTDIR=${DESTROOT} @VENDOR_TCLLIB_INSTALL@
56
57install: install-tcl install-tclthread install-tclx install-tcllib
58install-tcl:
59        @echo ===\> making $(@:%-tcl=%) in ${DIRPRFX}@VENDOR_TCL_SUBDIR@
60        @$(MAKE) -C @VENDOR_TCL_SUBDIR@ @VENDOR_TCL_INSTALL@
61
62install-tclthread:
63        @echo ===\> making $(@:%-tclthrad=%) in ${DIRPRFX}@VENDOR_TCLTHREAD_SUBDIR@
64        @$(MAKE) -C @VENDOR_TCLTHREAD_SUBDIR@ @VENDOR_TCLTHREAD_INSTALL@
65
66install-tclx:
67        @echo ===\> making $(@:%-tclx=%) in ${DIRPRFX}@VENDOR_TCLX_SUBDIR@
68        @$(MAKE) -C @VENDOR_TCLX_SUBDIR@ @VENDOR_TCLX_INSTALL@
69
70install-tcllib:
71        @echo ===\> making $(@:%-tcllib=%) in ${DIRPRFX}@VENDOR_TCLLIB_SUBDIR@
72        @$(MAKE) -C @VENDOR_TCLLIB_SUBDIR@ @VENDOR_TCLLIB_INSTALL@
73
74test:
75
76clean: clean-tcl clean-tcllib clean-tclx clean-tclthread
77        rm -rf ${DESTROOT}
78
79distclean:
80        rm -f Makefile
81        rm -rf $(TCL_SUBDIR:/unix=) $(TCLTHREAD_SUBDIR) $(TCLX_SUBDIR) $(TCLLIB_SUBDIR)
82        rm -rf vendor-destroot
Note: See TracBrowser for help on using the repository browser.