Upgrade to tzdata2013i.
[android-sdk/platform-bionic.git] / libstdc++ / Android.mk
1 LOCAL_PATH:= $(call my-dir)
3 # Common C++ flags to build this library.
4 # Note that we need to access private Bionic headers
5 # and define ANDROID_SMP accordingly.
6 libstdc++_cflags := -Ibionic/libc/
7 ifeq ($(TARGET_CPU_SMP),true)
8     libstdc++_cflags += -DANDROID_SMP=1
9 else
10     libstdc++_cflags += -DANDROID_SMP=0
11 endif
13 include $(CLEAR_VARS)
15 LOCAL_SRC_FILES:= \
16         src/one_time_construction.cpp \
17         src/new.cpp \
18         src/pure_virtual.cpp \
19         src/typeinfo.cpp
21 LOCAL_MODULE:= libstdc++
22 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
24 LOCAL_CFLAGS := $(libstdc++_cflags)
26 LOCAL_SYSTEM_SHARED_LIBRARIES := libc
28 include $(BUILD_SHARED_LIBRARY)
30 include $(CLEAR_VARS)
32 LOCAL_SRC_FILES:= \
33         src/one_time_construction.cpp \
34         src/new.cpp \
35         src/pure_virtual.cpp \
36         src/typeinfo.cpp
38 LOCAL_CFLAGS := $(libstdc++_cflags)
40 LOCAL_MODULE:= libstdc++
41 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
43 LOCAL_SYSTEM_SHARED_LIBRARIES := libc
45 include $(BUILD_STATIC_LIBRARY)