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 \
20 LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
21 frontends/libfrontends.la
23 LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
24 graphics/libgraphics.la \
27 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM)
29 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
32 noinst_PROGRAMS = $(FRONTENDS_PROGS)
33 EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
35 lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
36 frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
38 lyx_xforms_SOURCES = main.C
40 lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
41 frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
42 lyx_qt_SOURCES = main.C
44 lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
45 frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
46 lyx_gtk_SOURCES = main.C
48 lyx$(EXEEXT): $(FRONTENDS_PROGS)
54 BUILT_SOURCES = version.C
56 AM_CPPFLAGS += $(PCH_FLAGS) $(BOOST_INCLUDES)
59 ASPELL = aspell.C aspell_local.h
62 PSPELL = pspell.C pspell.h
65 ISPELL = ispell.C ispell.h
107 ParagraphList_fwd.h \
108 ParagraphParameters.C \
109 ParagraphParameters.h \
207 lyxlayout_ptr_fwd.h \
258 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.C \
291 version.C: stamp-version
294 stamp-version: version.C-tmp
295 if cmp -s $< version.C ; then \