summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 2de8f7defacd673d40a147aeba3404d4ab7dbfa5 (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
55
if WITH_PAM
PAM_DIR = pam
else
PAM_DIR = 
endif

if WITH_TESTS
TESTS_DIR = tests
else
TESTS_DIR = 
endif

SUBDIRS = \
	. \
	gp11 \
	egg \
	gcr \
	common \
	library \
	pkcs11 \
	daemon \
	tool \
	po \
	$(TESTS_DIR) \
	$(PAM_DIR)

EXTRA_DIST = \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in \
	keyring-intro.txt \
	HACKING

DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-tests

DISTCLEANFILES = \
	intltool-extract \
	intltool-merge \
	intltool-update

# Clean up any EXTRA_DIST we're distributing
dist-hook:
	rm -rf `find $(distdir)/ -name .svn`

distcheck-hook: 
	@echo "RUNNING AUTOMATIC UNIT TESTS ---------------------------"
	@echo
	@echo
	$(MAKE) -C tests run-auto
	@echo
	@echo
	@echo "DONE AUTOMATIC UNIT TESTS ------------------------------"

install-pam:
	@echo "WARNING: install-pam is no longer used, use the --with-pam-dir configure option instead"