2 configdir=$(sysconfdir)/dbus-1
4 INCLUDES=-I$(top_builddir) -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) @PIC_CFLAGS@ -DDBUS_COMPILATION \
5 -DDBUS_MACHINE_UUID_FILE=\""$(localstatedir)/lib/dbus/machine-id"\" \
6 -DDBUS_SYSTEM_CONFIG_FILE=\""$(configdir)/system.conf"\" \
7 -DDBUS_SESSION_CONFIG_FILE=\""$(configdir)/session.conf"\"
9 dbusincludedir=$(includedir)/dbus-1.0/dbus
10 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
12 lib_LTLIBRARIES=libdbus-1.la
14 dbusinclude_HEADERS= \
33 dbusarchinclude_HEADERS= \
36 ### source code that goes in the installed client library
37 ### and is specific to library functionality
46 dbus-connection-internal.h \
52 dbus-marshal-header.c \
53 dbus-marshal-header.h \
54 dbus-marshal-byteswap.c \
55 dbus-marshal-byteswap.h \
56 dbus-marshal-recursive.c \
57 dbus-marshal-recursive.h \
58 dbus-marshal-validate.c \
59 dbus-marshal-validate.h \
61 dbus-message-internal.h \
62 dbus-message-private.h \
67 dbus-pending-call-internal.h \
71 dbus-server-debug-pipe.c \
72 dbus-server-debug-pipe.h \
73 dbus-server-protected.h \
74 dbus-server-socket.c \
75 dbus-server-socket.h \
83 dbus-threads-internal.h \
87 dbus-transport-protected.h \
88 dbus-transport-socket.c \
89 dbus-transport-socket.h \
90 dbus-transport-unix.c \
91 dbus-transport-unix.h \
100 ### source code that goes in the installed client library
101 ### AND is generic utility functionality used by the
102 ### daemon or test programs (all symbols in here should
103 ### be underscore-prefixed)
104 DBUS_SHARED_SOURCES= \
113 dbus-marshal-basic.c \
114 dbus-marshal-basic.h \
120 dbus-string-private.h \
123 dbus-sysdeps-pthread.c \
124 dbus-sysdeps-unix.c \
125 dbus-sysdeps-unix.h \
129 ### source code that is generic utility functionality used
130 ### by the bus daemon or test apps, but is NOT included
131 ### in the D-Bus client library (all symbols in here
132 ### should be underscore-prefixed but don't really need
133 ### to be unless they move to DBUS_SHARED_SOURCES later)
136 dbus-credentials-util.c \
139 dbus-marshal-byteswap-util.c \
140 dbus-marshal-recursive-util.c \
141 dbus-marshal-validate-util.c \
142 dbus-message-factory.c \
143 dbus-message-factory.h \
144 dbus-message-util.c \
150 dbus-sysdeps-util.c \
151 dbus-sysdeps-util-unix.c \
156 libdbus_1_la_SOURCES= \
157 $(DBUS_LIB_SOURCES) \
158 $(DBUS_SHARED_SOURCES)
160 libdbus_convenience_la_SOURCES= \
161 $(DBUS_LIB_SOURCES) \
162 $(DBUS_SHARED_SOURCES) \
166 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
167 EXTRA_DIST=dbus-arch-deps.h.in
169 ## this library is the same as libdbus, but exports all the symbols
170 ## and is only used for static linking within the dbus package.
171 noinst_LTLIBRARIES=libdbus-convenience.la
173 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
174 ## don't export symbols that start with "_" (we use this
175 ## convention for internal symbols)
176 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined @R_DYNAMIC_LDFLAG@ @PIC_LDFLAGS@
178 libdbus_convenience_la_LDFLAGS=@R_DYNAMIC_LDFLAG@
180 ## note that TESTS has special meaning (stuff to use in make check)
181 ## so if adding tests not to be run in make check, don't add them to
183 ## if DBUS_BUILD_TESTS
184 ## TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
190 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
191 ## even when not doing "make check"
192 noinst_PROGRAMS=$(TESTS)
197 dbus_test_LDADD=libdbus-convenience.la $(DBUS_TEST_LIBS)
198 dbus_test_LDFLAGS=@R_DYNAMIC_LDFLAG@
200 ## mop up the gcov files
202 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true