1 # Makefile.am for test/afpd/
3 pkgconfdir = @PKGCONFDIR@
8 noinst_HEADERS = test.h subtests.h afpfunc_helpers.h
10 CLEANFILES = test.default test.conf
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/hash.c \
35 $(top_srcdir)/etc/afpd/mangle.c \
36 $(top_srcdir)/etc/afpd/messages.c \
37 $(top_srcdir)/etc/afpd/nfsquota.c \
38 $(top_srcdir)/etc/afpd/ofork.c \
39 $(top_srcdir)/etc/afpd/quota.c \
40 $(top_srcdir)/etc/afpd/status.c \
41 $(top_srcdir)/etc/afpd/spotlight.c \
42 $(top_srcdir)/etc/afpd/spotlight_marshalling.c \
43 $(top_srcdir)/etc/afpd/switch.c \
44 $(top_srcdir)/etc/afpd/uam.c \
45 $(top_srcdir)/etc/afpd/unix.c \
46 $(top_srcdir)/etc/afpd/volume.c
49 test_SOURCES += $(top_srcdir)/etc/afpd/acls.c
53 -I$(top_srcdir)/etc/afpd \
54 -I$(top_srcdir)/include \
56 @ZEROCONF_CFLAGS@ @GSSAPI_CFLAGS@ @KRB5_CFLAGS@\
58 -DSERVERTEXT=\"$(SERVERTEXT)/\" \
59 -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
60 -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
61 -D_PATH_CONFDIR=\"$(pkgconfdir)/\" \
62 -D_PATH_STATEDIR='"$(localstatedir)/netatalk/"'
65 $(top_builddir)/libatalk/libatalk.la \
66 @LIBGCRYPT_LIBS@ @QUOTA_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @ZEROCONF_LIBS@ @PTHREAD_LIBS@ @GSSAPI_LIBS@ @KRB5_LIBS@
68 test_LDFLAGS = -export-dynamic
71 DTRACE_OBJ = test-afp_dsi.o test-fork.o test-appl.o test-catsearch.o test-directory.o test-enumerate.o test-file.o test-filedir.o
72 afp_dtrace.o: $(top_srcdir)/include/atalk/afp_dtrace.d $(DTRACE_OBJ)
73 if test -f afp_dtrace.o ; then rm -f afp_dtrace.o ; fi
74 $(LIBTOOL) --mode=execute dtrace -G -s $(top_srcdir)/include/atalk/afp_dtrace.d -o afp_dtrace.o $(DTRACE_OBJ)
75 test_LDADD += afp_dtrace.o @DTRACE_LIBS@
76 CLEANFILES += afp_dtrace.o