From d50d3e4f16e7d20be2a29a0c04b7015fd5ba74b7 Mon Sep 17 00:00:00 2001 From: rufustfirefly Date: Wed, 26 Jul 2000 20:31:35 +0000 Subject: [PATCH] More automake support. --- etc/Makefile.am | 3 +++ etc/afpd/Makefile.am | 23 +++++++++++++++++++++++ etc/afpd/nls/Makefile.am | 6 ++++++ 3 files changed, 32 insertions(+) create mode 100644 etc/Makefile.am create mode 100644 etc/afpd/Makefile.am create mode 100644 etc/afpd/nls/Makefile.am diff --git a/etc/Makefile.am b/etc/Makefile.am new file mode 100644 index 00000000..83a4d085 --- /dev/null +++ b/etc/Makefile.am @@ -0,0 +1,3 @@ +# Makefile.am for etc/ + +SUBDIRS = afpd atalkd papd psf uams diff --git a/etc/afpd/Makefile.am b/etc/afpd/Makefile.am new file mode 100644 index 00000000..5e42861b --- /dev/null +++ b/etc/afpd/Makefile.am @@ -0,0 +1,23 @@ +# Makefile.am for etc/afpd/ + +SUBDIRS = nls + +sbin_PROGRAMS = afpd + +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 config.c nfsquota.c codepage.c quota.c uam.c afs.c +afpd_LDADD = afpd_options.o + +afpd_options.o: afp_options.c + ${COMPILE} \ + -D_PATH_AFPDDEFVOL=\"${ETCDIR}/AppleVolumes.default\" \ + -D_PATH_AFPDSYSVOL=\"${ETCDIR}/AppleVolumes.system\" \ + -D_PATH_AFPDPWFILE=\"${ETCDIR}/afpd.passwd\" \ + -D_PATH_AFPDCONF=\"${ETCDIR}/afpd.conf\" \ + -D_PATH_AFPDUAMPATH=\"${RESDIR}/uams/\" \ + -D_PATH_AFPDNLSPATH=\"${RESDIR}/nls/\" \ + -o afp_options.o -c afp_options.c + +config.o: config.c + ${COMPILE} \ + -DVERSION=\"`cat ../../VERSION`\" \ + -o config.o -c config.c diff --git a/etc/afpd/nls/Makefile.am b/etc/afpd/nls/Makefile.am new file mode 100644 index 00000000..4da641f6 --- /dev/null +++ b/etc/afpd/nls/Makefile.am @@ -0,0 +1,6 @@ +# Makefile.am for etc/afpd/nls/ + +bin_PROGRAMS = makecode parsecode + +makecode_SOURCES = makecode.c +parsecode_SOURCES = parsecode.c -- 2.39.2