1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += config.h libintl.h version.C stamp-version version.C-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.C.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)
30 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
33 noinst_PROGRAMS = $(FRONTENDS_PROGS)
34 EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk lyx-qt4
36 lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
37 frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
39 lyx_xforms_SOURCES = main.C
41 lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
42 frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
43 lyx_qt_SOURCES = main.C
45 lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
46 frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
47 lyx_qt4_SOURCES = main.C
49 lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
50 frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
51 lyx_gtk_SOURCES = main.C
53 lyx$(EXEEXT): $(FRONTENDS_PROGS)
59 BUILT_SOURCES = $(PCH_FILE) version.C
61 AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
64 ASPELL = aspell.C aspell_local.h
67 PSPELL = pspell.C pspell.h
70 ISPELL = ispell.C ispell.h
115 ParagraphList_fwd.h \
116 ParagraphParameters.C \
117 ParagraphParameters.h \
215 lyxlayout_ptr_fwd.h \
266 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.C \
299 version.C: stamp-version
302 stamp-version: version.C-tmp
303 if cmp -s $< version.C ; then \