summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 99d34b1d188f410a32f70582dd57c0ea1134185c (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
56
57
58
if WITH_PAM
PAM_DIR = pam
else
PAM_DIR = 
endif

if WITH_TESTS
TESTS_DIR = tests
else
TESTS_DIR = 
endif

SUBDIRS = \
	. \
	common \
	library \
	pkcs11 \
	keyrings \
	ui \
	pkix \
	pk \
	ssh \
	daemon \
	cryptoki \
	doc \
	po \
	reference \
	$(TESTS_DIR) \
	$(PAM_DIR)

EXTRA_DIST = \
	intltool-extract.in \
	intltool-merge.in \
	intltool-update.in \
	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-tests
	@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"