--- Makefile.orig Tue Feb 7 12:37:45 1995 +++ Makefile Sat Jun 29 23:13:53 1996 @@ -15,10 +15,10 @@ # appropriate header file and library for the news database format that # you have chosen. -DBINCLUDE = -I/usr/local/src/cnews/dbz -DBLIB = /usr/local/src/cnews/dbz/dbz.o +#DBINCLUDE = -I/usr/local/src/cnews/dbz +#DBLIB = /usr/local/src/cnews/dbz/dbz.o -#DBINCLUDE = +DBINCLUDE = -I . #DBLIB = -ldbz #DBINCLUDE = -I/usr/local/include @@ -28,7 +28,7 @@ # C compilation flags # Add here any additional compilation flags you need. -CFLAGS = -O +#CFLAGS = -O # Loader flags @@ -41,8 +41,8 @@ # On some systems (e.g. SVR4) you need to include additional socket # libraries. On others (e.g. Linux, BSD) this is not required. -LIBS = -lnsl -lsocket -#LIBS = +#LIBS = -lnsl -lsocket +LIBS = # If you don't have the syslog facility then uncomment these two lines @@ -54,15 +54,16 @@ # Everything else probably doesn't need changing SOURCE = slurp.c newnews.c articles.c history.c time.c sockets.c misc.c \ - cache.c hostfiles.c space.c $(FAKESRC) + dbz.c cache.c hostfiles.c space.c $(FAKESRC) OBJECT = slurp.o newnews.o articles.o history.o time.o sockets.o misc.o \ - cache.o hostfiles.o space.o $(FAKEOBJ) + dbz.o cache.o hostfiles.o space.o $(FAKEOBJ) MANIFEST = README slurp.c newnews.c articles.c history.c time.c sockets.c \ misc.c cache.c hostfiles.c space.c fakesyslog.c conf.h slurp.h \ nntp.h syslog.h patchlevel.h Makefile slurp.sys slurp.1 HISTORY +all: slurp slurp: $(OBJECT) $(CC) $(LDFLAGS) $(OBJECT) -o slurp $(DBLIB) $(LIBS) @@ -71,17 +72,17 @@ $(CC) $(CFLAGS) $(DBINCLUDE) -c $< -slurp.o: slurp.c slurp.h conf.h nntp.h syslog.h patchlevel.h -newnews.o: newnews.c slurp.h conf.h nntp.h syslog.h -articles.o: articles.c slurp.h conf.h nntp.h syslog.h +slurp.o: slurp.c slurp.h conf.h nntp.h patchlevel.h +newnews.o: newnews.c slurp.h conf.h nntp.h +articles.o: articles.c slurp.h conf.h nntp.h history.o: history.c slurp.h conf.h nntp.h time.o: time.c slurp.h conf.h -sockets.o: sockets.c slurp.h conf.h nntp.h syslog.h -misc.o: misc.c slurp.h conf.h syslog.h -cache.o: cache.c slurp.h conf.h syslog.h -hostfiles.o: hostfiles.c slurp.h conf.h syslog.h -space.o: space.c slurp.h conf.h syslog.h -fakesyslog.o: fakesyslog.c slurp.h conf.h syslog.h +sockets.o: sockets.c slurp.h conf.h nntp.h +misc.o: misc.c slurp.h conf.h +cache.o: cache.c slurp.h conf.h +hostfiles.o: hostfiles.c slurp.h conf.h +space.o: space.c slurp.h conf.h +fakesyslog.o: fakesyslog.c slurp.h conf.h lint: lint -p $(CFLAGS) $(SOURCE) > slurp.lint