| |
| configdir=$(sysconfdir)/dbus-1 |
| |
| INCLUDES=-I$(top_builddir) -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" |
| |
| dbusincludedir=$(includedir)/dbus-1.0/dbus |
| dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus |
| |
| lib_LTLIBRARIES=libdbus-1.la |
| |
| dbusinclude_HEADERS= \ |
| dbus.h \ |
| dbus-address.h \ |
| dbus-bus.h \ |
| dbus-connection.h \ |
| dbus-errors.h \ |
| dbus-macros.h \ |
| dbus-memory.h \ |
| dbus-message.h \ |
| dbus-misc.h \ |
| dbus-pending-call.h \ |
| dbus-protocol.h \ |
| dbus-server.h \ |
| dbus-shared.h \ |
| dbus-signature.h \ |
| dbus-threads.h \ |
| dbus-types.h |
| |
| |
| dbusarchinclude_HEADERS= \ |
| dbus-arch-deps.h |
| |
| ### source code that goes in the installed client library |
| ### and is specific to library functionality |
| DBUS_LIB_SOURCES= \ |
| dbus-address.c \ |
| dbus-auth.c \ |
| dbus-auth.h \ |
| dbus-auth-script.c \ |
| dbus-auth-script.h \ |
| dbus-bus.c \ |
| dbus-connection.c \ |
| dbus-connection-internal.h \ |
| dbus-errors.c \ |
| dbus-keyring.c \ |
| dbus-keyring.h \ |
| dbus-marshal-header.c \ |
| dbus-marshal-header.h \ |
| dbus-marshal-byteswap.c \ |
| dbus-marshal-byteswap.h \ |
| dbus-marshal-recursive.c \ |
| dbus-marshal-recursive.h \ |
| dbus-marshal-validate.c \ |
| dbus-marshal-validate.h \ |
| dbus-message.c \ |
| dbus-message-internal.h \ |
| dbus-message-private.h \ |
| dbus-misc.c \ |
| dbus-object-tree.c \ |
| dbus-object-tree.h \ |
| dbus-pending-call.c \ |
| dbus-pending-call-internal.h \ |
| dbus-resources.c \ |
| dbus-resources.h \ |
| dbus-server.c \ |
| dbus-server-debug-pipe.c \ |
| dbus-server-debug-pipe.h \ |
| dbus-server-protected.h \ |
| dbus-server-socket.c \ |
| dbus-server-socket.h \ |
| dbus-server-unix.c \ |
| dbus-server-unix.h \ |
| dbus-sha.c \ |
| dbus-sha.h \ |
| dbus-signature.c \ |
| dbus-timeout.c \ |
| dbus-timeout.h \ |
| dbus-threads-internal.h \ |
| dbus-threads.c \ |
| dbus-transport.c \ |
| dbus-transport.h \ |
| dbus-transport-protected.h \ |
| dbus-transport-socket.c \ |
| dbus-transport-socket.h \ |
| dbus-transport-unix.c \ |
| dbus-transport-unix.h \ |
| dbus-uuidgen.c \ |
| dbus-uuidgen.h \ |
| dbus-watch.c \ |
| dbus-watch.h |
| |
| ## dbus-md5.c \ |
| ## dbus-md5.h \ |
| |
| ### source code that goes in the installed client library |
| ### AND is generic utility functionality used by the |
| ### daemon or test programs (all symbols in here should |
| ### be underscore-prefixed) |
| DBUS_SHARED_SOURCES= \ |
| dbus-dataslot.c \ |
| dbus-dataslot.h \ |
| dbus-hash.c \ |
| dbus-hash.h \ |
| dbus-internals.c \ |
| dbus-internals.h \ |
| dbus-list.c \ |
| dbus-list.h \ |
| dbus-marshal-basic.c \ |
| dbus-marshal-basic.h \ |
| dbus-memory.c \ |
| dbus-mempool.c \ |
| dbus-mempool.h \ |
| dbus-string.c \ |
| dbus-string.h \ |
| dbus-string-private.h \ |
| dbus-sysdeps.c \ |
| dbus-sysdeps.h \ |
| dbus-sysdeps-pthread.c \ |
| dbus-sysdeps-unix.c \ |
| dbus-sysdeps-unix.h \ |
| dbus-userdb.c \ |
| dbus-userdb.h |
| |
| ### source code that is generic utility functionality used |
| ### by the bus daemon or test apps, but is NOT included |
| ### in the D-Bus client library (all symbols in here |
| ### should be underscore-prefixed but don't really need |
| ### to be unless they move to DBUS_SHARED_SOURCES later) |
| DBUS_UTIL_SOURCES= \ |
| dbus-auth-util.c \ |
| dbus-mainloop.c \ |
| dbus-mainloop.h \ |
| dbus-marshal-byteswap-util.c \ |
| dbus-marshal-recursive-util.c \ |
| dbus-marshal-validate-util.c \ |
| dbus-message-factory.c \ |
| dbus-message-factory.h \ |
| dbus-message-util.c \ |
| dbus-shell.c \ |
| dbus-shell.h \ |
| dbus-spawn.c \ |
| dbus-spawn.h \ |
| dbus-string-util.c \ |
| dbus-sysdeps-util.c \ |
| dbus-sysdeps-util-unix.c \ |
| dbus-test.c \ |
| dbus-test.h \ |
| dbus-userdb-util.c |
| |
| libdbus_1_la_SOURCES= \ |
| $(DBUS_LIB_SOURCES) \ |
| $(DBUS_SHARED_SOURCES) |
| |
| libdbus_convenience_la_SOURCES= \ |
| $(DBUS_LIB_SOURCES) \ |
| $(DBUS_SHARED_SOURCES) \ |
| $(DBUS_UTIL_SOURCES) |
| |
| |
| BUILT_SOURCES=$(dbusarchinclude_HEADERS) |
| EXTRA_DIST=dbus-arch-deps.h.in |
| |
| ## this library is the same as libdbus, but exports all the symbols |
| ## and is only used for static linking within the dbus package. |
| noinst_LTLIBRARIES=libdbus-convenience.la |
| |
| libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS) |
| ## don't export symbols that start with "_" (we use this |
| ## convention for internal symbols) |
| libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined @R_DYNAMIC_LDFLAG@ |
| |
| libdbus_convenience_la_LDFLAGS=@R_DYNAMIC_LDFLAG@ |
| |
| ## note that TESTS has special meaning (stuff to use in make check) |
| ## so if adding tests not to be run in make check, don't add them to |
| ## TESTS |
| if DBUS_BUILD_TESTS |
| TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus |
| TESTS=dbus-test |
| else |
| TESTS= |
| endif |
| |
| ## we use noinst_PROGRAMS not check_PROGRAMS so that we build |
| ## even when not doing "make check" |
| noinst_PROGRAMS=$(TESTS) |
| |
| dbus_test_SOURCES= \ |
| dbus-test-main.c |
| |
| dbus_test_LDADD=libdbus-convenience.la $(DBUS_TEST_LIBS) |
| dbus_test_LDFLAGS=@R_DYNAMIC_LDFLAG@ |
| |
| ## mop up the gcov files |
| clean-local: |
| /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true |