blob: 14f0dce988433c03b6845315577c1138b6f8dcda [file] [log] [blame]
Andrew Morgan2c9c0532007-07-10 20:50:21 -07001#
Andrew Morgan2c9c0532007-07-10 20:50:21 -07002# Makefile for libcap
Andrew Morgancd45c572007-08-13 23:16:50 -07003#
Andrew Morgan2c9c0532007-07-10 20:50:21 -07004topdir=$(shell pwd)
5include Make.Rules
6
7#
8# flags
9#
10
11all install clean: %: %-here
Andrew Morgan4ede6982007-07-19 22:55:00 -070012 $(MAKE) -C libcap $(MAKE_DEFS) $@
Andrew Morgancd45c572007-08-13 23:16:50 -070013 $(MAKE) -C pam_cap $(MAKE_DEFS) $@
Andrew Morgan4ede6982007-07-19 22:55:00 -070014 $(MAKE) -C progs $(MAKE_DEFS) $@
15 $(MAKE) -C doc $(MAKE_DEFS) $@
Andrew Morgan2c9c0532007-07-10 20:50:21 -070016
17all-here:
18
19install-here:
20
21clean-here:
22 $(LOCALCLEAN)
23
24distclean: clean
25 $(DISTCLEAN)
26
27release: distclean
Andrew Morgan7aa63b02007-07-30 23:03:32 -070028 cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvfz libcap-$(VERSION).$(MINOR).tar.gz libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR)