From 1f17c7a1f402364e96429a2922480c2c92aa9fef Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Thu, 4 Jan 2007 21:08:26 +0000 Subject: [PATCH] Moved Makefile --- src/Makefile | 47 ----------------------------------------------- src/Makefile.dist | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 47 deletions(-) delete mode 100644 src/Makefile create mode 100644 src/Makefile.dist diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 2382494..0000000 --- a/src/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# ParaZ. Copyright (C) 2000-2004, Index Data ApS -# All rights reserved. -# $Id: Makefile,v 1.7 2007-01-04 19:04:34 quinn Exp $ - -SHELL=/bin/sh - -CC=gcc - -YAZCONF=yaz-config -YAZLIBS=`$(YAZCONF) --libs` -YAZCFLAGS=`$(YAZCONF) --cflags` - -PROG=pazpar2 -PROGO=pazpar2.o eventl.o util.o command.o http.o http_command.o termlists.o \ - reclists.o relevance.o config.o - -all: $(PROG) - -$(PROG): $(PROGO) - $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) yaz/src/.libs/libyaz.a $(YAZLIBS) -# $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS) - -.c.o: - $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $< - -clean: - rm -f *.[oa] test core mon.out gmon.out errlist $(PROG) - - -## Dependencies go below - -command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \ - relevance.h reclists.h config.h -config.o: config.c config.h -eventl.o: eventl.c eventl.h -http.o: http.c command.h util.h eventl.h pazpar2.h termlists.h \ - relevance.h reclists.h config.h http.h http_command.h -http_command.o: http_command.c command.h util.h eventl.h pazpar2.h \ - termlists.h relevance.h reclists.h config.h http.h http_command.h -pazpar2.o: pazpar2.c pazpar2.h termlists.h relevance.h reclists.h \ - eventl.h config.h command.h http.h -reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \ - eventl.h config.h -relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \ - config.h reclists.h -termlists.o: termlists.c termlists.h -util.o: util.c diff --git a/src/Makefile.dist b/src/Makefile.dist new file mode 100644 index 0000000..7d6e41d --- /dev/null +++ b/src/Makefile.dist @@ -0,0 +1,47 @@ +# ParaZ. Copyright (C) 2000-2004, Index Data ApS +# All rights reserved. +# $Id: Makefile.dist,v 1.1 2007-01-04 21:08:26 quinn Exp $ + +SHELL=/bin/sh + +CC=gcc + +YAZCONF=yaz-config +YAZLIBS=`$(YAZCONF) --libs` +YAZCFLAGS=`$(YAZCONF) --cflags` + +PROG=pazpar2 +PROGO=pazpar2.o eventl.o util.o command.o http.o http_command.o termlists.o \ + reclists.o relevance.o config.o + +all: $(PROG) + +$(PROG): $(PROGO) + $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) yaz/src/.libs/libyaz.a $(YAZLIBS) +# $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS) + +.c.o: + $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $< + +clean: + rm -f *.[oa] test core mon.out gmon.out errlist $(PROG) + + +## Dependencies go below + +command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \ + relevance.h reclists.h config.h +config.o: config.c config.h +eventl.o: eventl.c eventl.h +http.o: http.c command.h util.h eventl.h pazpar2.h termlists.h \ + relevance.h reclists.h config.h http.h http_command.h +http_command.o: http_command.c command.h util.h eventl.h pazpar2.h \ + termlists.h relevance.h reclists.h config.h http.h http_command.h +pazpar2.o: pazpar2.c pazpar2.h termlists.h relevance.h reclists.h \ + eventl.h config.h command.h http.h +reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \ + eventl.h config.h +relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \ + config.h reclists.h +termlists.o: termlists.c termlists.h +util.o: util.c -- 1.7.10.4