1 # 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 17 ifneq ($(TARGET_SIMULATOR),true) 18 19 LOCAL_PATH := $(call my-dir) 20 include $(CLEAR_VARS) 21 22 LOCAL_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 52 LOCAL_C_INCLUDES += \ 53 $(LOCAL_PATH) \ 54 $(LOCAL_PATH)/src/include-glibc \ 55 $(LOCAL_PATH)/src/libipsec \ 56 $(LOCAL_PATH)/src/racoon \ 57 $(LOCAL_PATH)/src/racoon/missing \ 58 external/openssl/include \ 59 frameworks/base/cmds/keystore 60 61 LOCAL_SHARED_LIBRARIES := libcutils libcrypto 62 63 LOCAL_CFLAGS := -DANDROID_CHANGES -DHAVE_CONFIG_H 64 65 LOCAL_MODULE := racoon 66 67 include $(BUILD_EXECUTABLE) 68 69 endif 70