]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/Makefile.am
Initial checkin of ACLs patch
[netatalk.git] / etc / afpd / Makefile.am
index af945b84497e961acff2895ab5c7781e8374d3e8..a893b36c665d9a3b86b4cbe9d02ad5f90d5f912e 100644 (file)
@@ -2,35 +2,34 @@
 
 pkgconfdir = @PKGCONFDIR@
 
-SUBDIRS = nls
-
 sbin_PROGRAMS = afpd
 
-bin_PROGRAMS = test_parse_mtab
-
 afpd_SOURCES = unix.c ofork.c main.c switch.c auth.c volume.c directory.c \
         file.c enumerate.c desktop.c filedir.c fork.c appl.c gettok.c \
-        status.c afp_options.c afp_asp.c afp_dsi.c messages.c afp_config.c \
-        nfsquota.c codepage.c quota.c uam.c afs.c uid.c parse_mtab.c
+        mangle.c status.c afp_options.c afp_asp.c afp_dsi.c messages.c  \
+        afp_config.c nfsquota.c quota.c uam.c afs.c uid.c afp_util.c \
+         catsearch.c afprun.c vfs_adouble.c hash.c
 
-test_parse_mtab_SOURCES = test_parse_mtab.c parse_mtab.c
-test_parse_mtab_LDADD = $(top_builddir)/libatalk/libatalk.la
+if USE_NFSv4_ACLS
+afpd_SOURCES += acls.c
+endif
 
-afpd_LDADD = $(top_builddir)/libatalk/libatalk.la
+afpd_LDADD =  $(top_builddir)/libatalk/cnid/libcnid.la $(top_builddir)/libatalk/libatalk.la
+afpd_LDFLAGS = -export-dynamic
 
-noinst_HEADERS = auth.h codepage.h afp_config.h desktop.h directory.h file.h \
-        filedir.h fork.h globals.h icon.h misc.h status.h switch.h uam_auth.h \
-        uid.h unix.h volume.h parse_mtab.h
+noinst_HEADERS = auth.h afp_config.h desktop.h directory.h file.h \
+        filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
+        uam_auth.h uid.h unix.h volume.h afp_vfs.h hash.h acls.h
 
-LIBS = @LIBS@ @AFPD_LIBS@
+LIBS = @LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@
 
-CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
-        @CFLAGS@ \
+AM_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
+        @CFLAGS@ @SLP_CFLAGS@ \
         -D_PATH_AFPDDEFVOL=\"$(pkgconfdir)/AppleVolumes.default\" \
         -D_PATH_AFPDSYSVOL=\"$(pkgconfdir)/AppleVolumes.system\" \
         -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\" \
         -D_PATH_AFPDCONF=\"$(pkgconfdir)/afpd.conf\" \
         -D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
-        -D_PATH_AFPDNLSPATH=\"$(pkgconfdir)/nls/\" \
-        -DAFPD_MTAB_FILE=\"$(pkgconfdir)/afpd.mtab\" \
-        -DAPPLCNAME
+        -D_PATH_ACL_LDAPCONF=\"$(pkgconfdir)/ldap.conf\" \
+        -DAPPLCNAME \
+        -DSERVERTEXT=\"$(SERVERTEXT)/\"