ce35b36ffc86c17ef3126ee78ca68541b2ae1215
[platform/upstream/dbus.git] / qt / Makefile.am
1 SUBDIRS = . examples
2
3 if HAVE_QT
4 INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_QT_CFLAGS) -DDBUS_COMPILATION
5
6 lib_LTLIBRARIES=libdbus-qt4-1.la
7
8 dbusincludedir=$(includedir)/dbus-1.0/dbus
9 dbusinclude_HEADERS=    \
10         qdbus.h         \
11         qdbusbus.h      \
12         qdbusmacros.h   \
13         qdbuserror.h    \
14         qdbusmessage.h  \
15         qdbusserver.h   \
16         qdbusconnection.h \
17         qdbusabstractinterface.h \
18         qdbusinterface.h \
19         qdbusutil.h     \
20         qdbusabstractadaptor.h \
21         qdbusreply.h    \
22         qdbustypehelper_p.h
23
24 noinst_HEADERS=         \
25         qdbusabstractadaptor_p.h \
26         qdbusabstractinterface_p.h \
27         qdbusconnection_p.h    \
28         qdbusinterface_p.h     \
29         qdbusintrospection_p.h \
30         qdbusmarshall_p.h      \
31         qdbusmessage_p.h       \
32         qdbusmetaobject_p.h    \
33         qdbustype_p.h           \
34         qdbusxmlparser_p.h
35
36 libdbus_qt4_1_la_SOURCES =      \
37         qdbusbus.cpp            \
38         qdbusconnection.cpp     \
39         qdbuserror.cpp          \
40         qdbusintegrator.cpp     \
41         qdbusmarshall.cpp       \
42         qdbusmessage.cpp        \
43         qdbusserver.cpp         \
44         qdbustype.cpp           \
45         qdbusabstractinterface.cpp \
46         qdbusinterface.cpp      \
47         qdbusxmlparser.cpp      \
48         qdbusutil.cpp           \
49         qdbusintrospection.cpp  \
50         qdbusabstractadaptor.cpp \
51         qdbusthread.cpp         \
52         qdbusinternalfilters.cpp \
53         qdbusmetaobject.cpp
54
55 bin_PROGRAMS = dbusidl2cpp
56 dbusidl2cpp_SOURCES = dbusidl2cpp.cpp
57 dbusidl2cpp_LDFLAGS = -no-undefined 
58 dbusidl2cpp_LDADD = $(DBUS_QT_LIBS) libdbus-qt4-1.la
59
60 qdbusabstractadaptor.lo: qdbusabstractadaptor.moc qdbusabstractadaptor_p.moc
61 qdbusabstractinterface.lo: qdbusabstractinterface.moc
62 qdbusbus.lo: qdbusbus.moc
63 qdbusserver.lo: qdbusserver.moc
64 qdbusconnection.lo: qdbusconnection_p.moc
65
66 CLEANFILES=qdbusabstractadaptor.moc qdbusserver.moc qdbusconnection.moc qdbusconnection_p.moc qdbusabstractadaptor_p.moc qdbusbus.moc qdbusabstractinterface.moc
67
68 libdbus_qt4_1_la_LIBADD= $(DBUS_QT_LIBS) $(top_builddir)/dbus/libdbus-1.la
69 libdbus_qt4_1_la_LDFLAGS= -version-info 1:0 -no-undefined
70
71 EXTRA_DIST = qt-dbus.qdocconf
72
73 %.moc: %.h
74         $(QT_MOC) $< > $@
75 endif