CXXFLAGS = @ZT_CXXFLAGS@ @EXTRA_CXXFLAGS@
INCLUDES = -I$(top_srcdir)/include
SUBDIRS=.

EXTRA_DIST = \
POSIX_Monitor.h \
ConditionImpl.h \
MutexImpl.h \
SemaphoreImpl.h \
POSIX_ThreadImpl.h             WIN32_ThreadImpl.h \
POSIX_ThreadLocalImpl.h        WIN32_ThreadLocalImpl.h \
POSIX_ThreadManager.h          WIN32_ThreadManager.h \
StdAfx.h                       StdAfx.cxx \
State.h \
Synchronized.h \
ValueHolder.h \
Time.h \
config.h \
WIN32_Monitor.h \
WIN32_ThreadImpl.cxx \
WIN32_ThreadLocalImpl.cxx \
WIN32_ThreadManager.cxx

libdir=$(prefix)/lib

lib_LTLIBRARIES = libZThread.la

libZThread_la_LIBADD = @ZT_LDFLAGS@ @EXTRA_LDFLAGS@
libZThread_la_LDFLAGS = \
        -release $(LT_RELEASE)  \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)


LIBADD = @ZT_LDFLAGS@ @EXTRA_LDFLAGS@

libZThread_la_SOURCES = \
	AbstractThreadLocal.cxx \
	SynchronizationExceptions.cxx \
	Mutex.cxx MutexImpl.cxx RecursiveMutex.cxx \
	Semaphore.cxx SemaphoreImpl.cxx \
	Condition.cxx ConditionImpl.cxx \
	POSIX_FastRecursiveMutex.cc \
	Thread.cxx \
	POSIX_ThreadImpl.cc POSIX_ThreadLocalImpl.cc \
	POSIX_ThreadManager.cc \
	CountingSemaphore.cxx \
	RWLock.cxx \
	Time.cxx \
	Timer.cxx \
	State.cxx




