]> git.meshlink.io Git - catta/blob - avahi/Makefile.am
move tests into their own directory
[catta] / avahi / Makefile.am
1 # This file is part of avahi.
2 #
3 # avahi is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
7 #
8 # avahi is distributed in the hope that it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
11 # License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with avahi; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16 # USA.
17
18 AM_CFLAGS=-I$(top_srcdir)
19
20 # This cool debug trap works on i386/gcc only
21 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
22
23 avahiincludedir = $(top_srcdir)/avahi
24
25 avahiinclude_HEADERS = \
26         strlst.h \
27         address.h \
28         alternative.h \
29         domain.h \
30         cdecl.h \
31         defs.h \
32         malloc.h \
33         watch.h \
34         timeval.h \
35         simple-watch.h \
36         thread-watch.h \
37         gccmacro.h \
38         error.h \
39         llist.h \
40         rlist.h \
41         core.h \
42         log.h \
43         rr.h \
44         publish.h \
45         lookup.h
46
47 lib_LTLIBRARIES = libavahi.la
48
49 libavahi_la_SOURCES = \
50         malloc.c malloc.h \
51         address.c address.h \
52         alternative.c alternative.h \
53         error.c error.h \
54         strlst.c strlst.h \
55         domain.c domain.h \
56         timeval.c timeval.h \
57         simple-watch.c simple-watch.h \
58         thread-watch.c thread-watch.h \
59         watch.h gccmacro.h \
60         rlist.h rlist.c \
61         utf8.c utf8.h \
62         i18n.c i18n.h \
63         timeeventq.c timeeventq.h\
64         iface.c iface.h \
65         server.c internal.h entry.c \
66         prioq.c prioq.h \
67         cache.c cache.h \
68         socket.c socket.h \
69         response-sched.c response-sched.h \
70         query-sched.c query-sched.h \
71         probe-sched.c probe-sched.h \
72         announce.c announce.h \
73         browse.c browse.h \
74         rrlist.c rrlist.h \
75         resolve-host-name.c \
76         resolve-address.c \
77         browse-domain.c \
78         browse-service-type.c \
79         browse-service.c \
80         resolve-service.c \
81         dns.c dns.h \
82         rr.c rr.h rr-util.h \
83         core.h lookup.h publish.h \
84         log.c log.h \
85         browse-dns-server.c \
86         fdutil.h fdutil.c \
87         util.c util.h \
88         hashmap.c hashmap.h \
89         wide-area.c wide-area.h \
90         multicast-lookup.c multicast-lookup.h \
91         querier.c querier.h \
92         addr-util.h addr-util.c \
93         domain-util.h domain-util.c \
94         dns-srv-rr.h
95
96 if HAVE_NETLINK
97 libavahi_la_SOURCES += \
98        iface-linux.c iface-linux.h \
99        netlink.c netlink.h
100 else
101 if HAVE_PF_ROUTE
102 libavahi_la_SOURCES += \
103         iface-pfroute.c iface-pfroute.h
104 else
105 libavahi_la_SOURCES += \
106         iface-none.c
107 endif
108 endif
109
110 libavahi_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -DAVAHI_LOCALEDIR=\"$(avahilocaledir)\"
111 libavahi_la_LIBADD = $(AM_LDADD) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(INTLLIBS)
112 libavahi_la_LDFLAGS = $(AM_LDFLAGS)  -version-info $(LIBAVAHI_VERSION_INFO)