blob: 47ba136cc1a86b4539b490620dac3a87da83ddf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Makefile.am -- Automake makefile for wallet.
# $Id$
#
# Written by Russ Allbery <rra@stanford.edu>
# Copyright 2006, 2007 Board of Trustees, Leland Stanford Jr. University
# See README for licensing terms.
AUTOMAKE_OPTIONS = foreign subdir-objects
EXTRA_DIST = docs/design-acl docs/design-api docs/design-schema \
docs/netdb-role-api docs/notes kasetkey/kasetkey.pod \
perl/Wallet/ACL.pm perl/Wallet/ACL/Krb5.pm \
tests/TESTS tests/client/basic-t.in tests/data/README \
tests/data/cmd-fake tests/data/fake-keytab tests/data/wallet.conf
bin_PROGRAMS = client/wallet
sbin_PROGRAMS = kasetkey/kasetkey
client_wallet_SOURCES = client/wallet.c system.h
client_wallet_CPPFLAGS = @REMCTL_CPPFLAGS@
client_wallet_LDFLAGS = @REMCTL_LDFLAGS@
client_wallet_LDADD = -lremctl
kasetkey_kasetkey_CPPFLAGS = @AFS_CPPFLAGS@
kasetkey_kasetkey_LDFLAGS = @AFS_LDFLAGS@
kasetkey_kasetkey_LDADD = -lafsauthent -lafsrpc -lpthread -lkrb4
dist_man_MANS = kasetkey/kasetkey.8
$(srcdir)/kasetkey/kasetkey.8: $(srcdir)/kasetkey/kasetkey.pod
pod2man --release=$(VERSION) --center="Administrative Commands" \
--section=8 $(srcdir)/kasetkey/kasetkey.pod > $@
warnings:
$(MAKE) CFLAGS='$(WARNINGS)'
$(MAKE) CFLAGS='$(WARNINGS)' $(check_PROGRAMS)
# Take appropriate actions in the Perl directory as well.
all-local:
cd perl && perl Makefile.PL
cd perl && $(MAKE)
install-data-local:
cd perl && $(MAKE) install
clean-local:
cd perl && $(MAKE) clean
distclean-local:
cd perl && $(MAKE) distclean
# The bits below are for the test suite, not for the main package.
check_PROGRAMS = tests/runtests
check-local: $(check_PROGRAMS)
cd tests && ./runtests TESTS
cd perl && $(MAKE) test
|