]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
architectural changes to tex2lyx
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
4 EXTRA_DIST = test-structure.tex
5
6 #noinst_LTLIBRARIES = libtexparser.la
7 #
8 #libtexparser_la_SOURCES = \
9 #       texparser.C \
10 #       texparser.h
11 #
12 #tex2lyx_LDADD = libtexparser.la
13
14 bin_PROGRAMS = tex2lyx
15
16 linked_files = \
17         FloatList.C \
18         Floating.C \
19         boost.C \
20         counters.C \
21         lyxlayout.h \
22         lyxlayout.C \
23         lyxtextclass.C \
24         lyxtextclass.h \
25         lyxlex.C \
26         lyxlex_pimpl.C
27
28 tex2lyx_SOURCES = \
29         $(linked_files) \
30         Spacing.h \
31         context.C \
32         context.h \
33         gettext.C \
34         gettext.h \
35         lyxfont.C \
36         lyxfont.h \
37         texparser.C \
38         texparser.h \
39         tex2lyx.C \
40         tex2lyx.h \
41         preamble.C \
42         math.C \
43         table.C \
44         text.C
45
46 tex2lyx_LDADD = \
47         ../support/libsupport.la \
48         ../../boost/libs/regex/src/libboostregex.la -lz
49
50 FloatList.C: link_files
51
52 link_files:
53         @for i in $(linked_files); do \
54                 rm -f $$i; \
55                 ln -s "$(top_srcdir)/src/$$i" . ; \
56         done
57
58 rm_link_files:
59         rm -f $(linked_files)