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/libmathed.la insets/libinsets.la \
22 frontends/libfrontends.la
24 LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
25 graphics/libgraphics.la \
28 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
30 OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
33 noinst_PROGRAMS = $(FRONTENDS_PROGS)
34 EXTRA_PROGRAMS = lyx-qt4
36 lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
37 frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
38 lyx_qt4_SOURCES = main.cpp
40 lyx$(EXEEXT): $(FRONTENDS_PROGS)
46 BUILT_SOURCES = $(PCH_FILE) version.cpp
48 AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
51 ASPELL = ASpell.cpp ASpell_local.h
54 PSPELL = PSpell.cpp PSpell.h
57 ISPELL = ISpell.cpp ISpell.h
63 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
82 bufferview_funcs.cpp \
181 lyxlayout_ptr_fwd.h \
206 output_plaintext.cpp \
210 paragraph_funcs.cpp \
213 ParagraphList_fwd.h \
215 ParagraphMetrics.cpp \
217 ParagraphParameters.cpp \
218 ParagraphParameters.h \
267 version.cpp: stamp-version
270 stamp-version: version.cpp-tmp
271 if cmp -s $< version.cpp ; then \