Move callback_job_t to libhydra.
[strongswan.git] / src / libhydra / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 LOCAL_SRC_FILES := \
6 hydra.c hydra.h \
7 attributes/attributes.c attributes/attributes.h \
8 attributes/attribute_provider.h attributes/attribute_handler.h \
9 attributes/attribute_manager.c attributes/attribute_manager.h \
10 attributes/mem_pool.c attributes/mem_pool.h \
11 processing/jobs/job.h \
12 processing/jobs/callback_job.c processing/jobs/callback_job.h \
13 processing/processor.c processing/processor.h
14
15 # adding the plugin source files
16
17 LOCAL_SRC_FILES += $(call add_plugin, attr)
18
19 # build libcharon --------------------------------------------------------------
20
21 LOCAL_C_INCLUDES += \
22 $(libvstr_PATH) \
23 $(strongswan_PATH)/src/include \
24 $(strongswan_PATH)/src/libstrongswan
25
26 LOCAL_CFLAGS := $(strongswan_CFLAGS)
27
28 LOCAL_MODULE := libhydra
29
30 LOCAL_ARM_MODE := arm
31
32 LOCAL_PRELINK_MODULE := false
33
34 LOCAL_SHARED_LIBRARIES += libstrongswan
35
36 include $(BUILD_SHARED_LIBRARY)
37