From: Christian P. <cp...@us...> - 2005-04-23 12:00:14
|
Update of /cvsroot/pclasses/pclasses2/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9938/src Modified Files: Makefile.am Log Message: Added configure check for native atomic integers Index: Makefile.am =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/Makefile.am,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile.am 7 Feb 2005 18:45:15 -0000 1.7 +++ Makefile.am 23 Apr 2005 12:00:06 -0000 1.8 @@ -7,10 +7,31 @@ CPPFLAGS = -DPCORE_BUILD +if WITH_POSIX_THREADS +Thread_Sources = AtomicMutex.posix.cpp +endif + +if WITH_SOLARIS_THREADS +Thread_Sources = AtomicMutex.solaris.cpp +endif + +if WITH_WIN32_THREADS +Thread_Sources = AtomicMutex.win32.cpp +endif + +if WITH_GCC_X86_ATOMIC_INT +Atomic_Sources = AtomicInt.gcc-x86.cpp +endif + +if WITH_WIN32_ATOMIC_INT +Atomic_Sources = AtomicInc.win32.cpp +endif + libpclasses_la_LDFLAGS = -no-undefined -libpclasses_la_SOURCES = Alloc.cpp Exception.cpp AtomicInt.gcc-x86.cpp \ +libpclasses_la_SOURCES = Alloc.cpp Exception.cpp \ ByteOrderTraits.cpp LinkedItem.cpp Time.cpp Date.cpp DateTime.cpp \ - TimeSpan.cpp Trace.cpp Callback.cpp + TimeSpan.cpp Trace.cpp Callback.cpp \ + $(Thread_Sources) $(Atomic_Sources) SUBDIRS = . Unicode IO System Net Util XML App |