2003-02-11 12:37:27 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2005-07-18 16:23:53 +00:00
|
|
|
EXTRA_DIST = tex2lyx.man pch.h test-structure.tex test-insets.tex
|
2005-07-12 23:42:23 +00:00
|
|
|
|
2005-10-18 09:15:19 +00:00
|
|
|
DISTCLEANFILES += tex2lyx.1 $(LINKED_FILES)
|
2003-02-11 12:37:27 +00:00
|
|
|
|
2003-04-17 09:47:21 +00:00
|
|
|
#noinst_LTLIBRARIES = libtexparser.la
|
|
|
|
#
|
|
|
|
#libtexparser_la_SOURCES = \
|
|
|
|
# texparser.C \
|
2003-04-29 08:46:17 +00:00
|
|
|
# texparser.h
|
2003-04-17 09:47:21 +00:00
|
|
|
#
|
|
|
|
#tex2lyx_LDADD = libtexparser.la
|
2003-02-12 08:36:49 +00:00
|
|
|
|
2005-07-16 15:18:14 +00:00
|
|
|
man_MANS = tex2lyx.1
|
|
|
|
|
2003-02-11 12:37:27 +00:00
|
|
|
bin_PROGRAMS = tex2lyx
|
|
|
|
|
2005-05-20 16:56:28 +00:00
|
|
|
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
|
2004-08-18 14:20:18 +00:00
|
|
|
|
Replace gzstream by boost::iostreams::gzip_(de)compressor: by Bo Peng (ben.bob@gmail.com)
* src/buffer.C, use filtering_ostream
* src/lyxlex_pimpl.h, .C, use filtering_istreambuf
* src/Makefile.am, src/support/Makefile.am, src/tex2lyx/Makefile.am, use BOOST_IOSTREAMS
* remove src/support/gzstream.h, .C
* add needed boost files boost/boost/iostreams/device/file_descriptor.hpp,
device/mapped_file.hpp, detail/system_failure.hpp,
detail/config/windows_posix.hpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13706 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-21 06:42:17 +00:00
|
|
|
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
|
2005-01-31 10:42:26 +00:00
|
|
|
|
2005-02-03 15:38:04 +00:00
|
|
|
COMPRESSIONLIB = -lz
|
|
|
|
|
2005-10-18 09:15:19 +00:00
|
|
|
LINKED_FILES = \
|
2007-04-26 04:41:58 +00:00
|
|
|
FloatList.cpp \
|
|
|
|
Floating.cpp \
|
|
|
|
Counters.cpp \
|
|
|
|
LyXLayout.h \
|
|
|
|
LyXLayout.cpp \
|
|
|
|
LyXTextClass.cpp \
|
|
|
|
LyXTextClass.h \
|
|
|
|
LyXLex.cpp
|
2003-07-26 00:15:38 +00:00
|
|
|
|
2005-10-18 09:15:19 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE) $(LINKED_FILES)
|
2005-07-12 23:42:23 +00:00
|
|
|
|
2003-02-12 08:36:49 +00:00
|
|
|
tex2lyx_SOURCES = \
|
2005-10-18 09:15:19 +00:00
|
|
|
$(LINKED_FILES) \
|
2003-07-26 00:15:38 +00:00
|
|
|
Spacing.h \
|
2007-04-25 18:04:04 +00:00
|
|
|
boost.cpp \
|
2003-08-04 10:26:10 +00:00
|
|
|
context.C \
|
|
|
|
context.h \
|
2007-04-26 04:41:58 +00:00
|
|
|
gettext.cpp \
|
|
|
|
lengthcommon.cpp \
|
|
|
|
LyXFont.cpp \
|
|
|
|
LyXFont.h \
|
2003-02-12 08:36:49 +00:00
|
|
|
texparser.C \
|
2003-04-17 09:47:21 +00:00
|
|
|
texparser.h \
|
|
|
|
tex2lyx.C \
|
|
|
|
tex2lyx.h \
|
|
|
|
preamble.C \
|
|
|
|
math.C \
|
|
|
|
table.C \
|
2007-04-26 04:41:58 +00:00
|
|
|
text.cpp
|
2003-07-26 00:15:38 +00:00
|
|
|
|
|
|
|
tex2lyx_LDADD = \
|
2004-12-05 17:10:58 +00:00
|
|
|
$(top_builddir)/src/support/libsupport.la \
|
2007-01-11 21:22:18 +00:00
|
|
|
$(BOOST_LIBS) $(LIBICONV) @LIBS@ $(COMPRESSIONLIB)
|
2003-07-26 00:15:38 +00:00
|
|
|
|
2005-10-18 09:15:19 +00:00
|
|
|
$(LINKED_FILES) :
|
2003-10-17 23:41:14 +00:00
|
|
|
@rm -f $@ ; \
|
|
|
|
$(LN_S) $(top_srcdir)/src/$@ .
|
2003-07-26 00:15:38 +00:00
|
|
|
|
|
|
|
rm_link_files:
|
2005-10-18 09:15:19 +00:00
|
|
|
rm -f $(LINKED_FILES)
|
2005-07-16 15:18:14 +00:00
|
|
|
|
|
|
|
tex2lyx.1:
|
|
|
|
cp -p $(srcdir)/tex2lyx.man tex2lyx.1
|