]> git.meshlink.io Git - catta/blob - libavahi-core/Makefile
move the sources to libavahi-core/
[catta] / libavahi-core / Makefile
1 #CC=gcc-2.95
2 CFLAGS=-g -O1 -Wall -W -pipe $(shell pkg-config --cflags glib-2.0) -Wno-unused
3 LIBS=$(shell pkg-config --libs glib-2.0)
4
5 all: strlst-test prioq-test domain-test dns-test flexmdns
6
7 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
8         $(CC) -o $@ $^ $(LIBS)
9
10 #test-llist: test-llist.o
11 #       $(CC) -o $@ $^ $(LIBS)
12
13 prioq-test: prioq-test.o prioq.o
14         $(CC) -o $@ $^ $(LIBS)
15
16 strlst-test: strlst-test.o strlst.o
17         $(CC) -o $@ $^ $(LIBS)
18
19 domain-test: domain-test.o util.o
20         $(CC) -o $@ $^ $(LIBS)
21
22 dns-test: dns-test.o util.o dns.o rr.o strlst.o
23         $(CC) -o $@ $^ $(LIBS)
24
25 *.o: *.h
26
27 clean:
28         rm -f *.o flexmdns prioq-test strlst-test domain-test dns-test