2006-03-05 17:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
CLEANFILES += *.h
|
|
|
|
CLEANFILES += *_moc.cpp
|
2007-08-11 15:48:15 +00:00
|
|
|
CLEANFILES += $(UIFILES:%.ui=ui_%.h)
|
2006-05-18 09:37:35 +00:00
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
BUILT_SOURCES = $(UIFILES:%.ui=ui_%.h)
|
2007-08-10 23:19:07 +00:00
|
|
|
BUILT_SOURCES += $(PCH_FILE)
|
|
|
|
BUILT_SOURCES += $(MOCEDFILES)
|
2006-05-18 09:37:35 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
EXTRA_DIST = pch.h
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
######################### Translation #############################
|
|
|
|
# Use _() for localization instead of tr() or trUtf8()
|
|
|
|
UIC4FLAGS=-tr lyx::qt_
|
|
|
|
|
2007-08-11 15:48:15 +00:00
|
|
|
ui_%.h: ui/%.ui
|
2007-08-10 23:19:07 +00:00
|
|
|
$(UIC4) $(UIC4FLAGS) $< -o $@
|
2006-05-18 08:51:12 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
MOCEDFILES = $(MOCFILES:%.cpp=%_moc.cpp)
|
2006-05-18 08:51:12 +00:00
|
|
|
|
|
|
|
%_moc.cpp: %.h
|
|
|
|
$(MOC4) -o $@ $<
|
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
|
|
|
|
######################### LIBRARIES #############################
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-11 18:24:00 +00:00
|
|
|
pkglib_LTLIBRARIES = liblyxqt4.la
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-08-10 23:19:07 +00:00
|
|
|
liblyxqt4_la_DEPENDENCIES = $(MOCEDFILES)
|
2007-08-10 22:33:54 +00:00
|
|
|
liblyxqt4_la_LDFLAGS = $(QT4_LDFLAGS)
|
|
|
|
liblyxqt4_la_LIBADD = $(QT4_LIB)
|
2007-08-10 23:19:07 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
AM_CPPFLAGS += \
|
|
|
|
$(QT4_CPPFLAGS) \
|
|
|
|
$(PCH_FLAGS) \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/frontends \
|
|
|
|
-I$(top_srcdir)/images \
|
|
|
|
$(QT4_INCLUDES) $(BOOST_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
|
|
|
|
2007-08-10 22:33:54 +00:00
|
|
|
liblyxqt4_la_SOURCES = \
|
2007-08-11 20:55:10 +00:00
|
|
|
Action.cpp Action.h \
|
2007-04-28 20:44:46 +00:00
|
|
|
alert_pimpl.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
BulletsModule.cpp \
|
|
|
|
BulletsModule.h \
|
|
|
|
CheckedLineEdit.cpp \
|
|
|
|
CheckedLineEdit.h \
|
|
|
|
ColorCache.cpp \
|
|
|
|
ColorCache.h \
|
2007-04-26 03:53:02 +00:00
|
|
|
Dialogs.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
DockView.h \
|
|
|
|
EmptyTable.cpp \
|
|
|
|
EmptyTable.h \
|
2007-04-26 03:53:02 +00:00
|
|
|
FileDialog.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
FloatPlacement.cpp \
|
|
|
|
FloatPlacement.h \
|
|
|
|
GuiApplication.cpp \
|
|
|
|
GuiApplication.h \
|
|
|
|
GuiClipboard.cpp \
|
|
|
|
GuiClipboard.h \
|
|
|
|
GuiFontLoader.cpp \
|
|
|
|
GuiFontLoader.h \
|
|
|
|
GuiFontMetrics.cpp \
|
|
|
|
GuiFontMetrics.h \
|
|
|
|
GuiImplementation.cpp \
|
|
|
|
GuiImplementation.h \
|
|
|
|
GuiSelection.cpp \
|
|
|
|
GuiSelection.h \
|
|
|
|
GuiView.cpp \
|
|
|
|
GuiView.h \
|
|
|
|
GuiWorkArea.cpp \
|
|
|
|
GuiWorkArea.h \
|
|
|
|
IconPalette.cpp \
|
|
|
|
IconPalette.h \
|
|
|
|
InsertTableWidget.cpp \
|
|
|
|
InsertTableWidget.h \
|
2007-04-27 08:43:38 +00:00
|
|
|
KeySymbol.cpp \
|
2007-08-11 20:55:10 +00:00
|
|
|
LengthCombo.cpp \
|
|
|
|
LengthCombo.h \
|
|
|
|
LyXFileDialog.cpp \
|
|
|
|
LyXFileDialog.h \
|
|
|
|
PanelStack.cpp \
|
|
|
|
PanelStack.h \
|
|
|
|
QAbout.cpp \
|
|
|
|
QAbout.h \
|
|
|
|
QBibitem.cpp \
|
|
|
|
QBibitem.h \
|
|
|
|
QBibtex.cpp \
|
|
|
|
QBibtex.h \
|
|
|
|
QBox.cpp \
|
|
|
|
QBox.h \
|
|
|
|
QBranch.cpp \
|
|
|
|
QBranches.cpp \
|
|
|
|
QBranches.h \
|
|
|
|
QBranch.h \
|
|
|
|
QChanges.cpp \
|
|
|
|
QChanges.h \
|
|
|
|
QCharacter.cpp \
|
|
|
|
QCharacter.h \
|
|
|
|
QCitation.cpp \
|
|
|
|
QCitationDialog.cpp \
|
|
|
|
QCitationDialog.h \
|
|
|
|
QCitation.h \
|
|
|
|
QCommandBuffer.cpp \
|
|
|
|
QCommandBuffer.h \
|
|
|
|
QCommandEdit.cpp \
|
|
|
|
QCommandEdit.h \
|
|
|
|
QDelimiterDialog.cpp \
|
|
|
|
QDelimiterDialog.h \
|
|
|
|
QDialogView.cpp \
|
|
|
|
QDialogView.h \
|
|
|
|
QDocument.cpp \
|
|
|
|
QDocument.h \
|
|
|
|
QErrorList.cpp \
|
|
|
|
QErrorList.h \
|
|
|
|
QERT.cpp \
|
|
|
|
QERT.h \
|
|
|
|
QExternal.cpp \
|
|
|
|
QExternal.h \
|
|
|
|
QFloat.cpp \
|
|
|
|
QFloatDialog.cpp \
|
|
|
|
QFloatDialog.h \
|
|
|
|
QFloat.h \
|
|
|
|
QFontExample.cpp \
|
|
|
|
QFontExample.h \
|
|
|
|
QGraphics.cpp \
|
|
|
|
QGraphicsDialog.cpp \
|
|
|
|
QGraphicsDialog.h \
|
|
|
|
QGraphics.h \
|
|
|
|
QInclude.cpp \
|
|
|
|
QInclude.h \
|
|
|
|
QIndex.cpp \
|
|
|
|
QIndex.h \
|
|
|
|
QKeySymbol.cpp \
|
|
|
|
QKeySymbol.h \
|
|
|
|
QLImage.cpp \
|
|
|
|
QLImage.h \
|
|
|
|
QListings.cpp \
|
|
|
|
QListings.h \
|
2006-03-05 17:24:44 +00:00
|
|
|
qlkey.h \
|
2007-08-11 20:55:10 +00:00
|
|
|
QLMenubar.cpp \
|
|
|
|
QLMenubar.h \
|
|
|
|
QLog.cpp \
|
|
|
|
QLog.h \
|
|
|
|
QLPainter.cpp \
|
|
|
|
QLPainter.h \
|
|
|
|
QLPopupMenu.cpp \
|
|
|
|
QLPopupMenu.h \
|
|
|
|
QLPrintDialog.cpp \
|
|
|
|
QLPrintDialog.h \
|
|
|
|
QLToolbar.cpp \
|
|
|
|
QLToolbar.h \
|
|
|
|
QMathMatrixDialog.cpp \
|
|
|
|
QMathMatrixDialog.h \
|
|
|
|
QNomencl.cpp \
|
|
|
|
QNomencl.h \
|
|
|
|
QNote.cpp \
|
|
|
|
QNote.h \
|
|
|
|
QParagraph.cpp \
|
|
|
|
QParagraph.h \
|
|
|
|
QPrefs.cpp \
|
|
|
|
QPrefs.h \
|
|
|
|
QPrint.cpp \
|
|
|
|
QPrint.h \
|
|
|
|
QRef.cpp \
|
|
|
|
QRef.h \
|
|
|
|
QSearch.cpp \
|
|
|
|
QSearch.h \
|
|
|
|
QSendto.cpp \
|
|
|
|
QSendto.h \
|
|
|
|
QSetBorder.cpp \
|
|
|
|
QSetBorder.h \
|
|
|
|
QShowFile.cpp \
|
|
|
|
QShowFile.h \
|
|
|
|
QSpellchecker.cpp \
|
|
|
|
QSpellchecker.h \
|
2007-08-11 21:22:33 +00:00
|
|
|
Qt2BC.cpp Qt2BC.h\ \
|
2007-08-11 20:55:10 +00:00
|
|
|
QTabular.cpp \
|
|
|
|
QTabularCreate.cpp \
|
|
|
|
QTabularCreate.h \
|
|
|
|
QTabular.h \
|
|
|
|
QTexinfo.cpp \
|
|
|
|
QTexinfo.h \
|
|
|
|
qt_helpers.cpp \
|
|
|
|
qt_helpers.h \
|
|
|
|
QThesaurus.cpp \
|
|
|
|
QThesaurus.h \
|
|
|
|
QToc.cpp \
|
|
|
|
QToc.h \
|
|
|
|
qtTimeout.cpp \
|
|
|
|
qtTimeout.h \
|
|
|
|
QURLDialog.cpp \
|
|
|
|
QURLDialog.h \
|
|
|
|
QViewSource.cpp \
|
|
|
|
QViewSource.h \
|
|
|
|
QVSpace.cpp \
|
|
|
|
QVSpace.h \
|
|
|
|
QWrap.cpp \
|
|
|
|
QWrap.h \
|
|
|
|
socket_callback.cpp \
|
|
|
|
socket_callback.h \
|
|
|
|
TocModel.cpp \
|
|
|
|
TocModel.h \
|
|
|
|
TocWidget.cpp \
|
|
|
|
TocWidget.h \
|
|
|
|
UrlView.cpp \
|
|
|
|
UrlView.h \
|
|
|
|
Validator.cpp \
|
|
|
|
Validator.h
|
|
|
|
|
|
|
|
UIFILES = \
|
|
|
|
AboutUi.ui \
|
|
|
|
AskForTextUi.ui \
|
|
|
|
BibitemUi.ui \
|
|
|
|
BiblioUi.ui \
|
|
|
|
BibtexAddUi.ui \
|
|
|
|
BibtexUi.ui \
|
|
|
|
BoxUi.ui \
|
|
|
|
BranchesUi.ui \
|
|
|
|
BranchUi.ui \
|
|
|
|
BulletsUi.ui \
|
|
|
|
ChangesUi.ui \
|
|
|
|
CharacterUi.ui \
|
|
|
|
CitationUi.ui \
|
|
|
|
DelimiterUi.ui \
|
|
|
|
DocumentUi.ui \
|
|
|
|
ErrorListUi.ui \
|
|
|
|
ERTUi.ui \
|
|
|
|
ExternalUi.ui \
|
|
|
|
FloatPlacementUi.ui \
|
|
|
|
FloatUi.ui \
|
|
|
|
FontUi.ui \
|
|
|
|
GraphicsUi.ui \
|
|
|
|
IncludeUi.ui \
|
|
|
|
IndexUi.ui \
|
|
|
|
LanguageUi.ui \
|
|
|
|
LaTeXUi.ui \
|
|
|
|
ListingsUi.ui \
|
|
|
|
LogUi.ui \
|
|
|
|
MarginsUi.ui \
|
|
|
|
MathMatrixUi.ui \
|
|
|
|
MathsUi.ui \
|
|
|
|
NomenclUi.ui \
|
|
|
|
NoteUi.ui \
|
|
|
|
NumberingUi.ui \
|
|
|
|
PageLayoutUi.ui \
|
|
|
|
ParagraphUi.ui \
|
|
|
|
PreambleUi.ui \
|
|
|
|
PrefColorsUi.ui \
|
|
|
|
PrefConvertersUi.ui \
|
|
|
|
PrefCopiersUi.ui \
|
|
|
|
PrefCygwinPathUi.ui \
|
|
|
|
PrefDateUi.ui \
|
|
|
|
PrefDisplayUi.ui \
|
|
|
|
PrefFileformatsUi.ui \
|
|
|
|
PrefIdentityUi.ui \
|
|
|
|
PrefKeyboardUi.ui \
|
|
|
|
PrefLanguageUi.ui \
|
|
|
|
PrefLatexUi.ui \
|
|
|
|
PrefPathsUi.ui \
|
|
|
|
PrefPlaintextUi.ui \
|
|
|
|
PrefPrinterUi.ui \
|
|
|
|
PrefScreenFontsUi.ui \
|
|
|
|
PrefSpellcheckerUi.ui \
|
|
|
|
PrefsUi.ui \
|
|
|
|
PrefUi.ui \
|
|
|
|
PrintUi.ui \
|
|
|
|
RefUi.ui \
|
|
|
|
SearchUi.ui \
|
|
|
|
SendtoUi.ui \
|
|
|
|
ShowFileUi.ui \
|
|
|
|
SpellcheckerUi.ui \
|
|
|
|
TabularCreateUi.ui \
|
|
|
|
TabularUi.ui \
|
|
|
|
TexinfoUi.ui \
|
|
|
|
TextLayoutUi.ui \
|
|
|
|
ThesaurusUi.ui \
|
|
|
|
TocUi.ui \
|
|
|
|
URLUi.ui \
|
|
|
|
ViewSourceUi.ui \
|
|
|
|
VSpaceUi.ui \
|
|
|
|
WrapUi.ui
|
|
|
|
|