1 # This file provides "make" rules for the C++ standard library.
3 ifeq ($(TARGET
),ANDROID
)
4 LIBSTDCXX_CPPFLAGS
= -isystem
$(ANDROID_NDK
)/sources
/cxx-stl
/gnu-libstdc
++/$(ANDROID_GCC_VERSION
)/include \
5 -isystem
$(ANDROID_NDK
)/sources
/cxx-stl
/gnu-libstdc
++/$(ANDROID_GCC_VERSION
)/libs
/$(ANDROID_ABI3
)/include
6 LIBSTDCXX_LDADD
= $(ANDROID_NDK
)/sources
/cxx-stl
/gnu-libstdc
++/$(ANDROID_GCC_VERSION
)/libs
/$(ANDROID_ABI3
)/libgnustl_static.a
10 include $(topdir
)/build
/libcxx.mk
11 LIBSTDCXX_CPPFLAGS
= $(LIBCXX_CPPFLAGS
)
12 LIBSTDCXX_LDADD
= $(LIBCXX_LDADD
)
13 LIBSTDCXX_LDFLAGS
= $(LIBCXX_LDFLAGS
)
16 # Add the C++ standard library to every library and every program
17 TARGET_CPPFLAGS
+= $(LIBSTDCXX_CPPFLAGS
)
18 TARGET_LDADD
:= $(LIBSTDCXX_LDADD
) $(TARGET_LDADD
)