1ADNSDIR=$(BASEDIR)/../adns
2LIBS:=
3
4include $(BASEDIR)/../config.make
5
6UTILS-OBJ:=string.o debug.o url.o connexion.o text.o \
7    histogram.o webserver.o PersistentFifo.o hashDup.o mypthread.o
8INTERF-OBJ:=input.o useroutput.o output.o
9FETCH-OBJ:=site.o sequencer.o hashTable.o checker.o file.o \
10	fetchOpen.o fetchPipe.o
11MAIN-OBJ:=global.o main.o
12
13ABS-UTILS-OBJ:=utils/string.o utils/debug.o utils/url.o \
14    utils/connexion.o utils/text.o utils/histogram.o \
15    utils/webserver.o utils/PersistentFifo.o utils/hashDup.o \
16    utils/mypthread.o
17ABS-INTERF-OBJ:=interf/input.o interf/useroutput.o interf/output.o
18ABS-FETCH-OBJ:=fetch/site.o fetch/sequencer.o fetch/hashTable.o \
19    fetch/checker.o fetch/file.o fetch/fetchOpen.o fetch/fetchPipe.o
20ABS-MAIN-OBJ:=$(MAIN-OBJ)
21
22CFLAGS+= -Wall -D_REENTRANT
23CXXFLAGS+= -Wno-deprecated -Wall  -D_REENTRANT  -I$(BASEDIR) -I$(ADNSDIR)
24RM:=rm -f
25
26first: all
27
28dep-in:
29	makedepend -f- -I$(BASEDIR) -Y *.cc 2> /dev/null > .depend
30
31clean-in:
32	$(RM) *.o
33	$(RM) *~
34	$(RM) *.bak
35
36distclean-in: clean-in
37	$(RM) .depend
38
39redo-in: all
40
41debug-in: CXXFLAGS += -g
42debug-in: redo-in
43
44prof-in: CXXFLAGS += -pg -DPROF
45prof-in: redo-in
46
47include .depend
48