summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b0a8727
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,34 @@
+#
+# Makefile for libcap
+#
+topdir=$(shell pwd)
+include Make.Rules
+
+#
+# flags
+#
+
+all install clean: %: %-here
+ $(MAKE) -C libcap $@
+ifneq ($(PAM_CAP),no)
+ $(MAKE) -C pam_cap $@
+endif
+ $(MAKE) -C progs $@
+ $(MAKE) -C doc $@
+
+all-here:
+
+install-here:
+
+clean-here:
+ $(LOCALCLEAN)
+
+distclean: clean
+ $(DISTCLEAN)
+
+release: distclean
+ cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvfz libcap-$(VERSION).$(MINOR).tar.gz libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)
+
+tagrelease: distclean
+ git tag -s libcap-$(VERSION).$(MINOR)
+ make release