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 \
107 dbus-sysdeps-unix.c \
112 ### source code that is generic utility functionality used
113 ### by the bus daemon or test apps, but is NOT included
114 ### in the D-Bus client library (all symbols in here
115 ### should be underscore-prefixed but don't really need
116 ### to be unless they move to DBUS_SHARED_SOURCES later)
121 dbus-marshal-byteswap-util.c \
122 dbus-marshal-recursive-util.c \
123 dbus-marshal-validate-util.c \
124 dbus-message-factory.c \
125 dbus-message-factory.h \
126 dbus-message-util.c \
132 dbus-sysdeps-util.c \
133 dbus-sysdeps-util-unix.c \
138 libdbus_1_la_SOURCES= \
139 $(DBUS_LIB_SOURCES) \
140 $(DBUS_SHARED_SOURCES)
142 libdbus_convenience_la_SOURCES= \
143 $(DBUS_LIB_SOURCES) \
144 $(DBUS_SHARED_SOURCES) \
148 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
149 EXTRA_DIST=dbus-arch-deps.h.in
151 ## this library is the same as libdbus, but exports all the symbols
152 ## and is only used for static linking within the dbus package.
153 noinst_LTLIBRARIES=libdbus-convenience.la
155 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
156 ## don't export symbols that start with "_" (we use this
157 ## convention for internal symbols)
158 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*" -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined
160 ## note that TESTS has special meaning (stuff to use in make check)
161 ## so if adding tests not to be run in make check, don't add them to
164 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
170 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
171 ## even when not doing "make check"
172 noinst_PROGRAMS=$(TESTS)
177 dbus_test_LDADD=libdbus-convenience.la
179 ## mop up the gcov files
181 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true