
LOCAL_PATH := $(call my-dir)

##### libCommon ###############################################################
include $(CLEAR_VARS)

LOCAL_SRC_FILES :=				\
	posix/CritSection.cpp		\
	posix/DynamicLoader.cpp		\
	posix/Event.cpp				\
	posix/FileSystemUtils.cpp	\
	posix/FInStream.cpp			\
	android/FOutStream.cpp		\
	posix/TimeLog.cpp			\
	android/Timer.cpp			\
	Buffer.cpp					\
	CurlDownloader.cpp			\
	Downloader.cpp				\
	hash.cpp					\
	IConfigurationParser.cpp	\
	Starter.cpp					\
	SyncCall.cpp				\
	TimeStamp.cpp				\
	Utils.cpp					\
	WBXMLUtils.cpp				\
	XMLConfigurationParser.cpp

LOCAL_C_INCLUDES += $(ALL_CINCLUDES)
LOCAL_CFLAGS += $(ALL_CFLAGS)
LOCAL_LDLIBS := -llog

LOCAL_MODULE := Common

include $(BUILD_STATIC_LIBRARY)


##### libFifoWrapper ##########################################################
include $(CLEAR_VARS)

LOCAL_SRC_FILES :=				\
	posix/FIFOWrapper.cpp

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

LOCAL_MODULE := FifoWrapper

include $(BUILD_STATIC_LIBRARY)

