2008-12-21 22:57:02 +00:00
|
|
|
include vars.mk
|
2008-12-20 10:04:12 +00:00
|
|
|
|
2009-02-05 14:21:33 +00:00
|
|
|
SUBDIRS = lib bin etc
|
2008-12-21 22:57:02 +00:00
|
|
|
|
|
|
|
.PHONY: all
|
2008-10-20 14:34:27 +00:00
|
|
|
all:
|
2008-12-21 22:57:02 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir; \
|
|
|
|
done
|
2008-10-28 11:45:30 +00:00
|
|
|
|
2008-12-21 22:57:02 +00:00
|
|
|
.PHONY: install
|
2008-12-20 10:04:12 +00:00
|
|
|
install:
|
2008-12-21 22:57:02 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir install; \
|
|
|
|
done
|
2008-12-22 01:14:40 +00:00
|
|
|
@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
|
2008-12-20 10:04:12 +00:00
|
|
|
|
|
|
|
uninstall:
|
2008-12-22 01:14:40 +00:00
|
|
|
-rm -f $(SBINDIR)/xbps-*
|
|
|
|
-rm -f $(LIBDIR)/libxbps.so*
|
2008-12-20 10:04:12 +00:00
|
|
|
|
2008-12-21 22:57:02 +00:00
|
|
|
.PHONY: clean
|
2008-10-28 11:45:30 +00:00
|
|
|
clean:
|
2008-12-21 22:57:02 +00:00
|
|
|
for dir in $(SUBDIRS); do \
|
|
|
|
$(MAKE) -C $$dir clean; \
|
|
|
|
done
|