2009-08-17 22:37:20 +05:30
|
|
|
include vars.mk
|
|
|
|
|
2009-08-18 21:07:42 +05:30
|
|
|
SUBDIRS = lib bin etc shutils
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir; \
|
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install:
|
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir install; \
|
|
|
|
done
|
|
|
|
@echo
|
|
|
|
@echo "Binaries have been installed into $(SBINDIR)."
|
|
|
|
@echo "Librares have been installed into $(LIBDIR)."
|
|
|
|
@echo
|
|
|
|
@echo "WARNING: Don't forget to rerun ldconfig(1)."
|
|
|
|
@echo
|
|
|
|
|
2009-08-21 14:47:58 +05:30
|
|
|
.PHONY: uninstall
|
2009-08-17 22:37:20 +05:30
|
|
|
uninstall:
|
|
|
|
-rm -f $(SBINDIR)/xbps-*
|
2009-08-18 04:16:58 +05:30
|
|
|
-rm -f $(LIBDIR)/libxbps.*
|
2009-10-16 03:51:15 +05:30
|
|
|
-rm -f $(SHAREDIR)/*
|
2009-08-17 22:37:20 +05:30
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean; \
|
|
|
|
done
|