1 include $(top_srcdir)/config/common.am
3 DISTCLEANFILES += config.h libintl.h
5 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
7 SUBDIRS = mathed insets graphics support frontends tex2lyx
9 EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
17 LYX_PRE_LIBS = mathed/libmathed.la insets/libinsets.la \
18 frontends/libfrontends.la
20 LYX_POST_LIBS = frontends/controllers/libcontrollers.la \
21 graphics/libgraphics.la \
25 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
26 ../boost/libs/signals/src/libboostsignals.la
28 BOOST_LIBS = -lboost_regex -lboost_signals
31 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
34 noinst_PROGRAMS = $(FRONTENDS_PROGS)
35 EXTRA_PROGRAMS = lyx-xforms lyx-qt
37 lyx_xforms_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
38 frontends/xforms/libxforms.la $(LYX_POST_LIBS) $(OTHERLIBS)
40 lyx_xforms_SOURCES = main.C
42 lyx_qt_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
43 frontends/qt2/libqt2.la $(LYX_POST_LIBS) $(OTHERLIBS)
44 lyx_qt_SOURCES = main.C
46 lyx$(EXEEXT): $(FRONTENDS_PROGS)
52 INCLUDES = $(BOOST_INCLUDES)
54 BUILT_SOURCES = version.C
93 ParagraphParameters.C \
94 ParagraphParameters.h \
191 lyxlayout_ptr_fwd.h \
265 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`
267 version.C: stamp-version
270 stamp-version: version.C-tmp
271 if cmp -s $< version.C ; then \