mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-30 15:41:12 +00:00
0b6deecd95
* Make sure that no source files in boost are executable * Make sure that all boost files are marked with eol-style native * configure.ac: setup for new iostreams boost binary lib * config/common.am: add boost iostreams variable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13705 a592a061-630c-0410-9148-cb99ea01b6c8
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
CLEANFILES = pch.h.gch
|
|
|
|
DISTCLEANFILES= pch.h.gch.dep *.orig *.rej *~ *.bak core
|
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
|
|
AM_INSTALL_DATA_FLAGS = $(INSTALL) -m 644 -D
|
|
|
|
AM_ETAGSFLAGS = --lang=c++
|
|
|
|
if LYX_BUILD_PCH
|
|
PCH_SOURCE = $(srcdir)/pch.h
|
|
PCH_FLAGS = -Winvalid-pch --include=$(PCH_SOURCE)
|
|
PCH_FILE = ./pch.h.gch
|
|
sinclude ./pch.h.gch.dep
|
|
|
|
*.o *.lo *.obj: $(PCH_FILE)
|
|
|
|
$(PCH_FILE): $(PCH_SOURCE)
|
|
$(MAKE) PCH_FLAGS= pch-file
|
|
|
|
pch-file:
|
|
$(CXXCOMPILE) -x c++-header $(PCH_SOURCE) -o $(PCH_FILE) \
|
|
-MT $(PCH_FILE) -MD -MP -MF "./$(PCH_FILE).Tdep" \
|
|
&& mv "./$(PCH_FILE).Tdep" "./$(PCH_FILE).dep" \
|
|
|| rm "./$(PCH_FILE).Tdep"
|
|
endif
|
|
|
|
SUFFIXES = .gch
|
|
|
|
if USE_INCLUDED_BOOST
|
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
|
BOOST_FILESYSTEM = $(top_builddir)/boost/libs/filesystem/src/libboost_filesystem.la
|
|
BOOST_REGEX = $(top_builddir)/boost/libs/regex/src/libboost_regex.la
|
|
BOOST_SIGNALS = $(top_builddir)/boost/libs/signals/src/libboost_signals.la
|
|
BOOST_IOSTREAMS = $(top_builddir)/boost/libs/iostreams/src/libboost_iostreams.la
|
|
else
|
|
BOOST_INCLUDES =
|
|
BOOST_FILESYSTEM = -lboost_filesystem
|
|
BOOST_REGEX = -lboost_regex
|
|
BOOST_SIGNALS = -lboost_signals
|
|
BOOST_IOSTREAMS = -lboost_iostreams
|
|
endif
|
|
|
|
LIBS =
|