]> git.lyx.org Git - lyx.git/blobdiff - src/Makefile.am
don't rm emergency saves ever
[lyx.git] / src / Makefile.am
index bcbf37e63b98d02bfe65cf285678e9fa82ef98f8..5b9d99363ad1ea5bed4bec876bd81e22920a68e3 100644 (file)
@@ -6,29 +6,35 @@ MAINTAINERCLEANFILES += $(srcdir)/config.h.in
 
 SUBDIRS = mathed insets graphics support frontends tex2lyx
 
+EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
+       Sectioning.h \
+       Sectioning.C \
+       Variables.C \
+       Variables.h \
+       tracer.C \
+       tracer.h
+
 bin_PROGRAMS = lyx
 
 LYX_CONV_LIBS = mathed/libmathed.la insets/libinsets.la \
        frontends/libfrontends.la \
+       $(FRONTEND_GUILIB) \
+       frontends/controllers/libcontrollers.la \
        graphics/libgraphics.la \
        support/libsupport.la
 
+if USE_INCLUDED_BOOST
 BOOST_LIBS = ../boost/libs/regex/src/libboostregex.la \
        ../boost/libs/signals/src/libboostsignals.la
+else
+BOOST_LIBS = -lboost_regex -lboost_signals
+endif
 
 lyx_LDADD = $(LYX_CONV_LIBS) $(BOOST_LIBS) $(INTLLIBS) \
        $(AIKSAURUS_LIBS) @LIBS@
 
 #lyx_LDFLAGS=-Wl,-O1
 
-EXTRA_DIST = config.h.in stamp-h.in cheaders version.C.in \
-       Sectioning.h \
-       Sectioning.C \
-       Variables.C \
-       Variables.h \
-       tracer.C \
-       tracer.h
-
 INCLUDES = $(BOOST_INCLUDES)
 
 localedir = $(datadir)/locale
@@ -36,7 +42,6 @@ localedir = $(datadir)/locale
 BUILT_SOURCES = version.C
 
 lyx_SOURCES = \
-       BoostFormat.h \
        BufferView.C \
        BufferView.h \
        BufferView_pimpl.C \
@@ -77,6 +82,7 @@ lyx_SOURCES = \
        ParagraphParameters.h \
        ParameterStruct.h \
        PrinterParams.h \
+       RowList.h \
        ShareContainer.h \
        Spacing.C \
        Spacing.h \
@@ -84,13 +90,14 @@ lyx_SOURCES = \
        TextCache.h \
        Thesaurus.C \
        Thesaurus.h \
-       ToolbarDefaults.C \
-       ToolbarDefaults.h \
+       ToolbarBackend.C \
+       ToolbarBackend.h \
        WordLangTuple.h \
+       aspell.C \
+       aspell_local.h \
        author.C \
        author.h \
        boost.C \
-       boost-inst.C \
        box.h \
        box.C \
        broken_headers.h \
@@ -106,7 +113,7 @@ lyx_SOURCES = \
        changes.h \
        chset.C \
        chset.h \
-       commandtags.h \
+       lfuns.h \
        config.h.in \
        converter.C \
        converter.h \
@@ -170,6 +177,8 @@ lyx_SOURCES = \
        lyxrc.h \
        lyxrow.C \
        lyxrow.h \
+       lyxrow_funcs.C \
+       lyxrow_funcs.h \
        lyxserver.C \
        lyxserver.h \
        lyxtext.h \
@@ -180,6 +189,8 @@ lyx_SOURCES = \
        lyxvc.C \
        lyxvc.h \
        main.C \
+       messages.C \
+       messages.h \
        metricsinfo.C \
        metricsinfo.h \
        paragraph.C \
@@ -197,7 +208,6 @@ lyx_SOURCES = \
        sgml.h \
        tabular.C \
        tabular.h \
-       tabular-old.C \
        tabular_funcs.C \
        tabular_funcs.h \
        tex-accent.C \
@@ -209,6 +219,8 @@ lyx_SOURCES = \
        text.C \
        text2.C \
        text3.C \
+       text_funcs.C \
+       text_funcs.h \
        toc.C \
        toc.h \
        trans.C \
@@ -238,8 +250,8 @@ lyx_main.o: lyx_main.C lyx_main.h config.h version.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
-       $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/main.C
+messages.o: messages.C messages.h config.h LString.h support/filetools.h
+       $(CXXCOMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(top_srcdir)/src/messages.C
 
 dist-hook:
        cd $(distdir) ; rm -rf `find cheaders -name \*CVS\*`