]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
acl_get_file
[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 = unix.c ofork.c main.c switch.c auth.c volume.c directory.c \
9          file.c enumerate.c desktop.c filedir.c fork.c appl.c gettok.c \
10          mangle.c status.c afp_options.c afp_asp.c afp_dsi.c messages.c  \
11          afp_config.c nfsquota.c quota.c uam.c afs.c uid.c afp_util.c \
12         catsearch.c afprun.c hash.c extattrs.c dircache.c
13
14 afpd_LDADD =  $(top_builddir)/libatalk/cnid/libcnid.la \
15         $(top_builddir)/libatalk/libatalk.la \
16         @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@ @ACL_LIBS@
17 afpd_LDFLAGS = -export-dynamic 
18 afpd_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
19          @SLP_CFLAGS@ \
20          -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
21          -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
22          -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
23          -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
24          -D_PATH_AFPDSIGCONF=\"$(pkgconfdir)/afp_signature.conf\" \
25          -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
26          -D_PATH_ACL_LDAPCONF=\"$(pkgconfdir)/afp_ldap.conf\" \
27          -DAPPLCNAME \
28          -DSERVERTEXT=\"$(SERVERTEXT)/\"
29
30 if HAVE_ACLS
31 afpd_SOURCES += acls.c
32 endif
33
34
35 noinst_HEADERS = auth.h afp_config.h desktop.h directory.h file.h \
36          filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
37          uam_auth.h uid.h unix.h volume.h hash.h acls.h acl_mappings.h extattrs.h \
38          dircache.h
39
40 hash_SOURCES = hash.c
41 hash_CFLAGS = -DKAZLIB_TEST_MAIN -I$(top_srcdir)/include