INCLUDEPATH	= include
win32-borland:INCLUDEPATH += $(BCB)/include $(BCB)/include/vcl
DEFINES         = REENTRANT ZTHREAD_STATIC NDEBUG
win32:DEFINES   += _WIN32 _LIB WIN32 DISABLE_IO_INTERRUPT
unix:DEFINES    += _POSIX
unix:TMAKE_CXXFLAGS = -fexceptions
unix:LIBS       = -lpthread
TEMPLATE	= lib
DESTDIR         = lib
win32-msvc:TMAKE_CXXFLAGS +=/EHsc
win32-borland:TMAKE_CXXFLAGS += -P -xp -WM
CONFIG          = warn_off release staticlib
VERSION         = 2.2.3


# Input

SOURCES =  \
		src/AbstractThreadLocal.cxx \
		src/Condition.cxx \
		src/CountingSemaphore.cxx \
		src/FastMutex.cxx \
		src/FastRecursiveMutex.cxx \
		src/Monitor.cxx \
		src/Mutex.cxx \
		src/PriorityCondition.cxx \
		src/PriorityInheritanceMutex.cxx \
		src/PriorityMutex.cxx \
		src/PrioritySemaphore.cxx \
		src/RecursiveMutex.cxx \
		src/RecursiveMutexImpl.cxx \
		src/Semaphore.cxx \
		src/Thread.cxx \
		src/ThreadImpl.cxx \
		src/ThreadLocalMap.cxx \
		src/ThreadOps.cxx \
		src/Time.cxx

HEADERS =  \
		src/ConditionImpl.h \
		src/config.h \
		src/Debug.h \
		src/DeferredInterruptionScope.h \
		src/FastLock.h \
		src/FastRecursiveLock.h \
		src/Holder.h \
		src/Monitor.h \
		src/MutexImpl.h \
		src/RecursiveMutexImpl.h \
		src/Scheduling.h \
		src/SemaphoreImpl.h \
		src/State.h \
		src/Status.h \
		src/ThreadFactory.h \
		src/ThreadImpl.h \
		src/ThreadLocalMap.h \
		src/ThreadOps.h \
		src/ThreadQueue.h \
		src/TimeStrategy.h \
		src/TSS.h \
		include/zthread/AbstractExecutor.h \
		include/zthread/AbstractThreadLocal.h \
		include/zthread/AsyncExecutor.h \
		include/zthread/Barrier.h \
		include/zthread/BiasedRWLock.h \
		include/zthread/BlockingQueue.h \
		include/zthread/BufferedQueue.h \
		include/zthread/Cancelable.h \
		include/zthread/CheckedMutex.h \
		include/zthread/Condition.h \
		include/zthread/CountingSemaphore.h \
		include/zthread/Executor.h \
		include/zthread/Factory.h \
		include/zthread/FairRWLock.h \
		include/zthread/FastMutex.h \
		include/zthread/FastRecursiveMutex.h \
		include/zthread/FastThreadLocal.h \
		include/zthread/Guard.h \
		include/zthread/InheritableThreadLocal.h \
		include/zthread/IntrusivePtr.h \
		include/zthread/Latch.h \
		include/zthread/Lockable.h \
		include/zthread/LockedQueue.h \
		include/zthread/MonitoredQueue.h \
		include/zthread/Mutex.h \
		include/zthread/NullMutex.h \
		include/zthread/Observable.h \
		include/zthread/PoolExecutor.h \
		include/zthread/Queue.h \
		include/zthread/RecursiveMutex.h \
		include/zthread/RWLock.h \
		include/zthread/Semaphore.h \
		include/zthread/SharedInstance.h \
		include/zthread/SimpleQueue.h \
		include/zthread/Singleton.h \
		include/zthread/SmartPtr.h \
		include/zthread/SyncExecutor.h \
		include/zthread/SynchronizationExceptions.h \
		src/Synchronized.h \
		include/zthread/Thread.h \
		include/zthread/ThreadLocal.h \
		include/zthread/Timer.h \
		include/zthread/TimerThread.h \
		include/zthread/Worker.h \
		include/zthread/ZThread.h

