2 INCLUDES=-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
24 dbusarchinclude_HEADERS= \
27 ### source code that goes in the installed client library
28 ### and is specific to library functionality
37 dbus-connection-internal.h \
42 dbus-message-internal.h \
49 dbus-server-protected.h \
50 dbus-server-debug-pipe.c \
51 dbus-server-debug-pipe.h \
63 dbus-transport-protected.h \
64 dbus-transport-unix.c \
65 dbus-transport-unix.h \
72 ### source code that goes in the installed client library
73 ### AND is generic utility functionality used by the
74 ### daemon or test programs (all symbols in here should
75 ### be underscore-prefixed)
76 DBUS_SHARED_SOURCES= \
90 dbus-message-builder.c \
91 dbus-message-builder.h \
96 dbus-string-private.h \
102 ### source code that is generic utility functionality used
103 ### by the bus daemon or test apps, but is NOT included
104 ### in the D-BUS client library (all symbols in here
105 ### should be underscore-prefixed but don't really need
106 ### to be unless they move to DBUS_SHARED_SOURCES later)
111 libdbus_1_la_SOURCES= \
112 $(DBUS_LIB_SOURCES) \
113 $(DBUS_SHARED_SOURCES)
115 libdbus_convenience_la_SOURCES= \
116 $(DBUS_LIB_SOURCES) \
117 $(DBUS_SHARED_SOURCES) \
120 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
121 EXTRA_DIST=dbus-arch-deps.h.in
123 ## this library is the same as libdbus, but exports all the symbols
124 ## and is only used for static linking within the dbus package.
125 noinst_LTLIBRARIES=libdbus-convenience.la
127 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
128 ## don't export symbols that start with "_" (we use this
129 ## convention for internal symbols)
130 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
132 ## note that TESTS has special meaning (stuff to use in make check)
133 ## so if adding tests not to be run in make check, don't add them to
136 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
142 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
143 ## even when not doing "make check"
144 noinst_PROGRAMS=$(TESTS)
149 dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-1.la
151 ## mop up the gcov files
153 /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true