2002-11-22 Havoc Pennington <hp@redhat.com>
[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-macros.h                           \
11         dbus-memory.h                           \
12         dbus-message.h                          \
13         dbus-types.h
14
15 libdbus_1_la_SOURCES=                           \
16         dbus-memory.c                           \
17         dbus-message.c
18
19 ## this library is linked into both libdbus and the bus 
20 ## itself, but does not export any symbols from libdbus.
21 ## It contains utility functions not in the public API.
22
23 noinst_LTLIBRARIES=libdbus-convenience.la
24
25 libdbus_convenience_la_SOURCES=                 \
26         dbus-hash.c                             \
27         dbus-hash.h
28
29 libdbus_1_la_LIBADD=  $(DBUS_CLIENT_LIBS) libdbus-convenience.la
30 ## don't export symbols that start with "_" (we use this 
31 ## convention for internal symbols)
32 libdbus_1_la_LDFLAGS= -export-symbols-regex "^[[^_]].*"