BUILT_SOURCES = $(PCH_FILE)
if USE_ASPELL
-ASPELL = ASpell.cpp ASpell_local.h
+ASPELL = AspellChecker.cpp AspellChecker.h
endif
if USE_HUNSPELL
-HUNSPELL = HunspellSpellChecker.cpp HunspellSpellChecker.h
+HUNSPELL = HunspellChecker.cpp HunspellChecker.h
endif
# These four objects are linked as object files as they are not
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
+if INSTALL_WINDOWS
+
+MOCHEADER = Server.h
+
+MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
+
+BUILT_SOURCES += $(MOCEDFILES)
+CLEANFILES += $(MOCEDFILES)
+
+moc_%.cpp: %.h
+ $(MOC4) -D_WIN32 -o $@ $<
+
+liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
+
+endif
+
############################### Graphics ##############################
noinst_LIBRARIES += liblyxgraphics.a