2016-07-13 07:17:21 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
|
2016-07-20 20:55:46 +02:00
|
|
|
AM_CPPFLAGS = @BOOST_CPPFLAGS@
|
2016-07-24 04:12:45 +02:00
|
|
|
|
|
|
|
if GCC
|
|
|
|
AM_CXXFLAGS = -fpch-deps
|
|
|
|
endif
|
2016-07-13 07:17:21 +02:00
|
|
|
|
2016-07-24 03:42:24 +02:00
|
|
|
if BUILD_PCH
|
2016-07-25 08:50:26 +02:00
|
|
|
BUILT_SOURCES = rb.h.gch rb.pic.h.gch
|
2016-07-24 03:42:24 +02:00
|
|
|
endif
|
2016-07-13 07:17:21 +02:00
|
|
|
|
|
|
|
rb.h.gch:
|
2016-07-24 04:12:45 +02:00
|
|
|
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -o rb.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) rb.h
|
2016-07-13 07:17:21 +02:00
|
|
|
|
2016-07-25 08:50:26 +02:00
|
|
|
rb.pic.h.gch:
|
|
|
|
cp rb.h rb.pic.h
|
|
|
|
$(CXX) $(CXXFLAGS) $(AM_CXXFLAGS) -fPIC -o rb.pic.h.gch $(DEFS) $(CPPFLAGS) $(AM_CPPFLAGS) rb.pic.h
|
|
|
|
|
2016-07-13 07:17:21 +02:00
|
|
|
clean-local:
|
|
|
|
rm -f rb.h.gch
|
2016-07-25 08:50:26 +02:00
|
|
|
rm -f rb.pic.h
|
|
|
|
rm -f rb.pic.h.gch
|
2016-07-13 07:17:21 +02:00
|
|
|
|
|
|
|
mrproper-local:
|
|
|
|
rm -f config.h
|
|
|
|
rm -f config.h.in
|
|
|
|
rm -f stamp-h1
|