Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 90 lines (73 sloc) 2.994 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
LOCAL_PATH := $(call my-dir)

## libkadm5srv_mit
include $(CLEAR_VARS)
LOCAL_MODULE := libkadm5srv_mit
LOCAL_SRC_FILES := lib/libkadm5srv_mit.a
include $(PREBUILT_STATIC_LIBRARY)

## libkdb5
include $(CLEAR_VARS)
LOCAL_MODULE := libkdb5
LOCAL_SRC_FILES := lib/libkdb5.a
include $(PREBUILT_STATIC_LIBRARY)

## libkrb5_db2
include $(CLEAR_VARS)
LOCAL_MODULE := libkrb5_db2
LOCAL_SRC_FILES := lib/libkrb5_db2.a
include $(PREBUILT_STATIC_LIBRARY)

## libgssrpc
include $(CLEAR_VARS)
LOCAL_MODULE := libgssrpc
LOCAL_SRC_FILES := lib/libgssrpc.a
include $(PREBUILT_STATIC_LIBRARY)

## libgssapi_krb5
include $(CLEAR_VARS)
LOCAL_MODULE := libgssapi_krb5
LOCAL_SRC_FILES := lib/libgssapi_krb5.a
include $(PREBUILT_STATIC_LIBRARY)

## libkrb5
include $(CLEAR_VARS)
LOCAL_MODULE := libkrb5
LOCAL_SRC_FILES := lib/libkrb5.a
include $(PREBUILT_STATIC_LIBRARY)

## libk5crypto
include $(CLEAR_VARS)
LOCAL_MODULE := libk5crypto
LOCAL_SRC_FILES := lib/libk5crypto.a
include $(PREBUILT_STATIC_LIBRARY)

## libcom_err
include $(CLEAR_VARS)
LOCAL_MODULE := libcom_err
LOCAL_SRC_FILES := lib/libcom_err.a
include $(PREBUILT_STATIC_LIBRARY)

## libkrb5support
include $(CLEAR_VARS)
LOCAL_MODULE := libkrb5support
LOCAL_SRC_FILES := lib/libkrb5support.a
include $(PREBUILT_STATIC_LIBRARY)

## libcyassl
include $(CLEAR_VARS)
LOCAL_MODULE := libcyassl
LOCAL_SRC_FILES := lib/libcyassl.a
include $(PREBUILT_STATIC_LIBRARY)

## Kerberos Test Application JNI Library (KerberosApp)
include $(CLEAR_VARS)

LOCAL_MODULE := libkerberosapp
LOCAL_C_INCLUDES := $(LOCAL_PATH) \
                    $(LOCAL_PATH)/include \
                    $(LOCAL_PATH)/kinit \
                    $(LOCAL_PATH)/kinit/include \
                    $(LOCAL_PATH)/klist/include
LOCAL_SRC_FILES := kerberosapp.c \
                    kinit/kinit.c \
                    kinit/kinit_kdb.c \
                    klist/klist.c \
                    kvno/kvno.c \
                    kdestroy/kdestroy.c \
                    gsswrapper_wrap.c

#LOCAL_CFLAGS := -DHAVE_CONFIG_H -DNO_MAIN_DRIVER -DNDEBUG -DNO_HC128 -DNO_PSK -Wall -Wno-unused -DTHREAD_SAFE
## For additional shadow warnings, use -Wshadow -Wmissing-format-attribute
LOCAL_CFLAGS := -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -DANDROID -fno-common -Wall -Wcast-align -Wmissing-prototypes -Wno-format-zero-length -Woverflow -Wstrict-overflow -Wmissing-prototypes -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas -Wsign-compare -Werror=uninitialized -Werror=declaration-after-statement -Werror=variadic-macros -Werror-implicit-function-declaration -Wstrict-aliasing -Wpointer-arith -Waddress
LOCAL_LDLIBS := -llog

##LOCAL_STATIC_LIBRARIES := libkrb5 libcom_err libkadm5srv libkdb5 libk5crypto libkrb5support
LOCAL_STATIC_LIBRARIES := libkadm5srv_mit libkdb5 libkrb5_db2 libgssrpc libgssapi_krb5 libkrb5 libk5crypto libcom_err libkrb5support libcyassl

include $(BUILD_SHARED_LIBRARY)

Something went wrong with that request. Please try again.