]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
* Text3.cpp (doDispatch): fix the behaviour of word-delete-forward,
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = tex2lyx.man pch.h test-structure.tex test-insets.tex
4
5 DISTCLEANFILES += tex2lyx.1 $(LINKED_FILES)
6
7 #noinst_LTLIBRARIES = libtexparser.la
8 #
9 #libtexparser_la_SOURCES = \
10 #       Parser.cpp \
11 #       Parser.h
12 #
13 #tex2lyx_LDADD = libtexparser.la
14
15 man_MANS = tex2lyx.1
16
17 bin_PROGRAMS = tex2lyx
18
19 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
20
21 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
22
23 LINKED_FILES = \
24         FloatList.cpp \
25         Floating.cpp \
26         Counters.cpp \
27         Layout.h \
28         Layout.cpp \
29         TextClass.cpp \
30         TextClass.h \
31         Lexer.cpp 
32
33 BUILT_SOURCES = $(PCH_FILE) $(LINKED_FILES)
34
35 tex2lyx_SOURCES = \
36         $(LINKED_FILES) \
37         Spacing.h \
38         boost.cpp \
39         Context.cpp \
40         Context.h \
41         Font.cpp \
42         Font.h \
43         gettext.cpp \
44         lengthcommon.cpp \
45         Parser.cpp \
46         Parser.h \
47         tex2lyx.cpp \
48         tex2lyx.h \
49         preamble.cpp \
50         math.cpp \
51         table.cpp \
52         text.cpp
53
54 tex2lyx_LDADD = \
55         $(top_builddir)/src/support/libsupport.la \
56         $(BOOST_LIBS) $(LIBICONV) @LIBS@
57
58 $(LINKED_FILES) :
59         @rm -f $@ ; \
60         $(LN_S) $(top_srcdir)/src/$@ .
61
62 rm_link_files:
63         rm -f $(LINKED_FILES)
64
65 tex2lyx.1:
66         cp -p $(srcdir)/tex2lyx.man tex2lyx.1