2009-05-07 02:16:52 +08:00
|
|
|
BUILD_NEXUS := false
|
|
|
|
ifeq ($(BUILD_NEXUS),true)
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2009-06-16 05:10:44 +08:00
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
main.cpp \
|
|
|
|
NetworkManager.cpp \
|
|
|
|
CommandListener.cpp \
|
|
|
|
Controller.cpp \
|
|
|
|
WifiController.cpp \
|
|
|
|
LoopController.cpp \
|
|
|
|
NexusCommand.cpp \
|
|
|
|
TiwlanWifiController.cpp \
|
|
|
|
Supplicant.cpp \
|
|
|
|
SupplicantEvent.cpp \
|
|
|
|
SupplicantListener.cpp \
|
|
|
|
VpnController.cpp \
|
|
|
|
ScanResult.cpp \
|
|
|
|
WifiScanner.cpp \
|
|
|
|
WifiNetwork.cpp \
|
|
|
|
OpenVpnController.cpp \
|
|
|
|
InterfaceConfig.cpp \
|
|
|
|
PropertyManager.cpp \
|
|
|
|
SupplicantState.cpp \
|
|
|
|
SupplicantEventFactory.cpp \
|
|
|
|
SupplicantConnectedEvent.cpp \
|
|
|
|
SupplicantAssociatingEvent.cpp \
|
|
|
|
SupplicantAssociatedEvent.cpp \
|
|
|
|
SupplicantStateChangeEvent.cpp \
|
|
|
|
SupplicantScanResultsEvent.cpp \
|
|
|
|
SupplicantConnectionTimeoutEvent.cpp \
|
|
|
|
SupplicantDisconnectedEvent.cpp \
|
2009-06-17 01:51:39 +08:00
|
|
|
SupplicantStatus.cpp \
|
|
|
|
TiwlanEventListener.cpp
|
2009-05-07 02:16:52 +08:00
|
|
|
|
|
|
|
LOCAL_MODULE:= nexus
|
|
|
|
|
2009-05-23 06:36:13 +08:00
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../../frameworks/base/include/
|
2009-05-07 02:16:52 +08:00
|
|
|
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
|
2009-06-01 23:38:16 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := libsysutils libwpa_client
|
2009-05-07 02:16:52 +08:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
nexctl.c \
|
|
|
|
|
|
|
|
LOCAL_MODULE:= nexctl
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := $(KERNEL_HEADERS)
|
|
|
|
|
|
|
|
LOCAL_CFLAGS :=
|
|
|
|
|
2009-06-01 23:38:16 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils
|
2009-05-07 02:16:52 +08:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
|
|
|
|
endif # ifeq ($(BUILD_NEXUS),true)
|