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