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