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