]> arthur.barton.de Git - netatalk.git/blob - test/afpd/Makefile.am
Merge product-2-2
[netatalk.git] / test / afpd / Makefile.am
1 # Makefile.am for test/afpd/
2
3 pkgconfdir = @PKGCONFDIR@
4
5 TESTS = test.sh test
6
7 check_PROGRAMS = test
8 noinst_HEADERS = test.h subtests.h afpfunc_helpers.h
9 EXTRA_DIST = test.sh
10 CLEANFILES = test.default test.conf
11
12 test_SOURCES =  test.c subtests.c afpfunc_helpers.c \
13                                 $(top_srcdir)/etc/afpd/afp_avahi.c \
14                                 $(top_srcdir)/etc/afpd/afp_config.c \
15                                 $(top_srcdir)/etc/afpd/afp_dsi.c \
16                                 $(top_srcdir)/etc/afpd/afp_mdns.c \
17                                 $(top_srcdir)/etc/afpd/afp_options.c \
18                                 $(top_srcdir)/etc/afpd/afp_util.c \
19                                 $(top_srcdir)/etc/afpd/afprun.c \
20                                 $(top_srcdir)/etc/afpd/appl.c \
21                                 $(top_srcdir)/etc/afpd/auth.c \
22                                 $(top_srcdir)/etc/afpd/afp_zeroconf.c \
23                                 $(top_srcdir)/etc/afpd/catsearch.c \
24                                 $(top_srcdir)/etc/afpd/desktop.c \
25                                 $(top_srcdir)/etc/afpd/dircache.c \
26                                 $(top_srcdir)/etc/afpd/directory.c \
27                                 $(top_srcdir)/etc/afpd/enumerate.c \
28                                 $(top_srcdir)/etc/afpd/extattrs.c \
29                                 $(top_srcdir)/etc/afpd/fce_api.c \
30                                 $(top_srcdir)/etc/afpd/fce_util.c \
31                                 $(top_srcdir)/etc/afpd/file.c \
32                                 $(top_srcdir)/etc/afpd/filedir.c \
33                                 $(top_srcdir)/etc/afpd/fork.c \
34                                 $(top_srcdir)/etc/afpd/gettok.c \
35                                 $(top_srcdir)/etc/afpd/hash.c \
36                                 $(top_srcdir)/etc/afpd/mangle.c \
37                                 $(top_srcdir)/etc/afpd/messages.c \
38                                 $(top_srcdir)/etc/afpd/nfsquota.c \
39                                 $(top_srcdir)/etc/afpd/ofork.c \
40                                 $(top_srcdir)/etc/afpd/quota.c \
41                                 $(top_srcdir)/etc/afpd/status.c \
42                                 $(top_srcdir)/etc/afpd/switch.c \
43                                 $(top_srcdir)/etc/afpd/uam.c \
44                                 $(top_srcdir)/etc/afpd/unix.c \
45                                 $(top_srcdir)/etc/afpd/volume.c
46
47 if HAVE_ACLS
48 test_SOURCES += $(top_srcdir)/etc/afpd/acls.c
49 endif
50
51 test_CFLAGS = \
52         -I$(top_srcdir)/etc/afpd \
53         -I$(top_srcdir)/include \
54         -I$(top_srcdir)/sys \
55         @ZEROCONF_CFLAGS@ @GSSAPI_CFLAGS@ @KRB5_CFLAGS@\
56         -DAPPLCNAME \
57         -DSERVERTEXT=\"$(SERVERTEXT)/\" \
58         -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
59         -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
60         -D_PATH_CONFDIR=\"$(pkgconfdir)/\" \
61         -D_PATH_STATEDIR='"$(localstatedir)/netatalk/"'
62
63 test_LDADD = \
64         $(top_builddir)/libatalk/libatalk.la \
65         @LIBGCRYPT_LIBS@ @QUOTA_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @ZEROCONF_LIBS@ @PTHREAD_LIBS@ @GSSAPI_LIBS@ @KRB5_LIBS@
66
67 test_LDFLAGS = -export-dynamic