1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += config.h libintl.h version.cpp stamp-version version.cpp-tmp
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
11 SUBDIRS = mathed insets graphics support frontends . $(CLIENT) tex2lyx
13 EXTRA_DIST = config.h.in stamp-h.in version.cpp.in \
21 LYX_PRE_LIBS = mathed/liblyxmathed.la insets/liblyxinsets.la \
22 frontends/liblyxfrontends.la
24 LYX_POST_LIBS = frontends/controllers/liblyxcontrollers.la \
25 graphics/liblyxgraphics.la \
26 support/liblyxsupport.la
28 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
30 pkglib_LTLIBRARIES = liblyxcore.la
31 noinst_PROGRAMS = $(FRONTENDS_PROGS)
32 EXTRA_PROGRAMS = lyx-qt4
34 lyx_qt4_LDADD = liblyxcore.la $(LYX_PRE_LIBS) \
35 frontends/qt4/liblyxqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
36 lyx_qt4_SOURCES = main.cpp
38 lyx$(EXEEXT): $(FRONTENDS_PROGS)
44 BUILT_SOURCES = $(PCH_FILE) version.cpp
46 AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
49 ASPELL = ASpell.cpp ASpell_local.h
52 PSPELL = PSpell.cpp PSpell.h
55 ISPELL = ISpell.cpp ISpell.h
59 liblyxcore_la_SOURCES = \
60 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
79 bufferview_funcs.cpp \
177 lyxlayout_ptr_fwd.h \
202 output_plaintext.cpp \
206 paragraph_funcs.cpp \
210 ParagraphMetrics.cpp \
212 ParagraphParameters.cpp \
213 ParagraphParameters.h \
262 version.cpp: stamp-version
265 stamp-version: version.cpp-tmp
266 if cmp -s $< version.cpp ; then \