blob: f9f7110867c5ae64543552293c24fcf2c0c4f053 [file] [log] [blame]
San Mehatdc266072009-05-06 11:16:52 -07001BUILD_NEXUS := false
2ifeq ($(BUILD_NEXUS),true)
3
4LOCAL_PATH:= $(call my-dir)
5
6include $(CLEAR_VARS)
7
San Mehat3aff2d12009-06-15 14:10:44 -07008LOCAL_SRC_FILES:= \
9 main.cpp \
San Mehatc4a895b2009-06-23 21:10:57 -070010 NexusCommand.cpp \
San Mehat3aff2d12009-06-15 14:10:44 -070011 CommandListener.cpp \
San Mehatc4a895b2009-06-23 21:10:57 -070012 Property.cpp \
13 PropertyManager.cpp \
14 InterfaceConfig.cpp \
15 NetworkManager.cpp \
San Mehat3aff2d12009-06-15 14:10:44 -070016 Controller.cpp \
17 WifiController.cpp \
San Mehat3aff2d12009-06-15 14:10:44 -070018 TiwlanWifiController.cpp \
San Mehatc4a895b2009-06-23 21:10:57 -070019 TiwlanEventListener.cpp \
20 WifiNetwork.cpp \
21 WifiStatusPoller.cpp \
22 ScanResult.cpp \
San Mehat3aff2d12009-06-15 14:10:44 -070023 Supplicant.cpp \
24 SupplicantEvent.cpp \
25 SupplicantListener.cpp \
San Mehat3aff2d12009-06-15 14:10:44 -070026 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 \
San Mehat891cb2c2009-06-16 10:51:39 -070035 SupplicantStatus.cpp \
San Mehatc4a895b2009-06-23 21:10:57 -070036 OpenVpnController.cpp \
37 VpnController.cpp \
38 LoopController.cpp \
San Mehat54962e02009-06-22 10:37:54 -070039 DhcpClient.cpp DhcpListener.cpp \
San Mehatc4a895b2009-06-23 21:10:57 -070040 DhcpState.cpp DhcpEvent.cpp \
San Mehatdc266072009-05-06 11:16:52 -070041
42LOCAL_MODULE:= nexus
43
San Mehat3c5a6f02009-05-22 15:36:13 -070044LOCAL_C_INCLUDES := $(KERNEL_HEADERS) -I../../../frameworks/base/include/
San Mehatdc266072009-05-06 11:16:52 -070045
46LOCAL_CFLAGS :=
47
San Mehat37629252009-06-01 08:38:16 -070048LOCAL_SHARED_LIBRARIES := libsysutils libwpa_client
San Mehatdc266072009-05-06 11:16:52 -070049
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
San Mehat37629252009-06-01 08:38:16 -070062LOCAL_SHARED_LIBRARIES := libcutils
San Mehatdc266072009-05-06 11:16:52 -070063
64include $(BUILD_EXECUTABLE)
65
66endif # ifeq ($(BUILD_NEXUS),true)