]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
Wrong path from 2-1
[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_asp.c \
10         afp_avahi.c \
11         afp_config.c \
12         afp_dsi.c \
13         afp_options.c \
14         afp_util.c \
15         afp_zeroconf.c \
16         afprun.c \
17         afs.c \
18         appl.c \
19         auth.c \
20         catsearch.c \
21         desktop.c \
22         dircache.c \
23         directory.c \
24         enumerate.c \
25         extattrs.c \
26         file.c \
27         filedir.c \
28         fork.c \
29         gettok.c \
30         hash.c \
31         main.c \
32         mangle.c \
33         messages.c  \
34         nfsquota.c \
35         ofork.c \
36         quota.c \
37         status.c \
38         switch.c \
39         uam.c \
40         uid.c \
41         unix.c \
42         volume.c
43
44 afpd_LDADD =  \
45         $(top_builddir)/libatalk/cnid/libcnid.la \
46         $(top_builddir)/libatalk/libatalk.la \
47         @LIBGCRYPT_LIBS@ @ZEROCONF_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@ @PTHREAD_LIBS@
48
49 afpd_LDFLAGS = -export-dynamic 
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