
LOCAL_PATH:= $(call my-dir)

##### libMOTreeManager ########################################################

include $(CLEAR_VARS)

LOCAL_SRC_FILES :=								\
	MOTreeManager.cpp							\
	Node.cpp									\
	MOTreeManagerListenerCollection.cpp			\
	MOTreeManagerTransaction.cpp				\
	MOTreeManagerTransactionData.cpp			\
	TreeManagerUtils.cpp					\
	listeners/ServerPollingListener.cpp			\
	listeners/FUMORefUpdateListener.cpp			\
	listeners/SetServerPollerInfoCommand.cpp

LOCAL_C_INCLUDES += $(ALL_CINCLUDES)
LOCAL_CFLAGS += $(ALL_CFLAGS)

LOCAL_MODULE:= MOTreeManager
include $(BUILD_STATIC_LIBRARY)

##### libMOTreeCommands #######################################################

include $(CLEAR_VARS)

LOCAL_SRC_FILES :=								\
	commands/MOTreeCommand.cpp					\
	commands/ActionCommand.cpp					\
	commands/AlertCommand.cpp					\
	commands/AlertResponseCommand.cpp			\
	commands/MOTreeAddCommand.cpp				\
	commands/MOTreeAtomicCommand.cpp			\
	commands/MOTreeCopyCommand.cpp				\
	commands/MOTreeDeleteCommand.cpp			\
	commands/MOTreeExecCommand.cpp				\
	commands/MOTreeGetCommand.cpp				\
	commands/MOTreeGetCommandTest.cpp			\
	commands/MOTreeGetResponseCommand.cpp			\
	commands/MOTreeReplaceCommand.cpp			\
	commands/MOTreeResponseCommand.cpp			\
	commands/MOTreeSequenceCommand.cpp			\
	commands/ChangePasswordCommand.cpp			\
	commands/ChangePasswordByServerIDCommand.cpp	\
	commands/MOTreeItemisedCommand.cpp			\
	commands/ValidDMAccByServerIDCommand.cpp		\
	commands/ValidDMAccAvailableCommand.cpp	

LOCAL_C_INCLUDES += $(ALL_CINCLUDES)
LOCAL_CFLAGS += $(ALL_CFLAGS)

LOCAL_MODULE:= MOTreeCommands
include $(BUILD_STATIC_LIBRARY)

