]> git.meshlink.io Git - catta/blobdiff - avahi-common/Makefile.am
gcc 2.95 compatibility
[catta] / avahi-common / Makefile.am
index 8ac6365760608112e5a1566ec938b8a392b9de94..4310797f85f42e3e2228693dc91de11b3eb2403b 100644 (file)
@@ -37,11 +37,8 @@ avahi_commoninclude_HEADERS = \
        simple-watch.h \
        gccmacro.h
 
-noinst_HEADERS = llist.h
-
-if ENABLE_DBUS
-noinst_HEADERS += dbus.h
-endif
+noinst_HEADERS = \
+       llist.h
 
 noinst_PROGRAMS = \
        strlst-test \
@@ -62,7 +59,8 @@ libavahi_common_la_SOURCES = \
        domain.c domain.h \
        timeval.c timeval.h \
        simple-watch.c simple-watch.h \
-       watch.h
+       watch.h gccmacro.h
+
 libavahi_common_la_CFLAGS = $(AM_CFLAGS)
 libavahi_common_la_LIBADD = $(AM_LDADD)
 
@@ -104,3 +102,19 @@ timeval_test_CFLAGS = $(AM_CFLAGS)
 timeval_test_LDADD = $(AM_LDADD)
 
 
+
+if ENABLE_DBUS
+noinst_HEADERS += \
+       dbus.h \
+       dbus-watch-glue.h
+
+noinst_LIBRARIES = \
+       libdbus-watch-glue.a
+
+libdbus_watch_glue_a_SOURCES = \
+       dbus-watch-glue.h dbus-watch-glue.c
+
+libdbus_watch_glue_a_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+
+endif
+