1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES:= \ 6 BandwidthController.cpp \ 7 CommandListener.cpp \ 8 DnsProxyListener.cpp \ 9 FirewallController.cpp \ 10 IdletimerController.cpp \ 11 InterfaceController.cpp \ 12 MDnsSdListener.cpp \ 13 NatController.cpp \ 14 NetdCommand.cpp \ 15 NetdConstants.cpp \ 16 NetlinkHandler.cpp \ 17 NetlinkManager.cpp \ 18 PppController.cpp \ 19 ResolverController.cpp \ 20 SecondaryTableController.cpp \ 21 SoftapController.cpp \ 22 TetherController.cpp \ 23 ThrottleController.cpp \ 24 oem_iptables_hook.cpp \ 25 logwrapper.c \ 26 main.cpp \ 27 28 29 LOCAL_MODULE:= netd 30 31 LOCAL_C_INCLUDES := $(KERNEL_HEADERS) \ 32 external/mdnsresponder/mDNSShared \ 33 external/openssl/include \ 34 external/stlport/stlport \ 35 bionic \ 36 bionic/libc/private \ 37 $(call include-path-for, libhardware_legacy)/hardware_legacy 38 39 LOCAL_CFLAGS := -Werror=format 40 41 LOCAL_SHARED_LIBRARIES := libstlport libsysutils libcutils libnetutils \ 42 libcrypto libhardware_legacy libmdnssd libdl 43 44 include $(BUILD_EXECUTABLE) 45 46 include $(CLEAR_VARS) 47 LOCAL_SRC_FILES:= \ 48 ndc.c \ 49 50 LOCAL_MODULE:= ndc 51 52 LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 53 54 LOCAL_CFLAGS := 55 56 LOCAL_SHARED_LIBRARIES := libcutils 57 58 include $(BUILD_EXECUTABLE) 59