2010-05-20 02:08:27 +05:30
|
|
|
-include ../config.mk
|
2009-08-17 22:37:20 +05:30
|
|
|
|
2011-01-22 17:10:19 +05:30
|
|
|
SUBDIRS = xbps-bin
|
2009-08-17 22:37:20 +05:30
|
|
|
SUBDIRS += xbps-repo
|
2010-11-09 03:57:15 +05:30
|
|
|
SUBDIRS += xbps-dgraph
|
2011-01-22 17:10:19 +05:30
|
|
|
SUBDIRS += xbps-uhelper
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
2009-11-19 10:33:37 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir || exit 1; \
|
2009-08-17 22:37:20 +05:30
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install:
|
2010-01-14 00:02:25 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
2009-11-19 10:33:37 +05:30
|
|
|
$(MAKE) -C $$dir install || exit 1; \
|
2009-08-17 22:37:20 +05:30
|
|
|
done
|
|
|
|
|
2009-10-18 14:45:39 +05:30
|
|
|
.PHONY: uninstall
|
|
|
|
uninstall:
|
2010-01-14 00:02:25 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir uninstall || exit1; \
|
2009-10-18 14:45:39 +05:30
|
|
|
done
|
|
|
|
|
2009-08-17 22:37:20 +05:30
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2010-01-14 00:02:25 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
2009-11-19 10:33:37 +05:30
|
|
|
$(MAKE) -C $$dir clean || exit 1; \
|
2009-08-17 22:37:20 +05:30
|
|
|
done
|