2003-03-07 Anders Carlsson <andersca@codefactory.se>
[platform/upstream/dbus.git] / dbus / Makefile.am
index 3f6bb63..622d964 100644 (file)
@@ -7,7 +7,10 @@ lib_LTLIBRARIES=libdbus-1.la
 
 dbusinclude_HEADERS=                           \
        dbus.h                                  \
+       dbus-address.h                          \
+       dbus-bus.h                              \
        dbus-connection.h                       \
+       dbus-dict.h                             \
        dbus-errors.h                           \
        dbus-macros.h                           \
        dbus-memory.h                           \
@@ -19,11 +22,18 @@ dbusinclude_HEADERS=                                \
        dbus-types.h
 
 libdbus_1_la_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-dict.c                             \
        dbus-errors.c                           \
+       dbus-keyring.c                          \
+       dbus-keyring.h                          \
        dbus-memory.c                           \
        dbus-message.c                          \
        dbus-message-handler.c                  \
@@ -32,8 +42,12 @@ libdbus_1_la_SOURCES=                                \
        dbus-resources.h                        \
        dbus-server.c                           \
        dbus-server-protected.h                 \
+       dbus-server-debug.c                     \
+       dbus-server-debug.h                     \
        dbus-server-unix.c                      \
        dbus-server-unix.h                      \
+       dbus-sha.c                              \
+       dbus-sha.h                              \
        dbus-test.c                             \
        dbus-test.h                             \
        dbus-timeout.c                          \
@@ -41,12 +55,17 @@ libdbus_1_la_SOURCES=                               \
        dbus-threads.c                          \
        dbus-transport.c                        \
        dbus-transport.h                        \
+       dbus-transport-debug.c                  \
+       dbus-transport-debug.h                  \
        dbus-transport-protected.h              \
        dbus-transport-unix.c                   \
        dbus-transport-unix.h                   \
        dbus-watch.c                            \
        dbus-watch.h
 
+##     dbus-md5.c                              \
+##     dbus-md5.h                              \
+
 
 ## this library is linked into both libdbus and the bus 
 ## itself, but does not export any symbols from libdbus.
@@ -57,6 +76,8 @@ libdbus_1_la_SOURCES=                         \
 noinst_LTLIBRARIES=libdbus-convenience.la
 
 libdbus_convenience_la_SOURCES=                        \
+       dbus-dataslot.c                         \
+       dbus-dataslot.h                         \
        dbus-hash.c                             \
        dbus-hash.h                             \
        dbus-internals.c                        \
@@ -71,20 +92,25 @@ libdbus_convenience_la_SOURCES=                     \
        dbus-message-builder.h                  \
        dbus-string.c                           \
        dbus-string.h                           \
+       dbus-string-private.h                   \
        dbus-sysdeps.c                          \
        dbus-sysdeps.h
 
 libdbus_1_la_LIBADD=  $(DBUS_CLIENT_LIBS) libdbus-convenience.la
 ## don't export symbols that start with "_" (we use this 
 ## convention for internal symbols)
-libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
+#libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
+
+## FIXME it would be less annoying when hacking if we didn't have 
+## to relink these test binaries, so moving them to the test/* 
+## subdir would be nice.
 
 ## 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_srcdir)/test/data"
-TESTS=dbus-test
+TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_srcdir)/test/data
+TESTS=dbus-test 
 else
 TESTS=
 endif
@@ -97,3 +123,7 @@ dbus_test_SOURCES=                           \
        dbus-test-main.c
 
 dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-convenience.la libdbus-1.la
+
+## mop up the gcov files
+clean-local:
+       /bin/rm *.bb *.bbg *.da *.gcov || true