summaryrefslogtreecommitdiffstats
path: root/dbus/Makefile.am
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-06 23:53:27 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-06 23:53:27 +0000
commitdf008ef97deacd5bb00ac335e5d8671798fa09dd (patch)
tree806477f545a05128aa17f6981d4f6185cf7587fe /dbus/Makefile.am
parent856361ff5b8ce701cdb447085931d3076ee52008 (diff)
2003-04-06 Havoc Pennington <hp@pobox.com>
* dbus/Makefile.am: split lists of sources into stuff that goes in the library, util functions that go in the lib and are also used elsewhere, and util functions that are used in tests/daemon but don't go in the lib. * dbus/dbus-mainloop.h, dbus/dbus-mainloop.c: move bus/loop.[hc] here so it can be used in test binaries also
Diffstat (limited to 'dbus/Makefile.am')
-rw-r--r--dbus/Makefile.am28
1 files changed, 22 insertions, 6 deletions
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
index 7d5ed501..957227e8 100644
--- a/dbus/Makefile.am
+++ b/dbus/Makefile.am
@@ -22,7 +22,9 @@ dbusinclude_HEADERS= \
dbus-threads.h \
dbus-types.h
-DBUS_SOURCES= \
+### 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 \
@@ -68,7 +70,11 @@ DBUS_SOURCES= \
## dbus-md5.c \
## dbus-md5.h \
-UTIL_SOURCES= \
+### 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 \
@@ -92,13 +98,23 @@ UTIL_SOURCES= \
dbus-sysdeps.c \
dbus-sysdeps.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-mainloop.c \
+ dbus-mainloop.h
+
libdbus_1_la_SOURCES= \
- $(DBUS_SOURCES) \
- $(UTIL_SOURCES)
+ $(DBUS_LIB_SOURCES) \
+ $(DBUS_SHARED_SOURCES)
libdbus_convenience_la_SOURCES= \
- $(DBUS_SOURCES) \
- $(UTIL_SOURCES)
+ $(DBUS_LIB_SOURCES) \
+ $(DBUS_SHARED_SOURCES) \
+ $(DBUS_UTIL_SOURCES)
## this library is the same as libdbus, but exports all the symbols
## and is only used for static linking within the dbus package.