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