* dbus/Makefile.am: added missing headers for make dist
[platform/upstream/dbus.git] / dbus / Makefile.am
1
2 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) -DDBUS_COMPILATION
3
4 dbusincludedir=$(includedir)/dbus-1.0/dbus
5
6 lib_LTLIBRARIES=libdbus-1.la
7
8 dbusinclude_HEADERS=                            \
9         dbus.h                                  \
10         dbus-errors.h                           \
11         dbus-macros.h                           \
12         dbus-memory.h                           \
13         dbus-message.h                          \
14         dbus-message-handler.h                  \
15         dbus-protocol.h                         \
16         dbus-server.h                           \
17         dbus-threads.h                          \
18         dbus-types.h
19
20 libdbus_1_la_SOURCES=                           \
21         dbus-auth.c                             \
22         dbus-auth.h                             \
23         dbus-connection.c                       \
24         dbus-connection.h                       \
25         dbus-connection-internal.h              \
26         dbus-errors.c                           \
27         dbus-memory.c                           \
28         dbus-message.c                          \
29         dbus-message-handler.c                  \
30         dbus-message-internal.h                 \
31         dbus-server.c                           \
32         dbus-server-protected.h                 \
33         dbus-server-unix.c                      \
34         dbus-server-unix.h                      \
35         dbus-threads.c                          \
36         dbus-transport.c                        \
37         dbus-transport.h                        \
38         dbus-transport-protected.h              \
39         dbus-transport-unix.c                   \
40         dbus-transport-unix.h                   \
41         dbus-watch.c                            \
42         dbus-watch.h
43
44
45 ## this library is linked into both libdbus and the bus 
46 ## itself, but does not export any symbols from libdbus.
47 ## i.e. the point is to contain symbols that we don't 
48 ## want the shared lib to export, but we do want the 
49 ## message bus to be able to use.
50
51 noinst_LTLIBRARIES=libdbus-convenience.la
52
53 libdbus_convenience_la_SOURCES=                 \
54         dbus-hash.c                             \
55         dbus-hash.h                             \
56         dbus-internals.c                        \
57         dbus-internals.h                        \
58         dbus-list.c                             \
59         dbus-list.h                             \
60         dbus-marshal.c                          \
61         dbus-marshal.h                          \
62         dbus-mempool.c                          \
63         dbus-mempool.h                          \
64         dbus-string.c                           \
65         dbus-string.h                           \
66         dbus-sysdeps.c                          \
67         dbus-sysdeps.h
68
69 libdbus_1_la_LIBADD=  $(DBUS_CLIENT_LIBS) libdbus-convenience.la
70 ## don't export symbols that start with "_" (we use this 
71 ## convention for internal symbols)
72 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[^_].*"
73
74 if DBUS_BUILD_TESTS
75 noinst_PROGRAMS=dbus-test
76
77 dbus_test_SOURCES=                              \
78         dbus-test.c                             \
79         dbus-test.h
80
81 dbus_test_LDADD= $(DBUS_CLIENT_LIBS) libdbus-convenience.la libdbus-1.la
82
83 ## so that "make check" works
84 TESTS=dbus-test
85 endif