1 ifeq ($(TARGET_ARCH),arm) 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_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 29 LOCAL_SHARED_LIBRARIES := \ 30 libcutils libcrypto 31 32 LOCAL_C_INCLUDES := \ 33 $(LOCAL_PATH)/include 34 35 LOCAL_CFLAGS := -DANDROID_CHANGES -DCHAPMS=1 -DMPPE=1 -Iexternal/openssl/include 36 37 LOCAL_MODULE:= pppd 38 39 include $(BUILD_EXECUTABLE) 40 41 endif 42