# ParaZ. Copyright (C) 2000-2004, Index Data ApS # All rights reserved. # $Id: Makefile.dist,v 1.2 2007-01-06 04:54:58 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 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 config.o: config.c config.h eventl.o: eventl.c eventl.h http.o: http.c 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 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 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