Added XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified
[pazpar2-moved-to-github.git] / src / Makefile
index 1f9b450..04f9023 100644 (file)
@@ -1,6 +1,6 @@
 # ParaZ. Copyright (C) 2000-2004, Index Data ApS
 # All rights reserved.
-# $Id: Makefile,v 1.2 2006-12-22 04:43:11 quinn Exp $
+# $Id: Makefile,v 1.4 2007-01-03 06:23:44 quinn Exp $
 
 SHELL=/bin/sh
 
@@ -12,12 +12,13 @@ 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
+               reclists.o relevance.o config.o
 
 all: $(PROG)
 
 $(PROG): $(PROGO)
-       $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS)
+       $(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) $<
@@ -29,17 +30,18 @@ clean:
 ## Dependencies go below
 
 command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \
-  relevance.h reclists.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 http.h http_command.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 http.h http_command.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 command.h http.h
+  eventl.h config.h command.h http.h
 reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \
-  eventl.h
+  eventl.h config.h
 relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \
-  reclists.h
+  config.h reclists.h
 termlists.o: termlists.c termlists.h
 util.o: util.c