lyx_mirror/3rdparty/boost/Makefile.am
Georg Baum d67a8cb212 Do not try to build an empty boost lib
This should fix a build failure on OS X:
Making all in boost
  AR       liblyxboost.a
  ar: no archive members specified
2016-06-11 09:28:11 +02:00

47 lines
1.1 KiB
Makefile

include $(top_srcdir)/config/common.am
noinst_LIBRARIES = liblyxboost.a
EXTRA_DIST = boost \
CMakeLists.txt \
LICENSE_1_0.txt \
libs/CMakeLists.txt \
libs/regex/CMakeLists.txt \
libs/regex/src/CMakeLists.txt
AM_CPPFLAGS += -DBOOST_USER_CONFIG="<config.h>"
AM_CPPFLAGS += $(BOOST_INCLUDES)
# This version is more than three times faster than the one below
if MONOLITHIC_BOOST
liblyxboost_a_SOURCES = \
lyxboost.cpp \
libs/regex/src/instances.cpp \
libs/regex/src/cpp_regex_traits.cpp \
libs/regex/src/c_regex_traits.cpp
else
liblyxboost_a_SOURCES = \
libs/regex/src/internals.hpp \
libs/regex/src/c_regex_traits.cpp \
libs/regex/src/cpp_regex_traits.cpp \
libs/regex/src/cregex.cpp \
libs/regex/src/fileiter.cpp \
libs/regex/src/instances.cpp \
libs/regex/src/posix_api.cpp \
libs/regex/src/regex.cpp \
libs/regex/src/regex_debug.cpp \
libs/regex/src/regex_raw_buffer.cpp \
libs/regex/src/regex_traits_defaults.cpp \
libs/regex/src/w32_regex_traits.cpp \
libs/regex/src/wide_posix_api.cpp \
libs/regex/src/winstances.cpp \
libs/regex/src/static_mutex.cpp
endif #MONOLITHIC_BOOST