2003-02-11 12:37:27 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
|
2005-07-12 23:42:23 +00:00
|
|
|
EXTRA_DIST = pch.h test-structure.tex test-insets.tex
|
|
|
|
|
2005-07-16 15:18:14 +00:00
|
|
|
DISTCLEANFILES += tex2lyx.1 $(LINKED_SOURCES)
|
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
|
|
|
|
2005-01-31 10:42:26 +00:00
|
|
|
BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM)
|
|
|
|
|
2005-02-03 15:38:04 +00:00
|
|
|
if USE_COMPRESSION
|
|
|
|
COMPRESSIONLIB = -lz
|
|
|
|
endif
|
|
|
|
|
2005-07-12 23:42:23 +00:00
|
|
|
LINKED_SOURCES = \
|
2003-07-26 00:15:38 +00:00
|
|
|
FloatList.C \
|
|
|
|
Floating.C \
|
|
|
|
counters.C \
|
|
|
|
lyxlayout.h \
|
|
|
|
lyxlayout.C \
|
|
|
|
lyxtextclass.C \
|
|
|
|
lyxtextclass.h \
|
|
|
|
lyxlex.C \
|
|
|
|
lyxlex_pimpl.C
|
|
|
|
|
2005-07-12 23:42:23 +00:00
|
|
|
BUILT_SOURCES = $(PCH_FILE) $(LINKED_SOURCES)
|
|
|
|
|
2003-02-12 08:36:49 +00:00
|
|
|
tex2lyx_SOURCES = \
|
2005-07-12 23:42:23 +00:00
|
|
|
$(LINKED_SOURCES) \
|
2003-07-26 00:15:38 +00:00
|
|
|
Spacing.h \
|
2003-10-14 21:30:23 +00:00
|
|
|
boost.C \
|
2003-08-04 10:26:10 +00:00
|
|
|
context.C \
|
|
|
|
context.h \
|
2003-07-26 00:15:38 +00:00
|
|
|
gettext.C \
|
|
|
|
gettext.h \
|
2004-05-26 22:44:45 +00:00
|
|
|
lengthcommon.C \
|
2003-07-26 00:15:38 +00:00
|
|
|
lyxfont.C \
|
|
|
|
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 \
|
2003-04-29 08:46:17 +00:00
|
|
|
text.C
|
2003-07-26 00:15:38 +00:00
|
|
|
|
|
|
|
tex2lyx_LDADD = \
|
2004-12-05 17:10:58 +00:00
|
|
|
$(top_builddir)/src/support/libsupport.la \
|
2005-02-03 15:38:04 +00:00
|
|
|
$(BOOST_LIBS) $(COMPRESSIONLIB)
|
2003-07-26 00:15:38 +00:00
|
|
|
|
2005-07-12 23:42:23 +00:00
|
|
|
$(LINKED_SOURCES) :
|
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-07-12 23:42:23 +00:00
|
|
|
rm -f $(LINKED_SOURCES)
|
2005-07-16 15:18:14 +00:00
|
|
|
|
|
|
|
tex2lyx.1:
|
|
|
|
cp -p $(srcdir)/tex2lyx.man tex2lyx.1
|