3 # This file is part of avahi.
5 # avahi is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2 of the
8 # License, or (at your option) any later version.
10 # avahi is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13 # License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with avahi; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 AM_CFLAGS=-I$(top_srcdir)
22 # This cool debug trap works on i386/gcc only
23 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
29 avahi_compat_howldir=$(includedir)/avahi-compat-howl
30 avahi_compat_howl_rendezvousdir=$(avahi_compat_howldir)/rendezvous
31 avahi_compat_howl_corbydir=$(avahi_compat_howldir)/corby
32 avahi_compat_howl_discoverydir=$(avahi_compat_howldir)/discovery
33 avahi_compat_howl_saltdir=$(avahi_compat_howldir)/salt
35 avahi_compat_howl_HEADERS = \
38 avahi_compat_howl_rendezvous_HEADERS = \
39 include/rendezvous/rendezvous.h \
40 include/rendezvous/text_record.h
42 avahi_compat_howl_corby_HEADERS = \
43 include/corby/message.h \
44 include/corby/object.h \
46 include/corby/corby.h \
47 include/corby/channel.h \
48 include/corby/buffer.h
50 avahi_compat_howl_discovery_HEADERS = \
51 include/discovery/discovery.h \
52 include/discovery/text_record.h
54 avahi_compat_howl_salt_HEADERS = \
55 include/salt/socket.h \
56 include/salt/address.h \
57 include/salt/platform.h \
58 include/salt/signal.h \
59 include/salt/interface.h \
65 $(avahi_compat_howl_HEADERS) \
66 $(avahi_compat_howl_rendezvous_HEADERS) \
67 $(avahi_compat_howl_corby_HEADERS) \
68 $(avahi_compat_howl_discovery_HEADERS) \
69 $(avahi_compat_howl_salt_HEADERS)
71 lib_LTLIBRARIES = libavahi-compat-howl.la
73 noinst_PROGRAMS = address-test text-test browse-domain-test
75 libavahi_compat_howl_la_SOURCES = \
82 libavahi_compat_howl_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
83 libavahi_compat_howl_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_COMPAT_HOWL_VERSION_INFO) $(PTHREAD_LIBS) ../avahi-common/libavahi-common.la ../avahi-client/libavahi-client.la
85 address_test_SOURCES = \
90 address_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
91 address_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la
98 text_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
99 text_test_LDADD = $(AM_LDADD) ../avahi-common/libavahi-common.la
101 browse_domain_test_SOURCES = \
104 browse_domain_test_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include
105 browse_domain_test_LDADD = $(AM_LDADD) libavahi-compat-howl.la