]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
CFLAGS -> INCLUDES and other build fixes.
[netatalk.git] / etc / afpd / Makefile.am
1 # Makefile.am for etc/afpd/
2
3 pkgconfdir = @PKGCONFDIR@
4 nlsdir = @NLSDIR@
5
6 SUBDIRS = nls
7
8 sbin_PROGRAMS = afpd
9
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
15
16 afpd_LDADD = @AFPD_LIBS@ @PAM_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ \
17         $(top_builddir)/libatalk/libatalk.la
18 afpd_LDFLAGS = -export-dynamic
19
20 noinst_HEADERS = auth.h codepage.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
23
24 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
25          @SLP_CFLAGS@ \
26          -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
27          -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
28          -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
29          -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
30          -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
31          -D_PATH_AFPDNLSPATH=\"$(nlsdir)/\" \
32          -DAFPD_MTAB_FILE=\"$(pkgconfdir)/afpd.mtab\" \
33          -DAPPLCNAME \
34          -DSERVERTEXT=\"$(SERVERTEXT)/\"