]> git.lyx.org Git - lyx.git/blobdiff - src/Makefile.am
Collapse all those LFUN_XYZ_APPLY to a single LFUN_INSET_APPLY.
[lyx.git] / src / Makefile.am
index a1a1424bd27776232bf2c71138812bb99dd32054..b6ae4bbe25acb2a77892a4ce3de1c5136cecc69e 100644 (file)
@@ -4,9 +4,7 @@ DISTCLEANFILES += config.h libintl.h
 
 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
 
-SUBDIRS = mathed insets graphics support frontends
-
-LIBS += @LIBS@
+SUBDIRS = mathed insets graphics support frontends tex2lyx
 
 bin_PROGRAMS = lyx
 
@@ -15,37 +13,32 @@ LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
        graphics/libgraphics.la \
        support/libsupport.la
 
-BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la
-
-#lyx_DEPENDENCIES = $(LYX_CONV_LIBS) $(INCLUDED_SIGC)
+BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
+       ../boost/libs/signals/src/libboostsignals.la
 
-lyx_LDADD = $(LYX_CONV_LIBS) $(SIGC_LIBS) $(BOOST_LIBS) $(INCLUDED_SIGC) @INTLLIBS@ \
-       $(PSPELL_LIBS) @AIKSAURUS_LIBS@
-
-#  @FRONTEND_LDFLAGS@ @FRONTEND_LIBS@
+lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
+       $(PSPELL_LIBS) $(AIKSAURUS_LIBS) @LIBS@
 
 #lyx_LDFLAGS=-Wl,-O1
 
-EXTRA_DIST = config.h.in stamp-h.in cheaders ext_l10n.h version.C.in \
+EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
        Sectioning.h \
        Sectioning.C \
        Variables.C \
        Variables.h \
-       counters.C \
-       counters.h \
        tracer.C \
        tracer.h
 
-INCLUDES = $(SIGC_CFLAGS) $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
+INCLUDES = $(BOOST_INCLUDES) $(PSPELL_INCLUDES)
 
 localedir = $(datadir)/locale
 
 BUILT_SOURCES = version.C
 
 lyx_SOURCES = \
+       BoostFormat.h \
        BufferView.C \
        BufferView.h \
-       BufferView2.C \
        BufferView_pimpl.C \
        BufferView_pimpl.h \
        Bullet.C \
@@ -62,6 +55,8 @@ lyx_SOURCES = \
        Floating.h \
        FuncStatus.C \
        FuncStatus.h \
+       InsetList.C \
+       InsetList.h \
        LColor.C \
        LColor.h \
        LString.h \
@@ -74,6 +69,10 @@ lyx_SOURCES = \
        LyXAction.h \
        MenuBackend.C \
        MenuBackend.h \
+       paragraph_funcs.C \
+       paragraph_funcs.h \
+       ParagraphList.C \
+       ParagraphList.h \
        ParagraphParameters.C \
        ParagraphParameters.h \
        ParameterStruct.h \
@@ -87,6 +86,11 @@ lyx_SOURCES = \
        Thesaurus.h \
        ToolbarDefaults.C \
        ToolbarDefaults.h \
+       WordLangTuple.h \
+       author.C \
+       author.h \
+       boost.C \
+       boost-inst.C \
        box.h \
        box.C \
        broken_headers.h \
@@ -98,12 +102,16 @@ lyx_SOURCES = \
        bufferparams.h \
        bufferview_funcs.C \
        bufferview_funcs.h \
+       changes.C \
+       changes.h \
        chset.C \
        chset.h \
        commandtags.h \
        config.h.in \
        converter.C \
        converter.h \
+       counters.C \
+       counters.h \
        debug.C \
        debug.h \
        encoding.C \
@@ -112,6 +120,10 @@ lyx_SOURCES = \
        exporter.h \
        gettext.C \
        gettext.h \
+       factory.h \
+       factory.C \
+       funcrequest.h \
+       funcrequest.C \
        importer.C \
        importer.h \
        intl.C \
@@ -131,8 +143,6 @@ lyx_SOURCES = \
        lengthcommon.h \
        lyx_cb.C \
        lyx_cb.h \
-       lyx_gui.C \
-       lyx_gui.h \
        lyx_main.C \
        lyx_main.h \
        lyx_sty.C \
@@ -149,6 +159,7 @@ lyx_SOURCES = \
        lyxgluelength.h \
        lyxlayout.C \
        lyxlayout.h \
+       lyxlayout_ptr_fwd.h \
        lyxlength.C \
        lyxlength.h \
        lyxlex.C \
@@ -169,17 +180,19 @@ lyx_SOURCES = \
        lyxvc.C \
        lyxvc.h \
        main.C \
-       minibuffer.C \
-       minibuffer.h \
        paragraph.C \
        paragraph.h \
        paragraph_pimpl.C \
        paragraph_pimpl.h \
-       sp_base.h \
-       sp_spell.C \
-       sp_ispell.h \
-       sp_pspell.h \
-       stl_string_fwd.h \
+       SpellBase.h \
+       ispell.C \
+       ispell.h \
+       pspell.C \
+       pspell.h \
+       rowpainter.C \
+       rowpainter.h \
+       sgml.C \
+       sgml.h \
        tabular.C \
        tabular.h \
        tabular-old.C \
@@ -193,6 +206,9 @@ lyx_SOURCES = \
        texrow.h \
        text.C \
        text2.C \
+       text3.C \
+       toc.C \
+       toc.h \
        trans.C \
        trans.h \
        trans_decl.h \
@@ -202,8 +218,6 @@ lyx_SOURCES = \
        undo.h \
        undo_funcs.C \
        undo_funcs.h \
-       undostack.C \
-       undostack.h \
        vc-backend.C \
        vc-backend.h \
        version.C \
@@ -211,15 +225,14 @@ lyx_SOURCES = \
        vspace.C \
        vspace.h
 
-lyx_main.o: lyx_main.C lyx_main.h config.h version.h lyx_gui.h \
+lyx_main.o: lyx_main.C lyx_main.h config.h version.h \
        lyxrc.h support/path.h support/filetools.h \
        bufferlist.h debug.h support/FileInfo.h lastfiles.h intl.h \
        lyxserver.h layout.h gettext.h kbmap.h commandtags.h language.h
        $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \
          -DTOP_SRCDIR=\"$(top_srcdir)\" -c $(top_srcdir)/src/lyx_main.C
 
-main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h \
-       support/os.h frontends/GUIRunTime.h
+main.o: main.C config.h lyx_main.h gettext.h LString.h support/filetools.h support/os.h
        $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
 
 dist-hook: