1BUILD_NEXUS := false 2ifeq ($(BUILD_NEXUS),true) 3 4LOCAL_PATH:= $(call my-dir) 5 6include $(CLEAR_VARS) 7 8LOCAL_SRC_FILES:= \ 9 main.cpp \ 10 NexusCommand.cpp \ 11 CommandListener.cpp \ 12 Property.cpp \ 13 PropertyManager.cpp \ 14 InterfaceConfig.cpp \ 15 NetworkManager.cpp \ 16 Controller.cpp \ 17 WifiController.cpp \ 18 TiwlanWifiController.cpp \ 19 TiwlanEventListener.cpp \ 20 WifiNetwork.cpp \ 21 WifiStatusPoller.cpp \ 22 ScanResult.cpp \ 23 Supplicant.cpp \ 24 SupplicantEvent.cpp \ 25 SupplicantListener.cpp \ 26 SupplicantState.cpp \ 27 SupplicantEventFactory.cpp \ 28 SupplicantConnectedEvent.cpp \ 29 SupplicantAssociatingEvent.cpp \ 30 SupplicantAssociatedEvent.cpp \ 31 SupplicantStateChangeEvent.cpp \ 32 SupplicantScanResultsEvent.cpp \ 33 SupplicantConnectionTimeoutEvent.cpp \ 34 SupplicantDisconnectedEvent.cpp \ 35 SupplicantStatus.cpp \ 36 OpenVpnController.cpp \ 37 VpnController.cpp \ 38 LoopController.cpp \ 39 DhcpClient.cpp DhcpListener.cpp \ 40 DhcpState.cpp DhcpEvent.cpp \ 41 42LOCAL_MODULE:= nexus 43 44LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../../frameworks/base/include/ 45 46LOCAL_CFLAGS := 47 48LOCAL_SHARED_LIBRARIES := libsysutils libwpa_client 49 50include $(BUILD_EXECUTABLE) 51 52include $(CLEAR_VARS) 53LOCAL_SRC_FILES:= \ 54 nexctl.c \ 55 56LOCAL_MODULE:= nexctl 57 58LOCAL_C_INCLUDES := $(KERNEL_HEADERS) 59 60LOCAL_CFLAGS := 61 62LOCAL_SHARED_LIBRARIES := libcutils 63 64include $(BUILD_EXECUTABLE) 65 66endif # ifeq ($(BUILD_NEXUS),true) 67