2 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION
5 DBUS_GLIB_BUILT_INCLUDES= \
10 dbus-glib-lowlevel.h \
11 $(DBUS_GLIB_BUILT_INCLUDES)
13 dbus-glib-error-enum.h: dbus-protocol.h make-dbus-glib-error-enum.sh
14 $(srcdir)/make-dbus-glib-error-enum.sh dbus-protocol.h $@
18 dbusincludedir=$(includedir)/dbus-1.0/dbus
19 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
21 lib_LTLIBRARIES=libdbus-1.la
23 dbusinclude_HEADERS= \
40 dbusarchinclude_HEADERS= \
43 ### source code that goes in the installed client library
44 ### and is specific to library functionality
53 dbus-connection-internal.h \
57 dbus-marshal-header.c \
58 dbus-marshal-header.h \
59 dbus-marshal-byteswap.c \
60 dbus-marshal-byteswap.h \
61 dbus-marshal-recursive.c \
62 dbus-marshal-recursive.h \
63 dbus-marshal-validate.c \
64 dbus-marshal-validate.h \
66 dbus-message-internal.h \
67 dbus-message-private.h \
74 dbus-server-debug-pipe.c \
75 dbus-server-debug-pipe.h \
76 dbus-server-protected.h \
86 dbus-transport-protected.h \
87 dbus-transport-unix.c \
88 dbus-transport-unix.h \
95 ### source code that goes in the installed client library
96 ### AND is generic utility functionality used by the
97 ### daemon or test programs (all symbols in here should
98 ### be underscore-prefixed)
99 DBUS_SHARED_SOURCES= \
108 dbus-marshal-basic.c \
109 dbus-marshal-basic.h \
115 dbus-string-private.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 \
139 dbus-sysdeps-util.c \
144 libdbus_1_la_SOURCES= \
145 $(DBUS_LIB_SOURCES) \
146 $(DBUS_SHARED_SOURCES)
148 libdbus_convenience_la_SOURCES= \
149 $(DBUS_LIB_SOURCES) \
150 $(DBUS_SHARED_SOURCES) \
153 BUILT_SOURCES=$(dbusarchinclude_HEADERS) $(DBUS_GLIB_BUILT_INCLUDES)
154 EXTRA_DIST=dbus-arch-deps.h.in make-dbus-glib-error-enum.sh
155 CLEANFILES=$(DBUS_GLIB_BUILT_INCLUDES)
157 ## this library is the same as libdbus, but exports all the symbols
158 ## and is only used for static linking within the dbus package.
159 noinst_LTLIBRARIES=libdbus-convenience.la
161 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
162 ## don't export symbols that start with "_" (we use this
163 ## convention for internal symbols)
164 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
166 ## note that TESTS has special meaning (stuff to use in make check)
167 ## so if adding tests not to be run in make check, don't add them to
170 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
176 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
177 ## even when not doing "make check"
178 noinst_PROGRAMS=$(TESTS)
183 dbus_test_LDADD=libdbus-convenience.la
185 ## mop up the gcov files
187 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true