2009-08-17 22:37:20 +05:30
|
|
|
include ../vars.mk
|
|
|
|
|
2009-11-24 17:29:47 +05:30
|
|
|
SUBDIRS = xbps-uhelper
|
2009-08-17 22:37:20 +05:30
|
|
|
SUBDIRS += xbps-repo
|
2009-11-19 10:33:37 +05:30
|
|
|
SUBDIRS += xbps-bin
|
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:
|
2009-11-19 10:33:37 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
|
|
|
$(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:
|
2009-11-19 10:33:37 +05:30
|
|
|
@for bin in $(SUBDIRS); do \
|
2009-10-18 14:45:39 +05:30
|
|
|
-rm -f $(SBINDIR)/$$bin; \
|
|
|
|
done
|
|
|
|
|
2009-08-17 22:37:20 +05:30
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2009-11-19 10:33:37 +05:30
|
|
|
@for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean || exit 1; \
|
2009-08-17 22:37:20 +05:30
|
|
|
done
|