--- src/dmail/Makefile.orig 2022-04-17 00:12:02 UTC +++ src/dmail/Makefile @@ -31,19 +31,11 @@ SHELL = /bin/sh # Get local definitions from c-client directory -CC = `cat $C/CCTYPE` -CFLAGS = -I$C `cat $C/CFLAGS` -LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS` +CFLAGS+= -DNFSKLUDGE -I$(LOCALBASE)/include/c-client +LDFLAGS+= -L$(LOCALBASE)/lib -lc-client -dmail: $(CCLIENTLIB) dmail.o dquota.o +dmail: dmail.o dquota.o $(CC) $(CFLAGS) -o dmail dmail.o dquota.o $(LDFLAGS) - -dmail.o: $C/mail.h $C/misc.h $C/osdep.h dquota.h - -dquota.o: dquota.h - -$(CCLIENTLIB): - cd $C;make clean: rm -f *.o dmail