1LOCAL_PATH := $(call my-dir) 2 3libstlport_src_files := \ 4 src/dll_main.cpp \ 5 src/fstream.cpp \ 6 src/strstream.cpp \ 7 src/sstream.cpp \ 8 src/ios.cpp \ 9 src/stdio_streambuf.cpp \ 10 src/istream.cpp \ 11 src/ostream.cpp \ 12 src/iostream.cpp \ 13 src/codecvt.cpp \ 14 src/collate.cpp \ 15 src/ctype.cpp \ 16 src/monetary.cpp \ 17 src/num_get.cpp \ 18 src/num_put.cpp \ 19 src/num_get_float.cpp \ 20 src/num_put_float.cpp \ 21 src/numpunct.cpp \ 22 src/time_facets.cpp \ 23 src/messages.cpp \ 24 src/locale.cpp \ 25 src/locale_impl.cpp \ 26 src/locale_catalog.cpp \ 27 src/facets_byname.cpp \ 28 src/complex.cpp \ 29 src/complex_io.cpp \ 30 src/complex_trig.cpp \ 31 src/string.cpp \ 32 src/bitset.cpp \ 33 src/allocators.cpp \ 34 src/c_locale.c \ 35 src/cxa.c \ 36 37libstlport_c_includes := \ 38 external/stlport/stlport \ 39 bionic \ 40 bionic/libstdc++/include \ 41 42libstlport_cflags := -D_GNU_SOURCE 43libstlport_cppflags := -fuse-cxa-atexit 44 45########################################## 46include $(CLEAR_VARS) 47 48LOCAL_SRC_FILES := $(libstlport_src_files) 49 50LOCAL_MODULE := libstlport 51LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 52 53LOCAL_CFLAGS := $(libstlport_cflags) 54LOCAL_CPPFLAGS := $(libstlport_cppflags) 55LOCAL_C_INCLUDES := $(libstlport_c_includes) 56include $(BUILD_SHARED_LIBRARY) 57 58########################################## 59include $(CLEAR_VARS) 60 61LOCAL_SRC_FILES := $(libstlport_src_files) 62 63LOCAL_MODULE := libstlport_static 64LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 65 66LOCAL_CFLAGS := $(libstlport_cflags) 67LOCAL_CPPFLAGS := $(libstlport_cppflags) 68LOCAL_C_INCLUDES := $(libstlport_c_includes) 69include $(BUILD_STATIC_LIBRARY) 70