From 3c2ea8d05af99846f23d0f9877ed016e83b64c49 Mon Sep 17 00:00:00 2001 From: dscho Date: Wed, 1 Mar 2006 11:51:16 +0000 Subject: [PATCH] if compiling with pthreads, also compile blooptest --- examples/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 $@ $< +