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 \
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 \
24 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
25 ../boost/libs/signals/src/libboostsignals.la
27 BOOST_LIBS = -lboost_regex -lboost_signals
30 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@
33 noinst_PROGRAMS = $(FRONTENDS_PROGS)
34 EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
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_gtk_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
46 frontends/gtk/libgtk.la $(LYX_POST_LIBS) $(OTHERLIBS)
47 lyx_gtk_SOURCES = main.C
49 lyx$(EXEEXT): $(FRONTENDS_PROGS)
55 INCLUDES = $(BOOST_INCLUDES)
57 BUILT_SOURCES = version.C
96 ParagraphParameters.C \
97 ParagraphParameters.h \
195 lyxlayout_ptr_fwd.h \
269 cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`
271 version.C: stamp-version
274 stamp-version: version.C-tmp
275 if cmp -s $< version.C ; then \