summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordscho <dscho>2006-03-01 11:51:16 +0000
committerdscho <dscho>2006-03-01 11:51:16 +0000
commit3c2ea8d05af99846f23d0f9877ed016e83b64c49 (patch)
treeaa80172fb5e63285f03ec7e3d5d105492c263ecc /examples
parent0d40904d9f1556540f676bb662db2c1e9d120f7e (diff)
downloadlibtdevnc-3c2ea8d05af99846f23d0f9877ed016e83b64c49.tar.gz
libtdevnc-3c2ea8d05af99846f23d0f9877ed016e83b64c49.zip
if compiling with pthreads, also compile blooptest
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index b936e77..a77fa15 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -10,10 +10,18 @@ if WITH_TIGHTVNC_FILETRANSFER
FILETRANSFER=filetransfer
endif
+if HAVE_LIBPTHREAD
+BLOOPTEST=blooptest
+endif
+
noinst_HEADERS=radon.h
noinst_PROGRAMS=example pnmshow regiontest pnmshow24 fontsel \
vncev storepasswd colourmaptest simple simple15 $(MAC) \
- $(FILETRANSFER) backchannel
+ $(FILETRANSFER) backchannel $(BLOOPTEST)
+
+blooptest.o: example.c
+ $(CC) $(AM_CFLAGS) $(CFLAGS) -c -o $@ $<
+