1 # Makefile.am for etc/afpd/
3 pkgconfdir = @PKGCONFDIR@
10 afpd_SOURCES = unix.c ofork.c main.c switch.c auth.c volume.c directory.c \
11 file.c enumerate.c desktop.c filedir.c fork.c appl.c gettok.c \
12 mangle.c status.c afp_options.c afp_asp.c afp_dsi.c messages.c \
13 afp_config.c nfsquota.c codepage.c quota.c uam.c afs.c uid.c \
14 afp_util.c catsearch.c precompose.c
16 afpd_LDADD = $(top_builddir)/libatalk/libatalk.la
17 afpd_LDFLAGS = -export-dynamic
19 noinst_HEADERS = auth.h codepage.h afp_config.h desktop.h directory.h file.h \
20 filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
21 uam_auth.h uid.h unix.h volume.h
23 LIBS = @LIBS@ @AFPD_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@
25 CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
26 @CFLAGS@ @SLP_CFLAGS@ \
27 -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
28 -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
29 -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
30 -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
31 -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
32 -D_PATH_AFPDNLSPATH=\"$(nlsdir)/\" \
33 -DAFPD_MTAB_FILE=\"$(pkgconfdir)/afpd.mtab\" \