]> git.meshlink.io Git - catta/commitdiff
don't build static library for dbus-watch-glue and the like, instead compile the...
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Nov 2005 02:03:21 +0000 (02:03 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Nov 2005 02:03:21 +0000 (02:03 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1028 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/Makefile.am
avahi-common/Makefile.am
avahi-daemon/Makefile.am

index aaa772a167bcb75359fa120f0ab4232be78ba985..3a033922e78b531f24bcd623bbbf167ad736638d 100644 (file)
@@ -47,10 +47,12 @@ libavahi_client_la_SOURCES = \
        browser.c \
        resolver.c \
        publish.h lookup.h \
-       xdg-config.c xdg-config.h
+       xdg-config.c xdg-config.h \
+       ../avahi-common/dbus.c ../avahi-common/dbus.h \
+       ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h
 
 libavahi_client_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"$(DBUS_SYSTEM_BUS_DEFAULT_ADDRESS)\"
-libavahi_client_la_LIBADD = $(AM_LDADD) $(DBUS_LIBS) ../avahi-common/libavahi-common.la ../avahi-common/libdbus-common-pic.la
+libavahi_client_la_LIBADD = $(AM_LDADD) $(DBUS_LIBS) ../avahi-common/libavahi-common.la
 libavahi_client_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info $(LIBAVAHI_CLIENT_VERSION_INFO)
 
 client_test_SOURCES = client-test.c
index 912b7a91c0c698744250b430df9cb03cf721933c..ff436ae2588e902220ff9c874b5373944599ae1a 100644 (file)
@@ -107,19 +107,5 @@ noinst_HEADERS = \
        dbus.h \
        dbus-watch-glue.h
 
-noinst_LTLIBRARIES = \
-       libdbus-common.la \
-       libdbus-common-pic.la
-
-libdbus_common_la_SOURCES = \
-       dbus-watch-glue.h dbus-watch-glue.c \
-       dbus.h dbus.c
-libdbus_common_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
-libdbus_common_la_LDFLAGS = $(AM_LDFLAGS) -all-static
-
-libdbus_common_pic_la_SOURCES = $(libdbus_common_la_SOURCES)
-libdbus_common_pic_la_CFLAGS = $(libdbus_common_la_CFLAGS) -fPIC
-libdbus_common_pic_la_LDFLAGS = $(libdbus_common_la_LDFLAGS)
-
 endif
 
index 23f5a97052fc1d205f54da515dfb65decf08ac09..246bd900bed6ff3eba728eb91c64c046a0a06a2e 100644 (file)
@@ -98,10 +98,11 @@ avahi_daemon_SOURCES += \
        dbus-sync-address-resolver.c \
        dbus-sync-host-name-resolver.c \
        dbus-sync-service-resolver.c \
-       dbus-record-browser.c
-
+       dbus-record-browser.c  \
+        ../avahi-common/dbus.c ../avahi-common/dbus.h \
+       ../avahi-common/dbus-watch-glue.c ../avahi-common/dbus-watch-glue.h
+               
 avahi_daemon_LDADD += \
-       ../avahi-common/libdbus-common.la \
        $(DBUS_LIBS)
 
 avahi_daemon_CFLAGS += $(DBUS_CFLAGS)