]> git.lyx.org Git - features.git/blob - src/frontends/controllers/Makefile.am
0ead9da1337de69bb0270795b9b31557fdea1f69
[features.git] / src / frontends / controllers / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 AM_CPPFLAGS += -I$(top_srcdir)/src $(BOOST_INCLUDES) -I$(top_srcdir)/src/frontends
4
5 EXTRA_DIST = tests/regfiles/biblio
6
7 noinst_LTLIBRARIES = liblyxcontrollers.la
8
9 SOURCEFILES = \
10         Dialog.cpp \
11         ButtonPolicy.cpp \
12         ControlMath.cpp \
13         frontend_helpers.cpp 
14
15 HEADERFILES = \
16         Dialog.h \
17         ButtonPolicy.h \
18         ControlMath.h \
19         frontend_helpers.h
20
21 if MONOLITHIC_CONTROLLERS
22
23 lyxcontrollers.cpp:
24         @echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
25
26 BUILT_SOURCES = lyxcontrollers.cpp
27
28 liblyxcontrollers_la_SOURCES = lyxcontrollers.cpp $(HEADERFILES) 
29
30 else
31
32 EXTRA_DIST += pch.h
33 BUILT_SOURCES = $(PCH_FILE)
34 AM_CPPFLAGS += $(PCH_FLAGS)
35
36 liblyxcontrollers_la_SOURCES = $(SOURCEFILES) $(HEADERFILES)
37
38 endif