blob: 7d12e0c3d1d12afc1d0edefb6fb5b1d871bb72fb [file] [log] [blame]
Chia-chi Yeh458fe1e2009-06-26 14:36:17 +08001#
2# Copyright (C) 2009 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifneq ($(TARGET_SIMULATOR),true)
18
19LOCAL_PATH := $(call my-dir)
20include $(CLEAR_VARS)
21
22LOCAL_SRC_FILES := \
23 src/libipsec/pfkey.c \
24 src/libipsec/ipsec_strerror.c \
25 src/racoon/isakmp.c \
26 src/racoon/isakmp_agg.c \
27 src/racoon/isakmp_base.c \
28 src/racoon/isakmp_frag.c \
29 src/racoon/isakmp_ident.c \
30 src/racoon/isakmp_inf.c \
31 src/racoon/isakmp_newg.c \
32 src/racoon/isakmp_quick.c \
33 src/racoon/handler.c \
34 src/racoon/pfkey.c \
35 src/racoon/ipsec_doi.c \
36 src/racoon/oakley.c \
37 src/racoon/vendorid.c \
38 src/racoon/policy.c \
39 src/racoon/crypto_openssl.c \
40 src/racoon/algorithm.c \
41 src/racoon/proposal.c \
42 src/racoon/strnames.c \
43 src/racoon/schedule.c \
44 src/racoon/str2val.c \
45 src/racoon/genlist.c \
46 src/racoon/vmbuf.c \
47 src/racoon/sockmisc.c \
48 src/racoon/nattraversal.c \
49 main.c \
50 setup.c
51
52LOCAL_C_INCLUDES += \
53 $(LOCAL_PATH) \
54 $(LOCAL_PATH)/src/include-glibc \
55 $(LOCAL_PATH)/src/libipsec \
56 $(LOCAL_PATH)/src/racoon \
Chia-chi Yehb880c662009-07-06 14:29:18 +080057 $(LOCAL_PATH)/src/racoon/missing \
58 external/openssl/include \
59 frameworks/base/cmds/keystore
Chia-chi Yeh458fe1e2009-06-26 14:36:17 +080060
61LOCAL_SHARED_LIBRARIES := libcutils libcrypto
62
Chia-chi Yehb880c662009-07-06 14:29:18 +080063LOCAL_CFLAGS := -DANDROID_CHANGES -DHAVE_CONFIG_H
Chia-chi Yeh458fe1e2009-06-26 14:36:17 +080064
65LOCAL_MODULE := racoon
66
67include $(BUILD_EXECUTABLE)
68
69endif