pch.h
OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(MYTHES_LIBS) $(AIKSAURUS_LIBS) \
- @LIBS@ $(SOCKET_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
+ @LIBS@ $(SOCKET_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
noinst_LIBRARIES = liblyxcore.a
bin_PROGRAMS = lyx
support/liblyxsupport.a \
$(OTHERLIBS) \
$(QT4_LDFLAGS) \
- $(QT4_LIB)
+ $(QT4_LIB)
if LYX_WIN_RESOURCE
.rc.o:
BUILT_SOURCES = $(PCH_FILE)
if USE_ASPELL
-ASPELL = ASpell.cpp ASpell_local.h
+ASPELL = AspellChecker.cpp AspellChecker.h
+endif
+
+if USE_HUNSPELL
+HUNSPELL = HunspellChecker.cpp HunspellChecker.h
endif
# These four objects are linked as object files as they are not
BiblioInfo.cpp \
Box.cpp \
Box.h \
+ Compare.cpp \
+ Compare.h \
Dimension.cpp \
Dimension.h \
+ $(HUNSPELL) \
PrinterParams.cpp \
PrinterParams.h \
Thesaurus.cpp \
FuncRequest.cpp \
FuncStatus.cpp \
Graph.cpp \
+ HSpace.cpp \
IndicesList.cpp \
InsetIterator.cpp \
InsetList.cpp \
OutputParams.cpp \
output_plaintext.cpp \
Paragraph.cpp \
- paragraph_funcs.cpp \
ParagraphMetrics.cpp \
ParagraphParameters.cpp \
ParIterator.cpp \
FuncRequest.h \
FuncStatus.h \
Graph.h \
+ HSpace.h \
IndicesList.h \
InsetIterator.h \
InsetList.h \
OutputParams.h \
output_plaintext.h \
paper.h \
- paragraph_funcs.h \
Paragraph.h \
ParagraphList.h \
ParagraphMetrics.h \
endif
+######################### Qt stuff ##############################
+
+MOCHEADER = Compare.h
+
+if INSTALL_WINDOWS
+
+MOCHEADER += Server.h
+MOCFLAG = -D_WIN32
+
+endif
+
+MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
+
+BUILT_SOURCES += $(MOCEDFILES)
+CLEANFILES += $(MOCEDFILES)
+
+moc_%.cpp: %.h
+ $(MOC4) $(MOCFLAG) -o $@ $<
+
+liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
+
############################### Graphics ##############################
noinst_LIBRARIES += liblyxgraphics.a
mathed/ReplaceData.h \
mathed/MathStream.h \
mathed/MathSupport.h \
- mathed/TextPainter.h
+ mathed/TextPainter.h
lyxmathed.cpp:
@echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
else
-liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
+liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
endif