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) $(BOOST_IOSTREAMS)
30 OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
33 noinst_PROGRAMS = $(FRONTENDS_PROGS)
34 EXTRA_PROGRAMS = lyx-qt3 lyx-gtk lyx-qt4
36 lyx_qt3_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
37 frontends/qt3/libqt3.la $(LYX_POST_LIBS) $(OTHERLIBS)
38 lyx_qt3_SOURCES = main.C
40 lyx_qt4_LDADD = $(lyx_OBJECTS) $(LYX_PRE_LIBS) \
41 frontends/qt4/libqt4.la $(LYX_POST_LIBS) $(OTHERLIBS)
42 lyx_qt4_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 = $(PCH_FILE) 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
108 ParagraphList_fwd.h \
109 ParagraphParameters.C \
110 ParagraphParameters.h \
208 lyxlayout_ptr_fwd.h \
257 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.C \
292 version.C: stamp-version
295 stamp-version: version.C-tmp
296 if cmp -s $< version.C ; then \