--- src/ipopd/Makefile.orig 2022-04-17 00:12:02 UTC +++ src/ipopd/Makefile @@ -26,29 +26,21 @@ C = ../c-client -CCLIENTLIB = $C/c-client.a +#CCLIENTLIB = $C/c-client.a 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 ipopd: ipop2d ipop3d -ipop2d: $(CCLIENTLIB) ipop2d.o +ipop2d: ipop2d.o $(CC) $(CFLAGS) -o ipop2d ipop2d.o $(LDFLAGS) -ipop3d: $(CCLIENTLIB) ipop3d.o +ipop3d: ipop3d.o $(CC) $(CFLAGS) -o ipop3d ipop3d.o $(LDFLAGS) - -ipop2d.o: $C/mail.h $C/misc.h $C/osdep.h - -ipop3d.o: $C/mail.h $C/misc.h $C/osdep.h - -$(CCLIENTLIB): - cd $C;make clean: rm -f *.o ipop2d ipop3d || true