docs/DBUS-API \
docs/AUTHORS \
docs/HACKING \
- docs/overview.dia
+ docs/overview.dia \
+ avahi-core.pc.in \
+ avahi-client.pc.in \
+ avahi-glib.pc.in
SUBDIRS = \
common \
tests
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = avahi-core.pc
+pkgconfig_DATA = \
+ avahi-core.pc \
+ avahi-client.pc \
+ avahi-glib.pc
+
+avahi-core.pc: avahi-core.pc.in
+ sed -e 's,@prefix\@,$(prefix),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+avahi-client.pc: avahi-client.pc.in
+ sed -e 's,@prefix\@,$(prefix),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+avahi-glib.pc: avahi-glib.pc.in
+ sed -e 's,@prefix\@,$(prefix),g' \
+ -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
MOSTLYCLEANFILES = $(DX_CLEANFILES)
--- /dev/null
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-client
+Description: Avahi Multicast DNS Responder (Client Support)
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lavahi-common -lavahi-client
+Cflags: -D_REENTRANT -I${includedir}
browser.c
libavahi_client_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
-libavahi_client_la_LIBADD = $(AM_LDADD) $(DBUS_LIBS) ../avahi-common/libavahi-common.la ../avahi-common/libdbus-watch-glue.a
+libavahi_client_la_LIBADD = $(AM_LDADD) $(DBUS_LIBS) ../avahi-common/libavahi-common.la ../avahi-common/libdbus-watch-glue.la
+libavahi_client_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:0:0
client_test_SOURCES = \
client-test.c
watch.h gccmacro.h
libavahi_common_la_CFLAGS = $(AM_CFLAGS)
-libavahi_common_la_LIBADD = $(AM_LDADD)
+libavahi_common_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:0:0
strlst_test_SOURCES = \
strlst.c strlst.h \
malloc.c malloc.h \
strlst-test.c
strlst_test_CFLAGS = $(AM_CFLAGS)
-strlst_test_LDADD = $(AM_LDADD)
alternative_test_SOURCES = \
alternative.c alternative.h \
domain.c domain.h \
alternative-test.c
alternative_test_CFLAGS = $(AM_CFLAGS)
-alternative_test_LDADD = $(AM_LDADD)
domain_test_SOURCES = \
domain.c domain.h \
malloc.c malloc.h \
domain-test.c
domain_test_CFLAGS = $(AM_CFLAGS)
-domain_test_LDADD = $(AM_LDADD)
watch_test_SOURCES = \
timeval.c timeval.h \
malloc.c malloc.h \
watch-test.c
watch_test_CFLAGS = $(AM_CFLAGS)
-watch_test_LDADD = $(AM_LDADD)
timeval_test_SOURCES = \
timeval.c timeval.h \
timeval-test.c
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
+noinst_LTLIBRARIES = \
+ libdbus-watch-glue.la
-libdbus_watch_glue_a_SOURCES = \
+libdbus_watch_glue_la_SOURCES = \
dbus-watch-glue.h dbus-watch-glue.c
-
-libdbus_watch_glue_a_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+libdbus_watch_glue_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+libdbus_watch_glue_la_LDFLAGS = $(AM_LDFLAGS) -static -export-dynamic
endif
includedir=${prefix}/include
Name: avahi-core
-Description: Avahi Embeddable Multicast DNS Engine
+Description: Avahi Multicast DNS Responder (Embeddable Stack)
Version: @PACKAGE_VERSION@
-Libs: -L${libdir} -lavahi-core -lavahi-common
+Libs: -L${libdir} -lavahi-common -lavahi-core
Cflags: -D_REENTRANT -I${includedir}
libavahi_core_la_CFLAGS = $(AM_CFLAGS)
libavahi_core_la_LIBADD = $(AM_LDADD) $(COMMON_LDADD)
+libavahi_core_la_LDFLAGS = $(AM_LDFLAGS) -export-dynamic -version-info 0:0:0
prioq_test_SOURCES = \
prioq-test.c \
introspect.xsl
if ENABLE_DBUS
+
avahi_daemon_SOURCES += \
dbus-protocol.c \
dbus-protocol.h
avahi_daemon_LDADD += \
- ../avahi-common/libdbus-watch-glue.a
+ ../avahi-common/libdbus-watch-glue.la
dbusservice_DATA = avahi-dbus.conf
--- /dev/null
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: avahi-glib
+Description: Avahi Multicast DNS Responder (GLib Support)
+Version: @PACKAGE_VERSION@
+Requires: glib-2.0
+Libs: -L${libdir} -lavahi-commong -lavahi-glib
+Cflags: -D_REENTRANT -I${includedir}
# ==========================================================================
AC_CONFIG_FILES([
Makefile
-avahi-core.pc
avahi-common/Makefile
avahi-core/Makefile
avahi-glib/Makefile