]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/Makefile.am
17a2f060c28a44ad0a122714dc60efc1d0e0a50d
[netatalk.git] / etc / afpd / Makefile.am
1 # Makefile.am for etc/afpd/
2
3 pkgconfdir = @PKGCONFDIR@
4
5 SUBDIRS = nls
6
7 sbin_PROGRAMS = afpd
8
9 bin_PROGRAMS = test_parse_mtab
10
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
15
16 test_parse_mtab_SOURCES = test_parse_mtab.c parse_mtab.c
17 test_parse_mtab_LDADD = $(top_builddir)/libatalk/libatalk.la
18
19 afpd_LDADD = $(top_builddir)/libatalk/libatalk.la
20 afpd_LDFLAGS = -export-dynamic
21
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
25
26 LIBS = @LIBS@ @AFPD_LIBS@
27
28 CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
29          @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\" \
37          -DAPPLCNAME