1 # This file is part of avahi.
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.
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.
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
18 AM_CFLAGS=-I$(top_srcdir)
20 # This cool debug trap works on i386/gcc only
21 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
23 avahiincludedir = $(top_srcdir)/avahi
25 avahiinclude_HEADERS = \
47 lib_LTLIBRARIES = libavahi.la
49 libavahi_la_SOURCES = \
52 alternative.c alternative.h \
57 simple-watch.c simple-watch.h \
58 thread-watch.c thread-watch.h \
62 timeeventq.c timeeventq.h\
64 server.c internal.h entry.c \
68 response-sched.c response-sched.h \
69 query-sched.c query-sched.h \
70 probe-sched.c probe-sched.h \
71 announce.c announce.h \
77 browse-service-type.c \
82 core.h lookup.h publish.h \
88 wide-area.c wide-area.h \
89 multicast-lookup.c multicast-lookup.h \
91 addr-util.h addr-util.c \
92 domain-util.h domain-util.c \
96 libavahi_la_SOURCES += \
97 iface-linux.c iface-linux.h \
101 libavahi_la_SOURCES += \
102 iface-pfroute.c iface-pfroute.h
104 libavahi_la_SOURCES += \
109 libavahi_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
110 libavahi_la_LIBADD = $(AM_LDADD) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(INTLLIBS)
111 libavahi_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_VERSION_INFO)