]> git.meshlink.io Git - catta/blob - avahi-glib/Makefile.am
dd5a14f35138f4dc6bf34a24d238315614329840
[catta] / avahi-glib / Makefile.am
1 # $Id$
2 #
3 # This file is part of avahi.
4
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.
9 #
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.
14 #
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
18 # USA.
19
20 AM_CFLAGS=-I$(top_srcdir)
21
22 # GLIB 2.0
23 AM_CFLAGS+=$(GLIB20_CFLAGS)
24 AM_LDADD=$(GLIB20_LIBS)
25
26 # Import stuff from avahi-common
27 COMMON_LDADD=../avahi-common/libavahi-common.la
28
29 # This cool debug trap works on i386/gcc only
30 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
31
32 avahiincludedir=$(includedir)/avahi-glib
33
34 avahiinclude_HEADERS = \
35         glib-watch.h
36         glib-malloc.h
37
38 lib_LTLIBRARIES = \
39         libavahi-glib.la 
40
41 noinst_PROGRAMS = \
42         glib-watch-test
43
44 libavahi_glib_la_SOURCES = \
45         glib-watch.c glib-watch.h \
46         glib-malloc.h glib-malloc.c
47 libavahi_glib_la_CFLAGS = $(AM_CFLAGS)
48 libavahi_glib_la_LIBADD = $(AM_LDADD) $(COMMON_LDADD)
49
50 glib_watch_test_SOURCES = \
51         glib-watch.c glib-watch.h \
52         glib-watch-test.c
53 glib_watch_test_CFLAGS = $(AM_CFLAGS)
54 glib_watch_test_LDADD = $(AM_LDADD) $(COMMON_LDADD)
55
56
57
58
59