2009-05-07 02:16:52 +08:00
|
|
|
BUILD_NEXUS := false
|
|
|
|
ifeq ($(BUILD_NEXUS),true)
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
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 \
|
2009-05-08 02:37:10 +08:00
|
|
|
WifiScanner.cpp \
|
2009-05-13 08:26:28 +08:00
|
|
|
WifiNetwork.cpp \
|
2009-05-14 02:54:16 +08:00
|
|
|
OpenVpnController.cpp \
|
2009-05-23 04:58:06 +08:00
|
|
|
InterfaceConfig.cpp \
|
2009-05-23 06:36:13 +08:00
|
|
|
PropertyManager.cpp \
|
|
|
|
SupplicantState.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)
|