]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
Merge master
[netatalk.git] / etc / afpd / Makefile.am
1 # Makefile.am for etc/afpd/
2
3 pkgconfdir = @PKGCONFDIR@
4
5 sbin_PROGRAMS = afpd
6 noinst_PROGRAMS = hash
7
8 afpd_SOURCES = \
9         afp_avahi.c \
10         afp_config.c \
11         afp_dsi.c \
12         afp_options.c \
13         afp_util.c \
14         afp_zeroconf.c \
15         afprun.c \
16         afs.c \
17         appl.c \
18         auth.c \
19         catsearch.c \
20         desktop.c \
21         dircache.c \
22         directory.c \
23         enumerate.c \
24         extattrs.c \
25         file.c \
26         filedir.c \
27         fork.c \
28         gettok.c \
29         hash.c \
30         main.c \
31         mangle.c \
32         messages.c  \
33         nfsquota.c \
34         ofork.c \
35         quota.c \
36         status.c \
37         switch.c \
38         uam.c \
39         uid.c \
40         unix.c \
41         volume.c
42
43 afpd_LDADD =  \
44         $(top_builddir)/libatalk/cnid/libcnid.la \
45         $(top_builddir)/libatalk/libatalk.la \
46         $(top_builddir)/libevent/libevent.la \
47         @LIBGCRYPT_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @ZEROCONF_LIBS@ @PTHREAD_LIBS@
48
49 afpd_LDFLAGS = -export-dynamic -static
50
51 afpd_CFLAGS = \
52         -I$(top_srcdir)/include \
53         -I$(top_srcdir)/sys \
54         @SLP_CFLAGS@ @ZEROCONF_CFLAGS@ \
55         -DAPPLCNAME \
56         -DSERVERTEXT=\"$(SERVERTEXT)/\" \
57         -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
58         -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
59         -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
60         -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
61         -D_PATH_AFPDSIGCONF=\"$(pkgconfdir)/afp_signature.conf\" \
62         -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
63         -D_PATH_ACL_LDAPCONF=\"$(pkgconfdir)/afp_ldap.conf\" \
64         -D_PATH_AFPDUUIDCONF=\"$(pkgconfdir)/afp_voluuid.conf\"
65
66 if HAVE_ACLS
67 afpd_SOURCES += acls.c
68 endif
69
70
71 noinst_HEADERS = auth.h afp_config.h desktop.h directory.h file.h \
72          filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
73          uam_auth.h uid.h unix.h volume.h hash.h acls.h acl_mappings.h extattrs.h \
74          dircache.h afp_zeroconf.h afp_avahi.h
75
76 hash_SOURCES = hash.c
77 hash_CFLAGS = -DKAZLIB_TEST_MAIN -I$(top_srcdir)/include