1ifeq ($(TARGET_ARCH),arm) 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6LOCAL_SRC_FILES:= \ 7 main.c \ 8 magic.c \ 9 fsm.c \ 10 lcp.c \ 11 ipcp.c \ 12 upap.c \ 13 chap-new.c \ 14 ccp.c \ 15 ecp.c \ 16 auth.c \ 17 options.c \ 18 sys-linux.c \ 19 chap_ms.c \ 20 demand.c \ 21 utils.c \ 22 tty.c \ 23 eap.c \ 24 chap-md5.c \ 25 pppcrypt.c \ 26 openssl-hash.c \ 27 pppox.c 28 29LOCAL_SHARED_LIBRARIES := \ 30 libcutils libcrypto 31 32LOCAL_C_INCLUDES := \ 33 $(LOCAL_PATH)/include 34 35LOCAL_CFLAGS := -DANDROID_CHANGES -DCHAPMS=1 -DMPPE=1 -Iexternal/openssl/include 36 37LOCAL_MODULE:= pppd 38 39include $(BUILD_EXECUTABLE) 40 41endif 42