2 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION \
3 -DDBUS_SYSTEM_BUS_PATH=\""@DBUS_SYSTEM_SOCKET@"\"
5 dbusincludedir=$(includedir)/dbus-1.0/dbus
6 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
8 lib_LTLIBRARIES=libdbus-1.la
10 dbusinclude_HEADERS= \
19 dbus-message-handler.h \
28 dbusarchinclude_HEADERS= \
31 ### source code that goes in the installed client library
32 ### and is specific to library functionality
41 dbus-connection-internal.h \
46 dbus-message-handler.c \
47 dbus-message-internal.h \
50 dbus-object-registry.c \
51 dbus-object-registry.h \
56 dbus-server-protected.h \
57 dbus-server-debug-pipe.c \
58 dbus-server-debug-pipe.h \
70 dbus-transport-protected.h \
71 dbus-transport-unix.c \
72 dbus-transport-unix.h \
79 ### source code that goes in the installed client library
80 ### AND is generic utility functionality used by the
81 ### daemon or test programs (all symbols in here should
82 ### be underscore-prefixed)
83 DBUS_SHARED_SOURCES= \
97 dbus-message-builder.c \
98 dbus-message-builder.h \
103 dbus-string-private.h \
109 ### source code that is generic utility functionality used
110 ### by the bus daemon or test apps, but is NOT included
111 ### in the D-BUS client library (all symbols in here
112 ### should be underscore-prefixed but don't really need
113 ### to be unless they move to DBUS_SHARED_SOURCES later)
118 libdbus_1_la_SOURCES= \
119 $(DBUS_LIB_SOURCES) \
120 $(DBUS_SHARED_SOURCES)
122 libdbus_convenience_la_SOURCES= \
123 $(DBUS_LIB_SOURCES) \
124 $(DBUS_SHARED_SOURCES) \
127 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
128 EXTRA_DIST=dbus-arch-deps.h.in
130 ## this library is the same as libdbus, but exports all the symbols
131 ## and is only used for static linking within the dbus package.
132 noinst_LTLIBRARIES=libdbus-convenience.la
134 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
135 ## don't export symbols that start with "_" (we use this
136 ## convention for internal symbols)
137 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
139 ## note that TESTS has special meaning (stuff to use in make check)
140 ## so if adding tests not to be run in make check, don't add them to
143 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
149 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
150 ## even when not doing "make check"
151 noinst_PROGRAMS=$(TESTS)
156 dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-1.la
158 ## mop up the gcov files
160 /bin/rm *.bb *.bbg *.da *.gcov || true