| 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) -I$(top_srcdir)/avahi-compat-howl/include |
| 19 |
|
| 20 |
# This cool debug trap works on i386/gcc only |
| 21 |
AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")' |
| 22 |
|
| 23 |
if HAVE_DBUS |
| 24 |
if ENABLE_COMPAT_HOWL |
| 25 |
|
| 26 |
if ENABLE_TESTS |
| 27 |
noinst_PROGRAMS = browse resolve publish query |
| 28 |
endif |
| 29 |
|
| 30 |
browse_SOURCES = \ |
| 31 |
browse.c |
| 32 |
browse_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include |
| 33 |
browse_LDADD = $(AM_LDADD) ../libhowl.la |
| 34 |
|
| 35 |
resolve_SOURCES = \ |
| 36 |
resolve.c |
| 37 |
resolve_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include |
| 38 |
resolve_LDADD = $(AM_LDADD) ../libhowl.la |
| 39 |
|
| 40 |
publish_SOURCES = \ |
| 41 |
publish.c |
| 42 |
publish_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include |
| 43 |
publish_LDADD = $(AM_LDADD) ../libhowl.la |
| 44 |
|
| 45 |
query_SOURCES = \ |
| 46 |
query.c |
| 47 |
query_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) -I $(srcdir)/include |
| 48 |
query_LDADD = $(AM_LDADD) ../libhowl.la |
| 49 |
|
| 50 |
endif |
| 51 |
endif |