source: xplcommon/test/Makefile.am@ 37:d5ecdd5c407d

Last change on this file since 37:d5ecdd5c407d was 35:f8a5b321d0c3, checked in by István Váradi <ivaradi@…>, 12 years ago

Added support for detached threads

File size: 1.5 KB
RevLine 
[4]1INCLUDES=-I$(top_srcdir)/src
2
[35]3noinst_PROGRAMS=testthread testevent testlocsock testblkstream testmutex testcondvar
[27]4if TARGET_API_POSIX
5noinst_PROGRAMS+=testrandom
6endif
[4]7
[35]8testthread_SOURCES=testthread.cc
9testthread_LDADD=../src/xplcommon/libxplcommon.la
10if TARGET_API_POSIX
11testthread_LDADD+=-lpthread
12endif
13if TARGET_API_WIN32
14testthread_LDFLAGS=-static-libgcc -static-libstdc++
15endif
16
[4]17testevent_SOURCES=testevent.cc
[20]18testevent_LDADD=../src/xplcommon/libxplcommon.la
19if TARGET_API_POSIX
20testevent_LDADD+=-lpthread
21endif
22if TARGET_API_WIN32
23testevent_LDFLAGS=-static-libgcc -static-libstdc++
24endif
[18]25
26testlocsock_SOURCES=testlocsock.cc
[20]27testlocsock_LDADD=../src/xplcommon/libxplcommon.la
28if TARGET_API_POSIX
29testlocsock_LDADD+=-lpthread
30endif
31if TARGET_API_WIN32
32testlocsock_LDFLAGS=-static-libgcc -static-libstdc++
33endif
[27]34
[29]35testblkstream_SOURCES=testblkstream.cc
36testblkstream_LDADD=../src/xplcommon/libxplcommon.la
37if TARGET_API_POSIX
38testblkstream_LDADD+=-lpthread
39endif
40if TARGET_API_WIN32
41testblkstream_LDFLAGS=-static-libgcc -static-libstdc++
42endif
43
[32]44testmutex_SOURCES=testmutex.cc
45testmutex_LDADD=../src/xplcommon/libxplcommon.la
46if TARGET_API_POSIX
47testmutex_LDADD+=-lpthread
48endif
49if TARGET_API_WIN32
50testmutex_LDFLAGS=-static-libgcc -static-libstdc++
51endif
52
[34]53testcondvar_SOURCES=testcondvar.cc
54testcondvar_LDADD=../src/xplcommon/libxplcommon.la
55if TARGET_API_POSIX
56testcondvar_LDADD+=-lpthread
57endif
58if TARGET_API_WIN32
59testcondvar_LDFLAGS=-static-libgcc -static-libstdc++
60endif
61
[27]62testrandom_SOURCES=testrandom.cc
63testrandom_LDADD=../src/xplcommon/libxplcommon.la
Note: See TracBrowser for help on using the repository browser.