]> git.lyx.org Git - features.git/blob - src/frontends/xforms/forms/Makefile.am
More pch work.
[features.git] / src / frontends / xforms / forms / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 DISTCLEANFILES += *.C *.h *.c
4
5 EXTRA_DIST = fdfixc.sed fdfixh.sed fdfix.sh tmp_str.sed README $(SRCS)
6
7 # For (forms_fwd.h, forms_gettext.h) and support/std_string.h, respectively.
8 INCLUDES = -I$(srcdir)/..  -I$(top_srcdir)/src -I..
9
10 AM_CXXFLAGS = $(PCH_FLAGS)
11
12 noinst_LTLIBRARIES = libfdesign.la
13
14 SRCS =  form_aboutlyx.fd \
15         form_bibitem.fd \
16         form_bibtex.fd \
17         form_box.fd \
18         form_browser.fd \
19         form_branch.fd \
20         form_changes.fd \
21         form_character.fd \
22         form_citation.fd \
23         form_colorpicker.fd \
24         form_document.fd \
25         form_errorlist.fd \
26         form_ert.fd \
27         form_external.fd \
28         form_filedialog.fd \
29         form_float.fd \
30         form_graphics.fd \
31         form_include.fd \
32         form_maths_delim.fd \
33         form_maths_matrix.fd \
34         form_maths_panel.fd \
35         form_maths_space.fd \
36         form_maths_style.fd \
37         form_note.fd \
38         form_paragraph.fd \
39         form_preamble.fd \
40         form_preferences.fd \
41         form_print.fd \
42         form_ref.fd \
43         form_search.fd \
44         form_sendto.fd \
45         form_spellchecker.fd \
46         form_tabular.fd \
47         form_tabular_create.fd \
48         form_texinfo.fd \
49         form_text.fd \
50         form_thesaurus.fd \
51         form_toc.fd \
52         form_url.fd \
53         form_vspace.fd \
54         form_wrap.fd
55
56 nodist_libfdesign_la_SOURCES = $(SRCS:.fd=.C) $(SRCS:.fd=.h)
57 # This is a trick so that the actual .la file never gets build,
58 # so we do not need to use diskspace and time for it.
59 # It is only getting linked into libxforms.la anyway.
60 libfdesign_la_LINK = touch libfdesign.la
61
62 # These are used to generate the .[Ch] files from the .fd ones.
63 SHELL = /bin/sh
64 SCRIPT = $(srcdir)/fdfix.sh
65 SUFFIX = .fd
66
67 .fd.C: $(srcdir)/fdfix.sh $(srcdir)/fdfix[ch].sed $(srcdir)/tmp_str.sed
68         { [ $(srcdir) != . ] && [ ! -r $(<F) ] && $(LN_S) $< . ; } || true
69         $(SHELL) $(SCRIPT) $(<F)