android: Remove/filter header files from LOCAL_SRC_FILES
[strongswan.git] / src / scepclient / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 scepclient_SOURCES := \
6 scepclient.c scep.c scep.h
7
8 LOCAL_SRC_FILES := $(filter %.c,$(scepclient_SOURCES))
9
10 # build scepclient -------------------------------------------------------------
11
12 LOCAL_C_INCLUDES += \
13 $(libvstr_PATH) \
14 $(strongswan_PATH)/src/libstrongswan
15
16 LOCAL_CFLAGS := $(strongswan_CFLAGS) \
17 -DPLUGINS='"$(strongswan_SCEPCLIENT_PLUGINS)"'
18
19 LOCAL_MODULE := scepclient
20
21 LOCAL_MODULE_TAGS := optional
22
23 LOCAL_ARM_MODE := arm
24
25 LOCAL_PRELINK_MODULE := false
26
27 LOCAL_SHARED_LIBRARIES += libstrongswan
28
29 include $(BUILD_EXECUTABLE)