BUILT_SOURCES += $(MOCEDFILES)
BUILT_SOURCES += Resources.cpp Resources.qrc
-CLEANFILES += $(BUILT_SOURCES)
+CLEANFILES = $(BUILT_SOURCES)
######################### Qt stuff #############################
# Use _() for localization instead of tr() or trUtf8()
Resources.qrc: Makefile
$(AM_V_GEN)echo "<!DOCTYPE RCC><RCC version='1.0'><qresource>" > $@ ; \
- find $(top_srcdir)/lib/images -name '*.png' -o -name '*.gif' \
+ find $(top_srcdir)/lib/images -name '*.svgz' -o -name '*.png' -o -name '*.gif' \
| sed -e 's:$(top_srcdir)/lib/\(.*\):<file alias="\1">&</file>:' \
>> $@ ;\
echo "</qresource></RCC>" >> $@
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/frontends \
-I$(top_srcdir)/images \
- $(QT_INCLUDES) $(BOOST_INCLUDES)
+ $(QT_INCLUDES) \
+ $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
SOURCEFILES = \
ButtonPolicy.cpp \
ButtonPolicy.h \
Dialog.cpp \
Dialog.h \
- Resources.cpp \
Action.cpp \
BulletsModule.cpp \
ButtonController.cpp \
CategorizedCombo.cpp \
ColorCache.cpp \
CustomizedWidgets.cpp \
+ DialogView.cpp \
+ DockView.cpp \
EmptyTable.cpp \
FancyLineEdit.cpp \
FileDialog.cpp \
GuiParagraph.cpp \
GuiPhantom.cpp \
GuiPrefs.cpp \
- GuiPrint.cpp \
GuiPrintindex.cpp \
GuiPrintNomencl.cpp \
GuiProgress.cpp \
TocModel.cpp \
TocWidget.cpp \
Toolbars.cpp \
+ ToolTipFormatter.cpp \
Validator.cpp
NOMOCHEADER = \
ButtonController.h \
ColorCache.h \
- DialogView.h \
- DockView.h \
FileDialog.h \
GuiFontExample.h \
GuiFontLoader.h \
BulletsModule.h \
CategorizedCombo.h \
CustomizedWidgets.h \
+ DialogView.h \
+ DockView.h \
EmptyTable.h \
FancyLineEdit.h \
FindAndReplace.h \
GuiParagraph.h \
GuiPhantom.h \
GuiPrefs.h \
- GuiPrint.h \
GuiPrintindex.h \
GuiPrintNomencl.h \
GuiProgress.h \
PanelStack.h \
TocModel.h \
TocWidget.h \
+ ToolTipFormatter.h \
Validator.h
UIFILES = \
PrefLanguageUi.ui \
PrefLatexUi.ui \
PrefPathsUi.ui \
- PrefPrinterUi.ui \
PrefScreenFontsUi.ui \
PrefShortcutsUi.ui \
PrefSpellcheckerUi.ui \
PrefsUi.ui \
PrefUi.ui \
- PrintUi.ui \
PrintindexUi.ui \
PrintNomenclUi.ui \
ProgressViewUi.ui \
ToggleWarningUi.ui \
ViewSourceUi.ui \
VSpaceUi.ui \
+ WorkAreaUi.ui \
WrapUi.ui
+nodist_liblyxqt4_a_SOURCES = Resources.cpp
liblyxqt4.cpp:
- @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
+ $(AM_V_GEN)for file in $(SOURCEFILES) ; do echo '#include "'$${file}'"' ; done >$@
if MONOLITHIC_FRONTEND_QT
+nodist_liblyxqt4_a_SOURCES += liblyxqt4.cpp
liblyxqt4_a_SOURCES = \
- liblyxqt4.cpp \
$(MOCHEADER) \
$(NOMOCHEADER)
$(MOCHEADER) \
$(NOMOCHEADER)
-EXTRA_DIST = pch.h CMakeLists.txt $(UIFILES:%=ui/%)
-BUILT_SOURCES += $(PCH_FILE)
-AM_CPPFLAGS += $(PCH_FLAGS)
-
-
endif
+
+EXTRA_DIST = CMakeLists.txt $(UIFILES:%=ui/%)