source: xplcommon/test/Makefile.am@ 32:4bef4944955f

Last change on this file since 32:4bef4944955f was 32:4bef4944955f, checked in by István Váradi <ivaradi@…>, 12 years ago

Implemented mutex with test program

File size: 1.1 KB
Line 
1INCLUDES=-I$(top_srcdir)/src
2
3noinst_PROGRAMS=testevent testlocsock testblkstream testmutex
4if TARGET_API_POSIX
5noinst_PROGRAMS+=testrandom
6endif
7
8testevent_SOURCES=testevent.cc
9testevent_LDADD=../src/xplcommon/libxplcommon.la
10if TARGET_API_POSIX
11testevent_LDADD+=-lpthread
12endif
13if TARGET_API_WIN32
14testevent_LDFLAGS=-static-libgcc -static-libstdc++
15endif
16
17testlocsock_SOURCES=testlocsock.cc
18testlocsock_LDADD=../src/xplcommon/libxplcommon.la
19if TARGET_API_POSIX
20testlocsock_LDADD+=-lpthread
21endif
22if TARGET_API_WIN32
23testlocsock_LDFLAGS=-static-libgcc -static-libstdc++
24endif
25
26testblkstream_SOURCES=testblkstream.cc
27testblkstream_LDADD=../src/xplcommon/libxplcommon.la
28if TARGET_API_POSIX
29testblkstream_LDADD+=-lpthread
30endif
31if TARGET_API_WIN32
32testblkstream_LDFLAGS=-static-libgcc -static-libstdc++
33endif
34
35testmutex_SOURCES=testmutex.cc
36testmutex_LDADD=../src/xplcommon/libxplcommon.la
37if TARGET_API_POSIX
38testmutex_LDADD+=-lpthread
39endif
40if TARGET_API_WIN32
41testmutex_LDFLAGS=-static-libgcc -static-libstdc++
42endif
43
44testrandom_SOURCES=testrandom.cc
45testrandom_LDADD=../src/xplcommon/libxplcommon.la
Note: See TracBrowser for help on using the repository browser.