]> git.lyx.org Git - features.git/blob - 3rdparty/boost/Makefile.am
Skip boost linking test if not needed
[features.git] / 3rdparty / boost / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 noinst_LIBRARIES = liblyxboost.a
4
5 EXTRA_DIST = boost \
6         CMakeLists.txt \
7         LICENSE_1_0.txt \
8         libs/CMakeLists.txt \
9         libs/regex/CMakeLists.txt \
10         libs/regex/src/CMakeLists.txt
11
12 AM_CPPFLAGS += -DBOOST_USER_CONFIG="<config.h>" 
13 AM_CPPFLAGS +=  $(BOOST_INCLUDES)
14
15 if LYX_USE_STD_REGEX
16
17 else
18
19 # This version is more than three times faster than the one below
20
21 if MONOLITHIC_BOOST
22
23 liblyxboost_a_SOURCES = \
24         lyxboost.cpp \
25         libs/regex/src/instances.cpp \
26         libs/regex/src/cpp_regex_traits.cpp \
27         libs/regex/src/c_regex_traits.cpp 
28
29
30 else
31
32 liblyxboost_a_SOURCES = \
33         libs/regex/src/internals.hpp \
34         libs/regex/src/c_regex_traits.cpp \
35         libs/regex/src/cpp_regex_traits.cpp \
36         libs/regex/src/cregex.cpp \
37         libs/regex/src/fileiter.cpp \
38         libs/regex/src/instances.cpp \
39         libs/regex/src/posix_api.cpp \
40         libs/regex/src/regex.cpp \
41         libs/regex/src/regex_debug.cpp \
42         libs/regex/src/regex_raw_buffer.cpp \
43         libs/regex/src/regex_traits_defaults.cpp \
44         libs/regex/src/w32_regex_traits.cpp \
45         libs/regex/src/wide_posix_api.cpp \
46         libs/regex/src/winstances.cpp \
47         libs/regex/src/static_mutex.cpp
48
49 endif #MONOLITHIC_BOOST
50
51 endif #LYX_USE_STD_REGEX