Andrew Morgan | 2c9c053 | 2007-07-10 20:50:21 -0700 | [diff] [blame] | 1 | # |
Andrew Morgan | 2c9c053 | 2007-07-10 20:50:21 -0700 | [diff] [blame] | 2 | # Makefile for libcap |
Andrew Morgan | cd45c57 | 2007-08-13 23:16:50 -0700 | [diff] [blame] | 3 | # |
Andrew Morgan | 2c9c053 | 2007-07-10 20:50:21 -0700 | [diff] [blame] | 4 | topdir=$(shell pwd) |
| 5 | include Make.Rules |
| 6 | |
| 7 | # |
| 8 | # flags |
| 9 | # |
| 10 | |
Andrew G. Morgan | dce069b | 2016-02-06 19:42:27 -0800 | [diff] [blame] | 11 | all install clean kdebug: %: %-here |
Andrew G. Morgan | 953e7f1 | 2008-06-02 22:02:01 -0700 | [diff] [blame] | 12 | $(MAKE) -C libcap $@ |
Andrew G. Morgan | e64aa18 | 2008-01-17 19:31:45 -0800 | [diff] [blame] | 13 | ifneq ($(PAM_CAP),no) |
Andrew G. Morgan | 953e7f1 | 2008-06-02 22:02:01 -0700 | [diff] [blame] | 14 | $(MAKE) -C pam_cap $@ |
Andrew G. Morgan | e64aa18 | 2008-01-17 19:31:45 -0800 | [diff] [blame] | 15 | endif |
Andrew G. Morgan | 953e7f1 | 2008-06-02 22:02:01 -0700 | [diff] [blame] | 16 | $(MAKE) -C progs $@ |
| 17 | $(MAKE) -C doc $@ |
Andrew G. Morgan | dce069b | 2016-02-06 19:42:27 -0800 | [diff] [blame] | 18 | $(MAKE) -C kdebug $@ |
Andrew Morgan | 2c9c053 | 2007-07-10 20:50:21 -0700 | [diff] [blame] | 19 | |
| 20 | all-here: |
| 21 | |
| 22 | install-here: |
| 23 | |
| 24 | clean-here: |
| 25 | $(LOCALCLEAN) |
| 26 | |
| 27 | distclean: clean |
| 28 | $(DISTCLEAN) |
| 29 | |
| 30 | release: distclean |
Andrew G Morgan | 762008b | 2013-12-27 10:19:22 -0800 | [diff] [blame] | 31 | cd .. && ln -s libcap libcap-$(VERSION).$(MINOR) && tar cvf libcap-$(VERSION).$(MINOR).tar libcap-$(VERSION).$(MINOR)/* && rm libcap-$(VERSION).$(MINOR) |
| 32 | cd .. && gpg -sba -u E2CCF3F4 libcap-$(VERSION).$(MINOR).tar |
Andrew G. Morgan | a613b00 | 2011-07-24 19:24:16 -0700 | [diff] [blame] | 33 | |
| 34 | tagrelease: distclean |
Andrew G Morgan | 3a788dd | 2013-12-27 10:04:50 -0800 | [diff] [blame] | 35 | @echo "sign the tag twice: older DSA key; and newer RSA kernel.org key" |
| 36 | git tag -u D41A6DF2 -s libcap-$(VERSION).$(MINOR) |
| 37 | git tag -u E2CCF3F4 -s libcap-korg-$(VERSION).$(MINOR) |
Andrew G. Morgan | a613b00 | 2011-07-24 19:24:16 -0700 | [diff] [blame] | 38 | make release |