$NetBSD: patch-ag,v 1.1.1.1 2001/10/21 21:26:52 seb Exp $ --- tools/Makefile.in.orig Tue Jul 10 14:40:38 2001 +++ tools/Makefile.in @@ -3,8 +3,9 @@ CC=@CC@ RM=@RM@ -IRCDLIBS = @LIBS@ -INCLUDEDIR = -I../include -I../zlib +IRCDLIBS = @LIBS@ -lz +CPPFLAGS = -I../include @CPPFLAGS@ $(DEFS) +LDFLAGS = @LDFLAGS@ mkpasswd_SOURCES = mkpasswd.c mkpasswd_OBJECTS = mkpasswd.o @@ -36,7 +37,7 @@ $(RM) -f Makefile .c.o: - $(CC) $(CFLAGS) $(INCLUDEDIR) -c $< + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< install: build @echo "Please do a make install from the top level directory" @@ -46,10 +47,3 @@ lint: lint -aacgprxhH $(INCLUDEDIR) $(mkpasswd_SOURCES) $(viconf_SOURCES) $(fixklines_SOURCES) >>../lint.out @echo done - -# DO NOT DELETE - -mkpasswd.o: ../include/setup.h ../zlib/zlib.h -mkpasswd.o: ../zlib/zconf.h -viconf.o: ../include/config.h ../include/setup.h -viconf.o: ../zlib/zlib.h ../zlib/zconf.h