]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/Makefile.am
This commit saves the need to check for lyx::use_gui in a number of places.
[lyx.git] / src / frontends / qt4 / Makefile.am
1 include $(top_srcdir)/config/common.am
2 include $(srcdir)/Makefile.dialogs
3
4 SUBDIRS = ui
5
6 EXTRA_DIST = pch.h Makefile.dialogs
7
8 DISTCLEANFILES += *_moc.cpp
9
10 libqt4_la_DEPENDENCIES = $(MOCEDFILES)
11
12 MOCEDFILES = $(MOCFILES:.C=_moc.cpp)
13
14 %_moc.cpp: %.h
15         $(MOC4) -o $@ $<
16
17 BUILT_SOURCES = $(PCH_FILE) $(MOCEDFILES)
18
19 noinst_LTLIBRARIES = libqt4.la
20
21 libqt4_la_LDFLAGS = $(QT4_LDFLAGS)
22 libqt4_la_LIBADD = $(QT4_LIB) 
23 AM_CPPFLAGS += \
24         $(QT4_CPPFLAGS) \
25         $(PCH_FLAGS) \
26         -I$(top_srcdir)/src \
27         -I$(top_srcdir)/src/frontends \
28         -I$(top_srcdir)/images \
29         $(QT4_INCLUDES) $(BOOST_INCLUDES) \
30         -I$(top_srcdir)/src/frontends/controllers
31
32 libqt4_la_SOURCES = \
33         Alert_pimpl.C \
34         ColorCache.h ColorCache.C \
35         Dialogs.C \
36         FileDialog.C \
37         GuiApplication.C GuiApplication.h \
38         GuiClipboard.h GuiClipboard.C \
39         GuiFontLoader.h GuiFontLoader.C \
40         GuiFontMetrics.h GuiFontMetrics.C \
41         GuiSelection.h GuiSelection.C \
42         GuiImplementation.h GuiImplementation.C \
43         LyXKeySymFactory.C \
44         QLMenubar.C QLMenubar.h \
45         QAbout.C QAbout.h \
46         QBibitem.C QBibitem.h \
47         QBibtex.C QBibtex.h \
48         QBox.C QBox.h \
49         QBranch.C QBranch.h \
50         QBranches.C QBranches.h \
51         QChanges.C QChanges.h \
52         QCharacter.C QCharacter.h \
53         QCitation.C QCitation.h \
54         QDocument.C QDocument.h \
55         QDialogView.C QDialogView.h \
56         QErrorList.C QErrorList.h \
57         QERT.C QERT.h \
58         QExternal.C QExternal.h \
59         QFloat.C QFloat.h \
60         QGraphics.C QGraphics.h \
61         QInclude.C QInclude.h \
62         QIndex.C QIndex.h \
63         QLImage.C QLImage.h \
64         QLog.C QLog.h \
65         QViewSource.C QViewSource.h \
66         QLPainter.C QLPainter.h \
67         QLyXKeySym.C QLyXKeySym.h \
68         QMath.C QMath.h \
69         QNote.C QNote.h \
70         QParagraph.C QParagraph.h \
71         QPrefs.C QPrefs.h \
72         QPrint.C QPrint.h \
73         QRef.C QRef.h \
74         QSearch.C QSearch.h \
75         QSendto.C QSendto.h \
76         QShowFile.C QShowFile.h \
77         QSpellchecker.C QSpellchecker.h \
78         QTabular.C QTabular.h \
79         QTabularCreate.C QTabularCreate.h \
80         QTexinfo.C QTexinfo.h \
81         QThesaurus.C QThesaurus.h \
82         QToc.C QToc.h \
83         QVSpace.C QVSpace.h \
84         QWrap.C QWrap.h \
85         Qt2BC.C Qt2BC.h \
86         checkedwidgets.C checkedwidgets.h \
87         panelstack.h panelstack.C \
88         qfontexample.h qfontexample.C \
89         qlkey.h \
90         qt_helpers.h qt_helpers.C \
91         qtTimeout.C qtTimeout.h \
92         UrlView.C UrlView.h \
93         $(MOCFILES)