1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_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
29LOCAL_MODULE:= netd
30
31LOCAL_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
39LOCAL_CFLAGS := -Werror=format
40
41LOCAL_SHARED_LIBRARIES := libstlport libsysutils libcutils libnetutils \
42                          libcrypto libhardware_legacy libmdnssd libdl
43
44include $(BUILD_EXECUTABLE)
45
46include $(CLEAR_VARS)
47LOCAL_SRC_FILES:=          \
48                  ndc.c \
49
50LOCAL_MODULE:= ndc
51
52LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
53
54LOCAL_CFLAGS := 
55
56LOCAL_SHARED_LIBRARIES := libcutils
57
58include $(BUILD_EXECUTABLE)
59