diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/replicant/nx/Android.mk | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/replicant/nx/Android.mk')
-rw-r--r-- | Src/replicant/nx/Android.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Src/replicant/nx/Android.mk b/Src/replicant/nx/Android.mk new file mode 100644 index 00000000..48d50f0d --- /dev/null +++ b/Src/replicant/nx/Android.mk @@ -0,0 +1,27 @@ +NX_LOCAL_PATH := $(call my-dir) +include $(NX_LOCAL_PATH)/cpufeatures/Android.mk + +LOCAL_PATH:= $(NX_LOCAL_PATH) + + +include $(CLEAR_VARS) +include $(ROOT_REPLICANT)/PlatformName.mk + +LOCAL_MODULE := nx +LOCAL_MODULE_FILENAME := libnx.$(PLATFORM_NAME) +LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. +LOCAL_CFLAGS := -fvisibility=hidden +LOCAL_SRC_FILES := android/nxcondition.c android/nxstring.c android/nxuri.c android/nxmutablestring.c android/nxdata.c android/nxsemaphore.c android/nxthread.c android/nxfile.c android/nxlog.c android/NXFileObject.cpp android/NXFileProgressiveDownloader.cpp android/nxonce.c +LOCAL_SRC_FILES += linux/nxsleep.c linux/nxpath.c +LOCAL_SRC_FILES += cpufeatures/cpu-features.c + +ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) +LOCAL_SRC_FILES += android-armv7/nxonce-armv6.S +else +LOCAL_SRC_FILES += android-armv5/nxonce-armv5.S +endif + +LOCAL_STATIC_LIBRARIES := nu foundation +LOCAL_SHARED_LIBRARIES := nu foundation jnet +LOCAL_LDFLAGS := -llog +include $(BUILD_SHARED_LIBRARY) |