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