2 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION \
3 -DDBUS_SYSTEM_BUS_PATH=\""@DBUS_SYSTEM_SOCKET@"\"
5 dbusincludedir=$(includedir)/dbus-1.0/dbus
6 dbusarchincludedir=$(libdir)/dbus-1.0/include/dbus
8 lib_LTLIBRARIES=libdbus-1.la
10 dbusinclude_HEADERS= \
19 dbus-message-handler.h \
25 dbusarchinclude_HEADERS= \
28 ### source code that goes in the installed client library
29 ### and is specific to library functionality
38 dbus-connection-internal.h \
43 dbus-message-handler.c \
44 dbus-message-internal.h \
48 dbus-server-protected.h \
49 dbus-server-debug-pipe.c \
50 dbus-server-debug-pipe.h \
62 dbus-transport-protected.h \
63 dbus-transport-unix.c \
64 dbus-transport-unix.h \
71 ### source code that goes in the installed client library
72 ### AND is generic utility functionality used by the
73 ### daemon or test programs (all symbols in here should
74 ### be underscore-prefixed)
75 DBUS_SHARED_SOURCES= \
89 dbus-message-builder.c \
90 dbus-message-builder.h \
95 dbus-string-private.h \
101 ### source code that is generic utility functionality used
102 ### by the bus daemon or test apps, but is NOT included
103 ### in the D-BUS client library (all symbols in here
104 ### should be underscore-prefixed but don't really need
105 ### to be unless they move to DBUS_SHARED_SOURCES later)
110 libdbus_1_la_SOURCES= \
111 $(DBUS_LIB_SOURCES) \
112 $(DBUS_SHARED_SOURCES)
114 libdbus_convenience_la_SOURCES= \
115 $(DBUS_LIB_SOURCES) \
116 $(DBUS_SHARED_SOURCES) \
119 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
120 EXTRA_DIST=dbus-arch-deps.h.in
122 ## this library is the same as libdbus, but exports all the symbols
123 ## and is only used for static linking within the dbus package.
124 noinst_LTLIBRARIES=libdbus-convenience.la
126 libdbus_1_la_LIBADD= $(DBUS_CLIENT_LIBS)
127 ## don't export symbols that start with "_" (we use this
128 ## convention for internal symbols)
129 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
131 ## note that TESTS has special meaning (stuff to use in make check)
132 ## so if adding tests not to be run in make check, don't add them to
135 TESTS_ENVIRONMENT=DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
141 ## we use noinst_PROGRAMS not check_PROGRAMS so that we build
142 ## even when not doing "make check"
143 noinst_PROGRAMS=$(TESTS)
148 dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-1.la
150 ## mop up the gcov files
152 /bin/rm *.bb *.bbg *.da *.gcov || true