summaryrefslogtreecommitdiffstats
path: root/libavahi-core/Makefile
blob: ff3977ebcf6c3e626d52a080e79f94d081b3a58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#CC=gcc-2.95
CFLAGS=-g -O1 -Wall -W -pipe $(shell pkg-config --cflags glib-2.0) -Wno-unused
LIBS=$(shell pkg-config --libs glib-2.0)

all: strlst-test prioq-test domain-test dns-test flexmdns

flexmdns: timeeventq.o main.o iface.o netlink.o server.o address.o util.o prioq.o cache.o rr.o dns.o socket.o psched.o announce.o subscribe.o strlst.o
	$(CC) -o $@ $^ $(LIBS)

#test-llist: test-llist.o
#	$(CC) -o $@ $^ $(LIBS)

prioq-test: prioq-test.o prioq.o
	$(CC) -o $@ $^ $(LIBS)

strlst-test: strlst-test.o strlst.o
	$(CC) -o $@ $^ $(LIBS)

domain-test: domain-test.o util.o
	$(CC) -o $@ $^ $(LIBS)

dns-test: dns-test.o util.o dns.o rr.o strlst.o
	$(CC) -o $@ $^ $(LIBS)

*.o: *.h

clean:
	rm -f *.o flexmdns prioq-test strlst-test domain-test dns-test