2 INCLUDES=-I$(top_builddir) -I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION
4 dbusincludedir=$(includedir)/dbus-1.0/dbus
5 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
7 lib_LTLIBRARIES=libdbus-1.la
27 dbusarchinclude_HEADERS= \
30 ### source code that goes in the installed client library
31 ### and is specific to library functionality
40 dbus-connection-internal.h \
44 dbus-marshal-header.c \
45 dbus-marshal-header.h \
46 dbus-marshal-byteswap.c \
47 dbus-marshal-byteswap.h \
48 dbus-marshal-recursive.c \
49 dbus-marshal-recursive.h \
50 dbus-marshal-validate.c \
51 dbus-marshal-validate.h \
53 dbus-message-internal.h \
54 dbus-message-private.h \
58 dbus-pending-call-internal.h \
62 dbus-server-debug-pipe.c \
63 dbus-server-debug-pipe.h \
64 dbus-server-protected.h \
72 dbus-threads-internal.h \
76 dbus-transport-protected.h \
77 dbus-transport-unix.c \
78 dbus-transport-unix.h \
85 ### source code that goes in the installed client library
86 ### AND is generic utility functionality used by the
87 ### daemon or test programs (all symbols in here should
88 ### be underscore-prefixed)
89 DBUS_SHARED_SOURCES= \
98 dbus-marshal-basic.c \
99 dbus-marshal-basic.h \
105 dbus-string-private.h \
111 ### source code that is generic utility functionality used
112 ### by the bus daemon or test apps, but is NOT included
113 ### in the D-Bus client library (all symbols in here
114 ### should be underscore-prefixed but don't really need
115 ### to be unless they move to DBUS_SHARED_SOURCES later)
120 dbus-marshal-byteswap-util.c \
121 dbus-marshal-recursive-util.c \
122 dbus-marshal-validate-util.c \
123 dbus-message-factory.c \
124 dbus-message-factory.h \
125 dbus-message-util.c \
131 dbus-sysdeps-util.c \
132 dbus-sysdeps-util-unix.c \
137 libdbus_1_la_SOURCES= \
138 $(DBUS_LIB_SOURCES) \
139 $(DBUS_SHARED_SOURCES)
141 libdbus_convenience_la_SOURCES= \
142 $(DBUS_LIB_SOURCES) \
143 $(DBUS_SHARED_SOURCES) \
147 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
148 EXTRA_DIST=dbus-arch-deps.h.in
150 ## this library is the same as libdbus, but exports all the symbols
151 ## and is only used for static linking within the dbus package.
152 noinst_LTLIBRARIES=libdbus-convenience.la
154 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
155 ## don't export symbols that start with "_" (we use this
156 ## convention for internal symbols)
157 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined
159 ## note that TESTS has special meaning (stuff to use in make check)
160 ## so if adding tests not to be run in make check, don't add them to
163 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
169 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
170 ## even when not doing "make check"
171 noinst_PROGRAMS=$(TESTS)
176 dbus_test_LDADD=libdbus-convenience.la
178 ## mop up the gcov files
180 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true