summaryrefslogtreecommitdiff
path: root/src/scepclient/Android.mk
blob: bec3d77ffbc782acf9b34417fb6c65fd4bbc2966 (plain)
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
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

# copy-n-paste from Makefile.am
scepclient_SOURCES := \
scepclient.c scep.c scep.h

LOCAL_SRC_FILES := $(filter %.c,$(scepclient_SOURCES))

# build scepclient -------------------------------------------------------------

LOCAL_C_INCLUDES += \
	$(strongswan_PATH)/src/libstrongswan

LOCAL_CFLAGS := $(strongswan_CFLAGS) \
	-DPLUGINS='"$(strongswan_SCEPCLIENT_PLUGINS)"'

LOCAL_MODULE := scepclient

LOCAL_MODULE_TAGS := optional

LOCAL_ARM_MODE := arm

LOCAL_PRELINK_MODULE := false

LOCAL_SHARED_LIBRARIES += libstrongswan

include $(BUILD_EXECUTABLE)