afppasswd_SOURCES = afppasswd.c
afppasswd_LDADD = $(top_srcdir)/libatalk/libatalk.a
-CFLAGS = @CFLAGS@ -I$(top_srcdir)/include -I$(top_srcdir)/sys
+CFLAGS = @CFLAGS@ -I$(top_srcdir)/include -I$(top_srcdir)/sys \
+ -DUAM_RNDNUM \
+ -D_PATH_AFPDPWFILE=\"$(CONFIG_DIR)/afppasswd\"
CFLAGS = @CFLAGS@ -I$(top_srcdir)/include -I$(top_srcdir)/sys \
-D_PATH_AFPDDEFVOL=\"$(CONFIG_DIR)/AppleVolumes.default\" \
-D_PATH_AFPDSYSVOL=\"$(CONFIG_DIR)/AppleVolumes.system\" \
- -D_PATH_AFPDPWFILE=\"$(CONFIG_DIR)/afpd.passwd\" \
+ -D_PATH_AFPDPWFILE=\"$(CONFIG_DIR)/afppasswd\" \
-D_PATH_AFPDCONF=\"$(CONFIG_DIR)/afpd.conf\" \
-D_PATH_AFPDUAMPATH=\"$(UAMS_PATH)/\" \
-D_PATH_AFPDNLSPATH=\"$(CONFIG_DIR)/nls/\" \