]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
a893b36c665d9a3b86b4cbe9d02ad5f90d5f912e
[netatalk.git] / etc / afpd / Makefile.am
1 # Makefile.am for etc/afpd/
2
3 pkgconfdir = @PKGCONFDIR@
4
5 sbin_PROGRAMS = afpd
6
7 afpd_SOURCES = unix.c ofork.c main.c switch.c auth.c volume.c directory.c \
8          file.c enumerate.c desktop.c filedir.c fork.c appl.c gettok.c \
9          mangle.c status.c afp_options.c afp_asp.c afp_dsi.c messages.c  \
10          afp_config.c nfsquota.c quota.c uam.c afs.c uid.c afp_util.c \
11          catsearch.c afprun.c vfs_adouble.c hash.c
12
13 if USE_NFSv4_ACLS
14 afpd_SOURCES += acls.c
15 endif
16
17 afpd_LDADD =  $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la
18 afpd_LDFLAGS = -export-dynamic
19
20 noinst_HEADERS = auth.h afp_config.h desktop.h directory.h file.h \
21          filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
22          uam_auth.h uid.h unix.h volume.h afp_vfs.h hash.h acls.h
23
24 LIBS = @LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@
25
26 AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
27          @CFLAGS@ @SLP_CFLAGS@ \
28          -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
29          -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
30          -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
31          -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
32          -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
33          -D_PATH_ACL_LDAPCONF=\"$(pkgconfdir)/ldap.conf\" \
34          -DAPPLCNAME \
35          -DSERVERTEXT=\"$(SERVERTEXT)/\"