summaryrefslogtreecommitdiff
path: root/liblightdm-qt/Makefile.am
diff options
context:
space:
mode:
authorrobert.ancell@canonical.com <>2010-12-01 13:34:42 +1100
committerrobert.ancell@canonical.com <>2010-12-01 13:34:42 +1100
commit079250c61cbf47d5b3302d619effba5d405677bf (patch)
tree516d2e0728bd4afdb89a60fe31087b42a7e05b83 /liblightdm-qt/Makefile.am
parent2336295ce9fd3deb6a951e536b4857db1aae71c4 (diff)
downloadlightdm-079250c61cbf47d5b3302d619effba5d405677bf.tar.gz
Renamed libldmgreeter to liblightdm
Diffstat (limited to 'liblightdm-qt/Makefile.am')
-rw-r--r--liblightdm-qt/Makefile.am53
1 files changed, 53 insertions, 0 deletions
diff --git a/liblightdm-qt/Makefile.am b/liblightdm-qt/Makefile.am
new file mode 100644
index 00000000..3573974d
--- /dev/null
+++ b/liblightdm-qt/Makefile.am
@@ -0,0 +1,53 @@
+if HAVE_QT
+lib_LTLIBRARIES = liblightdm-qt.la
+endif
+
+GENERATED_FILES = \
+ displayinterface.cpp \
+ displayinterface.h \
+ usermanagerinterface.cpp \
+ usermanagerinterface.h
+
+displayinterface.cpp displayinterface.h: $(top_srcdir)/src/display.xml
+ qdbusxml2cpp $< -i ldmauthrequest.h -c DisplayInterface -p displayinterface
+usermanagerinterface.cpp usermanagerinterface.h: $(top_srcdir)/src/user-manager.xml
+ qdbusxml2cpp $< -i ldmuser.h -c UserManagerInterface -p usermanagerinterface
+
+ldmgreeter.cpp: displayinterface.h usermanagerinterface.h
+
+liblightdm_qtinclude_HEADERS = \
+ consolekitinterface.h \
+ displayinterface.h \
+ ldmauthrequest.h \
+ ldmgreeter.h \
+ ldmlanguage.h \
+ ldmsession.h \
+ ldmuser.h \
+ powermanagementinterface.h \
+ usermanagerinterface.h
+liblightdm_qtincludedir=$(includedir)/lightdm-qt-0/lightdm
+
+liblightdm_qt_la_LIBADD = $(LIBLIGHTDM_QT_LIBS)
+liblightdm_qt_la_CXXFLAGS = $(LIBLIGHTDM_QT_CFLAGS) \
+ -DXSESSIONS_DIR=\"$(XSESSIONS_DIR)\"
+
+liblightdm_qt_la_SOURCES= \
+ consolekitinterface.cpp \
+ displayinterface.cpp \
+ ldmauthrequest.cpp \
+ ldmgreeter.cpp \
+ ldmlanguage.cpp \
+ ldmsession.cpp \
+ ldmuser.cpp \
+ powermanagementinterface.cpp \
+ usermanagerinterface.cpp
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = liblightdm-qt-0.pc
+
+CLEANFILES = \
+ $(GENERATED_FILES)
+
+DISTCLEANFILES = \
+ Makefile.in \
+ $(pkgconfig_DATA)