threaded test program built even with thread support disabled
authorKen Raeburn <raeburn@mit.edu>
Fri, 25 Mar 2005 21:28:30 +0000 (21:28 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 25 Mar 2005 21:28:30 +0000 (21:28 +0000)
* Makefile.in (all-unix): Use @THREAD_SUPPORT@ and helper targets to build
programs only if thread support is enabled.
(all-unix-0, all-unix-1): New helper targets.

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17152 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/gss-threads/ChangeLog
src/tests/gss-threads/Makefile.in

index 11e71b730e8ad6426170f93423a4c172c43a6f8f..5d6d0c7f936b98402c13bc25b8635a714ca7bba8 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-25  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (all-unix): Use @THREAD_SUPPORT@ and helper targets
+       to build programs only if thread support is enabled.
+       (all-unix-0, all-unix-1): New helper targets.
+
 2005-02-11  Ken Raeburn  <raeburn@mit.edu>
 
        * gss-misc.c: Include autoconf.h.  If both time.h and sys/time.h
index 1229081a32b22820af5875a13cd9c2a410150530..679397af50f3eae3852b9eed48ffd5ca8e93d3f5 100644 (file)
@@ -13,7 +13,9 @@ SRCS= $(srcdir)/gss-client.c $(srcdir)/gss-misc.c $(srcdir)/gss-server.c
 
 OBJS= gss-client.o gss-misc.o gss-server.o
 
-all-unix:: gss-server gss-client
+all-unix:: all-unix-@THREAD_SUPPORT@
+all-unix-1:: gss-server gss-client
+all-unix-0::
 all-windows:: $(OUTPRE)gss-server.exe $(OUTPRE)gss-client.exe
 
 gss-server: gss-server.o gss-misc.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS)