mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
c5186dcb4d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8964 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
705 B
Plaintext
36 lines
705 B
Plaintext
AUTOMAKE_OPTIONS = foreign
|
|
|
|
CLEANFILES = pch.h.gch
|
|
|
|
DISTCLEANFILES= *.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_FLAGS = -Winvalid-pch --include=./pch.h
|
|
PCH_FILE = ./pch.h.gch
|
|
PCH_SOURCE = ./pch.h
|
|
sinclude ./pch.h.gch.dep
|
|
|
|
*.C *.cpp: $(PCH_FILE)
|
|
|
|
pch.h.gch: $(PCH_SOURCE)
|
|
$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) \
|
|
-x c++-header $(PCH_SOURCE) -MT $@ -MD -MP -MF "./$@.Tdep" \
|
|
&& mv "./$@.Tdep" "./$@.dep" || rm "./$@.Tdep"
|
|
|
|
endif
|
|
|
|
SUFFIXES = .gch
|
|
|
|
if USE_INCLUDED_BOOST
|
|
BOOST_INCLUDES = -I$(top_srcdir)/boost
|
|
endif
|
|
|
|
LIBS =
|