X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FMakefile.am;h=7406bb2ffe950e9ef45c274f94f78fd058797dd2;hb=d09f87c3ca895e53ff77ca47918778e257826806;hp=06d03619ec7e9edae7a5a8af82e0f37b8ab2a9fa;hpb=67e61a395698fdfc8a50d2af593b1c2dd89ac018;p=lyx.git diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am index 06d03619ec..7406bb2ffe 100644 --- a/src/tex2lyx/Makefile.am +++ b/src/tex2lyx/Makefile.am @@ -1,71 +1,80 @@ include $(top_srcdir)/config/common.am -EXTRA_DIST = tex2lyx.man pch.h test-structure.tex test-insets.tex +EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) pch.h -DISTCLEANFILES += tex2lyx.1 $(LINKED_FILES) - -#noinst_LTLIBRARIES = libtexparser.la +#noinst_LIBRARIES = libtexparser.a # -#libtexparser_la_SOURCES = \ +#libtexparser_a_SOURCES = \ # Parser.cpp \ # Parser.h # -#tex2lyx_LDADD = libtexparser.la +#tex2lyx_LDADD = libtexparser.a man_MANS = tex2lyx.1 bin_PROGRAMS = tex2lyx -AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) +DEFAULT_INCLUDES = + +AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \ + -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES) + +TEST_FILES = \ + test/box-color-size-space-align.tex \ + test/DummyDocument.tex \ + test/foo.eps \ + test/foo.png \ + test/test-insets.tex \ + test/test.ltx \ + test/test-structure.tex LINKED_FILES = \ - FloatList.cpp \ - Floating.cpp \ - Counters.cpp \ - Layout.h \ - Layout.cpp \ - TextClass.cpp \ - TextClass.h \ - Lexer.cpp + ../Author.cpp \ + ../Color.cpp \ + ../Counters.cpp \ + ../Encoding.cpp \ + ../FloatList.cpp \ + ../Floating.cpp \ + ../FontInfo.cpp \ + ../graphics/GraphicsParams.cpp \ + ../insets/ExternalTemplate.cpp \ + ../insets/ExternalTransforms.cpp \ + ../insets/InsetLayout.cpp \ + ../LaTeXPackages.cpp \ + ../Layout.cpp \ + ../LayoutFile.cpp \ + ../LayoutModuleList.cpp \ + ../Length.cpp \ + ../lengthcommon.cpp \ + ../Lexer.cpp \ + ../ModuleList.cpp \ + ../Spacing.cpp \ + ../TextClass.cpp \ + ../version.cpp -BUILT_SOURCES = $(PCH_FILE) $(LINKED_FILES) +BUILT_SOURCES = $(PCH_FILE) tex2lyx_SOURCES = \ $(LINKED_FILES) \ - Spacing.h \ boost.cpp \ Context.cpp \ Context.h \ - Font.cpp \ - Font.h \ - gettext.cpp \ - lengthcommon.cpp \ + math.cpp \ Parser.cpp \ Parser.h \ + Preamble.cpp \ + Preamble.h \ + table.cpp \ tex2lyx.cpp \ tex2lyx.h \ - preamble.cpp \ - math.cpp \ - table.cpp \ text.cpp tex2lyx_LDADD = \ - $(top_builddir)/src/support/liblyxsupport.la \ - $(top_builddir)/src/liblyxcore.la \ - $(top_builddir)/src/insets/liblyxinsets.la \ - $(top_builddir)/src/mathed/liblyxmathed.la \ - $(top_builddir)/src/graphics/liblyxgraphics.la \ - $(top_builddir)/src/frontends/liblyxfrontends.la \ - $(top_builddir)/src/frontends/controllers/liblyxcontrollers.la \ - $(top_builddir)/src/frontends/qt4/liblyxqt4.la \ - $(BOOST_LIBS) $(LIBICONV) @LIBS@ - -$(LINKED_FILES) : - @rm -f $@ ; \ - $(LN_S) $(top_srcdir)/src/$@ . - -rm_link_files: - rm -f $(LINKED_FILES) + $(top_builddir)/src/support/liblyxsupport.a \ + $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \ + $(QT4_LIB) $(QT4_LDFLAGS) \ + @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI) -tex2lyx.1: - cp -p $(srcdir)/tex2lyx.man tex2lyx.1 +if INSTALL_MACOSX +tex2lyx_LDFLAGS = -framework AppKit +endif