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")'
28 avahi_compat_howldir=$(includedir)/avahi-compat-howl
29 avahi_compat_howl_rendezvousdir=$(avahi_compat_howldir)/rendezvous
30 avahi_compat_howl_corbydir=$(avahi_compat_howldir)/corby
31 avahi_compat_howl_discoverydir=$(avahi_compat_howldir)/discovery
32 avahi_compat_howl_saltdir=$(avahi_compat_howldir)/salt
34 avahi_compat_howl_HEADERS = \
37 avahi_compat_howl_rendezvous_HEADERS = \
38 include/rendezvous/rendezvous.h \
39 include/rendezvous/text_record.h
41 avahi_compat_howl_corby_HEADERS = \
42 include/corby/message.h \
43 include/corby/object.h \
45 include/corby/corby.h \
46 include/corby/channel.h \
47 include/corby/buffer.h
49 avahi_compat_howl_discovery_HEADERS = \
50 include/discovery/discovery.h \
51 include/discovery/text_record.h
53 avahi_compat_howl_salt_HEADERS = \
54 include/salt/socket.h \
55 include/salt/address.h \
56 include/salt/platform.h \
57 include/salt/signal.h \
58 include/salt/interface.h \
64 $(avahi_compat_howl_HEADERS) \
65 $(avahi_compat_howl_rendezvous_HEADERS) \
66 $(avahi_compat_howl_corby_HEADERS) \
67 $(avahi_compat_howl_discovery_HEADERS) \
68 $(avahi_compat_howl_salt_HEADERS)
70 lib_LTLIBRARIES = libhowl.la
73 noinst_PROGRAMS = address-test text-test browse-domain-test
76 libhowl_la_SOURCES = \
83 libhowl_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
84 libhowl_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBAVAHI_COMPAT_HOWL_VERSION_INFO) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la
86 address_test_SOURCES = \
91 address_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
92 address_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la
99 text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
100 text_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) ../avahi-common/libavahi-common.la
102 browse_domain_test_SOURCES = \
105 browse_domain_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
106 browse_domain_test_LDADD = $(AM_LDADD) $(PTHREAD_LIBS) $(PTHREAD_CFLAGS) libhowl.la