# Makefile for LQ-Text, a full text retrieval package by Liam R. Quin # This Makefile belongs in the "src/test" directory. # # Note that most of the actual configuration is done in ../Makefile and # in ../h/global.h, and not here. # # $Id: Makefile,v 1.7 96/05/23 00:32:23 lee Exp $ PWD=test # no rules for the first 4 yet, sorry TARGETS = MaxWid TryHash put dbmtry TryRoot NumberTest free testnames readword TESTPROGS = MaxWid TryHash put dbmtry TryRoot NumberTest free testnames TESTBIN=../testbin EXTRA=-I../h all: $(TARGETS) saber_src: saber_obj: LIAMLIB=../liblqutil/liblqutil.a ../liblqerror/liblqerror.a TEXTLIB=../liblqtext/liblqtext.a FILTERLIB=../filters/liblqfilter.a install: all @test -d $(TESTBIN) || mkdir $(TESTBIN) for i in $(TESTPROGS); do cp "$$i" $(TESTBIN); \ strip "$(TESTBIN)/$$i" ; \ done tidy: /bin/rm -f *.o core clean: tidy /bin/rm -f $(TARGETS) $(TEST) numbers.c depend: mkdep $(CFLAGS) *.c free: free.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o free free.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) MaxWid: MaxWid.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o MaxWid MaxWid.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) TryHash: TryHash.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o TryHash TryHash.o $(TEXTLIB) readword: readword.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o readword readword.o $(TEXTLIB) $(FILTERLIB) $(LIAMLIB) $(DBMLIBS) TryNum: TryNum.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o TryNum TryNum.o $(TEXTLIB) $(LIAMLIB) TryRoot: TryRoot.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o TryRoot TryRoot.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) testnames: testnames.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o testnames testnames.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) dbmtry: dbmtry.o $(TEXTLIB) $(LIAMLIB) $(CC) $(CFLAGS) -o dbmtry dbmtry.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) put: put.o $(CC) $(CFLAGS) -o put put.o put4: put4.o $(CC) $(CFLAGS) -o put4 put4.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) numbers.c: ../liblqtext/numbers.c /bin/rm -f numbers.c cp ../liblqtext/numbers.c . NumberTest: NumberTest.o $(CC) $(CFLAGS) -o NumberTest NumberTest.o $(TEXTLIB) $(LIAMLIB) $(DBMLIBS) # IF YOU PUT ANYTHING HERE IT WILL GO AWAY # DO NOT DELETE THIS LINE -- mkdep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. MaxWid.o: MaxWid.c ../h/globals.h ../h/port.h ../h/wordrules.h ../h/api.h MaxWid.o: ../h/port2.h ../h/error.h MaxWid.o: ../h/liblqtext.h ../h/wordinfo.h MaxWid.o: ../h/wordplace.h ../h/fileinfo.h MaxWid.o: ../h/phrase.h MaxWid.o: ../h/lqconfig.h ../h/pblock.h ../h/chartype.h NumberTest.o: NumberTest.c ../h/error.h ../h/globals.h ../h/port.h NumberTest.o: ../h/wordrules.h ../h/api.h ../h/port2.h NumberTest.o: ../h/lqtrace.h NumberTest.o: ../h/numbers.h ../h/liblqtext.h ../h/wordinfo.h ../h/wordplace.h NumberTest.o: ../h/fileinfo.h NumberTest.o: ../h/phrase.h ../h/lqconfig.h NumberTest.o: ../h/pblock.h ../h/chartype.h TryHash.o: TryHash.c ../h/globals.h ../h/port.h TryHash.o: ../h/wordrules.h ../h/api.h ../h/port2.h TryNum.o: TryNum.c ../h/globals.h ../h/port.h TryNum.o: ../h/wordrules.h ../h/api.h ../h/port2.h ../h/numbers.h TryNum.o: ../h/emalloc.h TryRoot.o: TryRoot.c ../h/error.h TryRoot.o: ../h/globals.h ../h/port.h TryRoot.o: ../h/wordrules.h ../h/api.h ../h/port2.h TryRoot.o: ../h/fileinfo.h ../h/wordinfo.h TryRoot.o: ../h/wordplace.h ../h/wordrules.h ../h/liblqtext.h TryRoot.o: ../h/phrase.h ../h/lqconfig.h ../h/pblock.h TryRoot.o: ../h/chartype.h bitmod.o: bitmod.c charfreq.o: charfreq.c dbmtry.o: dbmtry.c ../h/globals.h ../h/port.h ../h/wordrules.h ../h/api.h dbmtry.o: ../h/port2.h ../h/error.h dbmtry.o: ../h/smalldb.h dbmtry.o: ../h/liblqtext.h ../h/wordinfo.h dbmtry.o: ../h/wordplace.h ../h/fileinfo.h dbmtry.o: ../h/phrase.h ../h/lqconfig.h ../h/pblock.h dbmtry.o: ../h/chartype.h ../h/lqutil.h ../h/range.h ../h/liblqtext.h free.o: free.c ../h/globals.h ../h/port.h ../h/wordrules.h ../h/api.h free.o: ../h/port2.h ../h/error.h free.o: ../h/fileinfo.h free.o: ../h/wordinfo.h ../h/wordplace.h ../h/wordrules.h ../h/pblock.h free.o: ../h/emalloc.h ../h/range.h ../h/lqutil.h ../h/liblqtext.h free.o: ../h/phrase.h free.o: ../h/lqconfig.h ../h/chartype.h ../h/lqtrace.h lqmalloc.o: lqmalloc.c put.o: put.c readword.o: readword.c ../h/globals.h ../h/port.h ../h/wordrules.h ../h/api.h readword.o: ../h/port2.h ../h/error.h readword.o: ../h/fileinfo.h ../h/wordinfo.h readword.o: ../h/wordplace.h ../h/wordrules.h ../h/emalloc.h ../h/addfile.h readword.o: ../h/lqutil.h ../h/range.h ../h/revision.h ../h/liblqtext.h readword.o: ../h/phrase.h readword.o: ../h/lqconfig.h ../h/pblock.h ../h/chartype.h ../h/lqtrace.h readword.o: ../h/filter.h size.o: size.c testnames.o: testnames.c ../h/error.h ../h/globals.h ../h/port.h testnames.o: ../h/wordrules.h ../h/api.h ../h/port2.h testnames.o: ../h/emalloc.h testnames.o: ../h/fileinfo.h ../h/wordinfo.h ../h/wordplace.h ../h/pblock.h testnames.o: ../h/phrase.h ../h/lqutil.h ../h/range.h ../h/liblqtext.h testnames.o: ../h/lqconfig.h testnames.o: ../h/chartype.h ../h/lqtrace.h ../h/namespace.h # IF YOU PUT ANYTHING HERE IT WILL GO AWAY