|
Revision 190, 0.8 kB
(checked in by rm, 10 months ago)
|
|
clean rules
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # |
|---|
| 3 | # |
|---|
| 4 | |
|---|
| 5 | #CONFIGURE_OPTS = --prefix=$(SANDBOX) |
|---|
| 6 | PKGS=thrucommon thrudex thrudoc thruqueue |
|---|
| 7 | |
|---|
| 8 | all: $(PKGS) |
|---|
| 9 | |
|---|
| 10 | clean: |
|---|
| 11 | for i in $(PKGS); do \ |
|---|
| 12 | (cd $$i && make $@); \ |
|---|
| 13 | done |
|---|
| 14 | |
|---|
| 15 | distclean: |
|---|
| 16 | for i in $(PKGS); do \ |
|---|
| 17 | (cd $$i && make $@); \ |
|---|
| 18 | done |
|---|
| 19 | |
|---|
| 20 | distclean-am: |
|---|
| 21 | for i in $(PKGS); do \ |
|---|
| 22 | (cd $$i && make $@); \ |
|---|
| 23 | done |
|---|
| 24 | |
|---|
| 25 | thrucommon: thrucommon/Makefile |
|---|
| 26 | (cd $@ && make all install) |
|---|
| 27 | |
|---|
| 28 | thrudex: thrudex/Makefile |
|---|
| 29 | (cd $@ && make all install) |
|---|
| 30 | |
|---|
| 31 | thrudoc: thrudoc/Makefile |
|---|
| 32 | (cd $@ && make all install) |
|---|
| 33 | |
|---|
| 34 | thruqueue: thruqueue/Makefile |
|---|
| 35 | (cd $@ && make all install) |
|---|
| 36 | |
|---|
| 37 | %/Makefile: %/Makefile.in |
|---|
| 38 | (cd $(@:/Makefile=) && ./configure $(CONFIGURE_OPTS)) |
|---|
| 39 | |
|---|
| 40 | %/Makefile.in: %/Makefile.am |
|---|
| 41 | (cd $(@:/Makefile.in=) && ./bootstrap.sh) |
|---|
| 42 | |
|---|
| 43 | .PRECIOUS: %/Makefile %/Makefile.in |
|---|
| 44 | .PHONY: thrucommon thrudex thrudoc thruqueue |
|---|