source: xplcommon/test/Makefile.am@ 33:0eefa89dec31

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

Implemented mutex with test program

File size: 1.1 KB
RevLine 
[4]1INCLUDES=-I$(top_srcdir)/src
2
[32]3noinst_PROGRAMS=testevent testlocsock testblkstream testmutex
[27]4if TARGET_API_POSIX
5noinst_PROGRAMS+=testrandom
6endif
[4]7
8testevent_SOURCES=testevent.cc
[20]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
[18]16
17testlocsock_SOURCES=testlocsock.cc
[20]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
[27]25
[29]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
[32]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
[27]44testrandom_SOURCES=testrandom.cc
45testrandom_LDADD=../src/xplcommon/libxplcommon.la
Note: See TracBrowser for help on using the repository browser.