1 # ParaZ. Copyright (C) 2000-2004, Index Data ApS
3 # $Id: Makefile.dist,v 1.1 2007-01-04 21:08:26 quinn Exp $
10 YAZLIBS=`$(YAZCONF) --libs`
11 YAZCFLAGS=`$(YAZCONF) --cflags`
14 PROGO=pazpar2.o eventl.o util.o command.o http.o http_command.o termlists.o \
15 reclists.o relevance.o config.o
20 $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) yaz/src/.libs/libyaz.a $(YAZLIBS)
21 # $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS)
24 $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $<
27 rm -f *.[oa] test core mon.out gmon.out errlist $(PROG)
30 ## Dependencies go below
32 command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \
33 relevance.h reclists.h config.h
34 config.o: config.c config.h
35 eventl.o: eventl.c eventl.h
36 http.o: http.c command.h util.h eventl.h pazpar2.h termlists.h \
37 relevance.h reclists.h config.h http.h http_command.h
38 http_command.o: http_command.c command.h util.h eventl.h pazpar2.h \
39 termlists.h relevance.h reclists.h config.h http.h http_command.h
40 pazpar2.o: pazpar2.c pazpar2.h termlists.h relevance.h reclists.h \
41 eventl.h config.h command.h http.h
42 reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \
44 relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \
46 termlists.o: termlists.c termlists.h