]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
5896615b9e3e698444d2eeada10b3dc5aa184401
[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                 rm -f $$i; \
52                 ln -s "$(top_srcdir)/src/$$i" . ; \
53         done
54
55 rm_link_files:
56         rm -f $(linked_files)