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
7 SUBDIRS = mathed insets graphics support frontends . client tex2lyx
9 EXTRA_DIST = config.h.in stamp-h.in version.C.in \
16 LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
17 frontends/libfrontends.la
19 LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
20 graphics/libgraphics.la \
23 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM)
25 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
28 noinst_PROGRAMS = $(FRONTENDS_PROGS)
29 EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
31 lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
32 frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
34 lyx_xforms_SOURCES = main.C
36 lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
37 frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
38 lyx_qt_SOURCES = main.C
40 lyx_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
41 frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
42 lyx_gtk_SOURCES = main.C
44 lyx$(EXEEXT): $(FRONTENDS_PROGS)
50 BUILT_SOURCES = version.C
52 AM_CPPFLAGS = $(PCH_FLAGS) $(BOOST_INCLUDES)
92 ParagraphParameters.C \
93 ParagraphParameters.h \
193 lyxlayout_ptr_fwd.h \
280 version.C: stamp-version
283 stamp-version: version.C-tmp
284 if cmp -s $< version.C ; then \