2 configdir=$(sysconfdir)/dbus-1
4 INCLUDES=-I$(top_builddir) -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""$(configdir)/machine-id"\"
6 dbusincludedir=$(includedir)/dbus-1.0/dbus
7 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
9 lib_LTLIBRARIES=libdbus-1.la
11 dbusinclude_HEADERS= \
29 dbusarchinclude_HEADERS= \
32 ### source code that goes in the installed client library
33 ### and is specific to library functionality
42 dbus-connection-internal.h \
46 dbus-marshal-header.c \
47 dbus-marshal-header.h \
48 dbus-marshal-byteswap.c \
49 dbus-marshal-byteswap.h \
50 dbus-marshal-recursive.c \
51 dbus-marshal-recursive.h \
52 dbus-marshal-validate.c \
53 dbus-marshal-validate.h \
55 dbus-message-internal.h \
56 dbus-message-private.h \
60 dbus-pending-call-internal.h \
64 dbus-server-debug-pipe.c \
65 dbus-server-debug-pipe.h \
66 dbus-server-protected.h \
67 dbus-server-socket.c \
68 dbus-server-socket.h \
76 dbus-threads-internal.h \
80 dbus-transport-protected.h \
81 dbus-transport-socket.c \
82 dbus-transport-socket.h \
83 dbus-transport-unix.c \
84 dbus-transport-unix.h \
93 ### source code that goes in the installed client library
94 ### AND is generic utility functionality used by the
95 ### daemon or test programs (all symbols in here should
96 ### be underscore-prefixed)
97 DBUS_SHARED_SOURCES= \
106 dbus-marshal-basic.c \
107 dbus-marshal-basic.h \
113 dbus-string-private.h \
116 dbus-sysdeps-unix.c \
117 dbus-sysdeps-unix.h \
121 ### source code that is generic utility functionality used
122 ### by the bus daemon or test apps, but is NOT included
123 ### in the D-Bus client library (all symbols in here
124 ### should be underscore-prefixed but don't really need
125 ### to be unless they move to DBUS_SHARED_SOURCES later)
130 dbus-marshal-byteswap-util.c \
131 dbus-marshal-recursive-util.c \
132 dbus-marshal-validate-util.c \
133 dbus-message-factory.c \
134 dbus-message-factory.h \
135 dbus-message-util.c \
141 dbus-sysdeps-util.c \
142 dbus-sysdeps-util-unix.c \
147 libdbus_1_la_SOURCES= \
148 $(DBUS_LIB_SOURCES) \
149 $(DBUS_SHARED_SOURCES)
151 libdbus_convenience_la_SOURCES= \
152 $(DBUS_LIB_SOURCES) \
153 $(DBUS_SHARED_SOURCES) \
157 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
158 EXTRA_DIST=dbus-arch-deps.h.in
160 ## this library is the same as libdbus, but exports all the symbols
161 ## and is only used for static linking within the dbus package.
162 noinst_LTLIBRARIES=libdbus-convenience.la
164 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
165 ## don't export symbols that start with "_" (we use this
166 ## convention for internal symbols)
167 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined
169 ## note that TESTS has special meaning (stuff to use in make check)
170 ## so if adding tests not to be run in make check, don't add them to
173 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
179 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
180 ## even when not doing "make check"
181 noinst_PROGRAMS=$(TESTS)
186 dbus_test_LDADD=libdbus-convenience.la
188 ## mop up the gcov files
190 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true