Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LOCAL_PATH := $(call my-dir)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bass
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbass.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassalac
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassalac.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassdsd
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassdsd.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassflac
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassflac.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := basshls
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbasshls.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassmidi
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassmidi.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassmix
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassmix.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := bassopus
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbassopus.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := basswebm
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbasswebm.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := basswv
- LOCAL_SRC_FILES := $(LOCAL_PATH)/vendor/bass/libbasswv.so
- LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/vendor/bass/bass.h
- include $(PREBUILT_SHARED_LIBRARY)
- include $(CLEAR_VARS)
- LOCAL_MODULE := samp
- LOCAL_LDLIBS := -llog
- # samp
- FILE_LIST := $(wildcard $(LOCAL_PATH)/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/game/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/net/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/util/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/game/RW/RenderWare.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/gui/*.cpp)
- # vendor
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/inih/cpp/INIReader.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/inih/ini.c)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/RakNet/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/RakNet/SAMP/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/imgui/*.cpp)
- FILE_LIST += $(wildcard $(LOCAL_PATH)/vendor/hash/md5.cpp)
- LOCAL_CPPFLAGS := -w -s -fvisibility=hidden -pthread -Wall -fpack-struct=1 -O2 -std=c++14 -fexceptions
- LOCAL_SHARED_LIBRARIES := bass bassalac bassdsd bassflac basshls bassmidi bassmix bassopus basswebm basswv
- LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
- include $(BUILD_SHARED_LIBRARY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement