Android.mk revision 4da10dd08f12002c3821c5d4ceba302daae33e03
1d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_PATH:= $(call my-dir)
2d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
3d18304287dbabc7835be771400b85d4ae8b63de6San Mehatinclude $(CLEAR_VARS)
4d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
5d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_SRC_FILES:=                                      \
64a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  BandwidthController.cpp              \
75af38c360587ca2eef0badf6137ccf018f8cd4aaDmitry Shmidt                  CommandListener.cpp                  \
8007e987fee7e815e0c4bc820f434a632b7a69a9dBrad Fitzpatrick                  DnsProxyListener.cpp                 \
94a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  NatController.cpp                    \
10d18304287dbabc7835be771400b85d4ae8b63de6San Mehat                  NetdCommand.cpp                      \
11d18304287dbabc7835be771400b85d4ae8b63de6San Mehat                  NetlinkHandler.cpp                   \
124a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  NetlinkManager.cpp                   \
135af38c360587ca2eef0badf6137ccf018f8cd4aaDmitry Shmidt                  PanController.cpp                    \
144a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  PppController.cpp                    \
153c8cc74f81d0f81204bd827076889bb51143dff8Robert Greenwalt                  ResolverController.cpp               \
16fc97b82e02979f246d56a4bfd60e4aab8686d3f6Robert Greenwalt                  SecondaryTableController.cpp         \
173e6ba3ce1abda6071d5b01f53ca6039bb7b5e2d3Robert Greenwalt                  SoftapController.cpp                 \
184a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  TetherController.cpp                 \
194a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  ThrottleController.cpp               \
204a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  logwrapper.c                         \
214a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                  main.cpp                             \
224a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall
234a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall
24d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_MODULE:= netd
25d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
26a2d7e3e7d6e3f163f06e522378c6e2bd5cee28f8Kenny RootLOCAL_C_INCLUDES := $(KERNEL_HEADERS) \
271bdac9e98c1ef37ba568b6cf23bfbc09cfe6bf15San Mehat                    $(LOCAL_PATH)/../bluetooth/bluedroid/include \
28a2d7e3e7d6e3f163f06e522378c6e2bd5cee28f8Kenny Root                    $(LOCAL_PATH)/../bluetooth/bluez-clean-headers \
294a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                    external/openssl/include \
304a5f5ca3c9e07fc3e6feca2afde07f41a8a64f11JP Abgrall                    external/stlport/stlport \
31fe15b63d9def3721bb0ee4d2fa36c6f4d0daf8aaDmitry Shmidt                    bionic \
324da10dd08f12002c3821c5d4ceba302daae33e03David 'Digit' Turner                    bionic/libc/private \
33fe15b63d9def3721bb0ee4d2fa36c6f4d0daf8aaDmitry Shmidt                    $(call include-path-for, libhardware_legacy)/hardware_legacy
34d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
35a2d7e3e7d6e3f163f06e522378c6e2bd5cee28f8Kenny RootLOCAL_CFLAGS :=
3631fd6c5f3e9c39a13b028718dba5921a4300988cDmitry Shmidt
37fe15b63d9def3721bb0ee4d2fa36c6f4d0daf8aaDmitry ShmidtLOCAL_SHARED_LIBRARIES := libstlport libsysutils libcutils libnetutils \
38fe15b63d9def3721bb0ee4d2fa36c6f4d0daf8aaDmitry Shmidt                          libcrypto libhardware_legacy
39d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
40389f8d1550880f3bc67ade3e93f2ddb767e64092Dmitry Shmidtifneq ($(BOARD_HOSTAPD_DRIVER),)
41389f8d1550880f3bc67ade3e93f2ddb767e64092Dmitry Shmidt  LOCAL_CFLAGS += -DHAVE_HOSTAPD
42389f8d1550880f3bc67ade3e93f2ddb767e64092Dmitry Shmidtendif
43389f8d1550880f3bc67ade3e93f2ddb767e64092Dmitry Shmidt
44f1c368a83b738658d27720898b433bbc010123baSan Mehatifeq ($(BOARD_HAVE_BLUETOOTH),true)
450399710d9a7ee575104e7d76dc988afb7829ccb9San Mehat  LOCAL_SHARED_LIBRARIES := $(LOCAL_SHARED_LIBRARIES) libbluedroid
460399710d9a7ee575104e7d76dc988afb7829ccb9San Mehat  LOCAL_CFLAGS := $(LOCAL_CFLAGS) -DHAVE_BLUETOOTH
470399710d9a7ee575104e7d76dc988afb7829ccb9San Mehatendif
48d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
49d18304287dbabc7835be771400b85d4ae8b63de6San Mehatinclude $(BUILD_EXECUTABLE)
50d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
51d18304287dbabc7835be771400b85d4ae8b63de6San Mehatinclude $(CLEAR_VARS)
52d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_SRC_FILES:=          \
53d18304287dbabc7835be771400b85d4ae8b63de6San Mehat                  ndc.c \
54d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
55d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_MODULE:= ndc
56d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
57d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_C_INCLUDES := $(KERNEL_HEADERS)
58d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
59d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_CFLAGS := 
60d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
61d18304287dbabc7835be771400b85d4ae8b63de6San MehatLOCAL_SHARED_LIBRARIES := libcutils
62d18304287dbabc7835be771400b85d4ae8b63de6San Mehat
63d18304287dbabc7835be771400b85d4ae8b63de6San Mehatinclude $(BUILD_EXECUTABLE)
64