head	1.9;
access;
symbols
	REL7_4_29:1.2
	REL8_0_25:1.8
	REL8_1_21:1.8
	REL7_4_28:1.2
	REL8_0_24:1.8
	REL8_1_20:1.8
	REL7_4_27:1.2
	REL8_0_23:1.8
	REL8_1_19:1.8
	REL7_4_26:1.2
	REL8_0_22:1.8
	REL8_1_18:1.8
	REL7_4_25:1.2
	REL8_0_21:1.8
	REL8_1_17:1.8
	REL7_4_24:1.2
	REL8_0_20:1.8
	REL8_1_16:1.8
	REL7_4_23:1.2
	REL8_0_19:1.8
	REL8_1_15:1.8
	REL7_4_22:1.2
	REL8_0_18:1.8
	REL8_1_14:1.8
	REL7_4_21:1.2
	REL8_0_17:1.8
	REL8_1_13:1.8
	REL7_4_20:1.2
	REL8_0_16:1.8
	REL8_1_12:1.8
	REL7_4_19:1.2
	REL8_0_15:1.8
	REL8_1_11:1.8
	REL7_4_18:1.2
	REL8_0_14:1.8
	REL8_1_10:1.8
	REL7_4_17:1.2
	REL8_0_13:1.8
	REL8_1_9:1.8
	REL8_0_12:1.8
	REL8_1_8:1.8
	REL7_4_16:1.2
	REL8_0_11:1.8
	REL8_1_7:1.8
	REL8_0_10:1.8
	REL8_1_6:1.8
	REL7_4_15:1.2
	REL8_1_5:1.8
	REL8_0_9:1.8
	REL7_4_14:1.2
	REL7_4_13:1.2
	REL8_0_8:1.8
	REL8_1_4:1.8
	REL7_4_12:1.2
	REL8_0_7:1.8
	REL8_1_3:1.8
	REL7_4_11:1.2
	REL8_0_6:1.8
	REL8_1_2:1.8
	REL7_4_10:1.2
	REL8_0_5:1.8
	REL8_1_1:1.8
	REL8_1_STABLE:1.8.0.6
	REL8_1_0:1.8
	REL8_1_0RC1:1.8
	REL8_1_0BETA4:1.8
	REL8_1_0BETA3:1.8
	REL7_4_9:1.2
	REL8_0_4:1.8
	REL8_1_0BETA2:1.8
	REL8_1_0BETA1:1.8
	REL7_4_8:1.2
	REL8_0_3:1.8
	REL8_0_2:1.8
	REL7_4_7:1.2
	REL8_0_1:1.8
	REL8_0_STABLE:1.8.0.4
	REL8_0_0:1.8.0.2
	REL8_0_0RC5:1.8
	REL8_0_0RC4:1.8
	REL8_0_0RC3:1.7
	REL8_0_0RC2:1.7
	REL8_0_0RC1:1.7
	REL8_0_0BETA5:1.7
	REL8_0_0BETA4:1.7
	REL7_4_6:1.2
	REL8_0_0BETA3:1.7
	REL8_0_0BETA2:1.7
	REL7_4_5:1.2
	REL7_4_4:1.2
	REL8_0_0BETA1:1.7
	REL7_4_3:1.2
	REL7_4_2:1.2
	REL7_4_1:1.2
	REL7_4:1.2
	REL7_4_RC2:1.2
	REL7_4_STABLE:1.2.0.2
	REL7_4_RC1:1.2
	REL7_4_BETA5:1.2
	REL7_4_BETA4:1.2;
locks; strict;
comment	@# @;


1.9
date	2006.02.04.01.00.02;	author momjian;	state dead;
branches;
next	1.8;

1.8
date	2005.01.01.20.44.34;	author tgl;	state Exp;
branches;
next	1.7;

1.7
date	2004.04.26.18.32.33;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.25.20.47.56;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.23.20.35.50;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	2004.04.23.18.15.55;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.29.19.52.14;	author pgsql;	state Exp;
branches;
next	1.2;

1.2
date	2003.09.27.16.24.45;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.27.15.32.48;	author momjian;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Move thread_test directory from /tools to /test so source-only tarballs
have the directory for the configure test.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for tools/thread
#
# Copyright (c) 2003-2005, PostgreSQL Global Development Group
#
# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.8 2005/01/01 20:44:34 tgl Exp $
#
#-------------------------------------------------------------------------

subdir = src/tools/thread
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

override CFLAGS += $(PTHREAD_CFLAGS)

all: thread_test

thread_test: thread_test.o
# no need for $LIBS, might not be compiled yet
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(PTHREAD_LIBS) -o $@@

clean distclean maintainer-clean:
	rm -f thread_test$(X) thread_test.o
@


1.8
log
@Some more missed copyright notices.  Many of these look like they
should have been caught by the src/tools/copyright script ... why
weren't they?
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.7 2004/04/26 18:32:33 momjian Exp $
@


1.7
log
@Fix subdir for thread test program.
@
text
@d5 1
a5 1
# Copyright (C) 2003 by PostgreSQL Global Development Team
d7 1
a7 1
# $PostgreSQL: pgsql-server/src/tools/thread/Makefile,v 1.6 2004/04/25 20:47:56 momjian Exp $
@


1.6
log
@No need to use our standard libs for the thread test --- they might not
be compiled yet.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/tools/thread/Makefile,v 1.5 2004/04/23 20:35:50 momjian Exp $
d11 1
a11 1
subdir = tools/thread
@


1.5
log
@Improve thread test program.  Test only functions that need testing.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/tools/thread/Makefile,v 1.4 2004/04/23 18:15:55 momjian Exp $
a16 2
LDFLAGS += $(PTHREAD_LIBS)

d20 2
a21 1
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@@
@


1.4
log
@Add new auto-detection of thread flags.

Allow additional thread flags to be added via port templates.

Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/tools/thread/Makefile,v 1.3 2003/11/29 19:52:14 pgsql Exp $
a13 7

ifeq ($(THREAD_SUPPORT), no)
$(error Your platform does not support threads)
endif
ifeq ($(THREAD_SUPPORT), )
$(error You have not configured your template/$$port file.  See the README)
endif
@


1.3
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
# $PostgreSQL: /cvsroot/pgsql-server/src/tools/thread/Makefile,v 1.2 2003/09/27 16:24:45 momjian Exp $
d22 1
a22 1
override CFLAGS += $(THREAD_CPPFLAGS)
d24 1
a24 1
LDFLAGS += $(THREAD_LIBS)
@


1.2
log
@Finalize configuration of thread_test program.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/tools/thread/Makefile,v 1.1 2003/09/27 15:32:48 momjian Exp $
@


1.1
log
@Rename thread compile flag.  Move thread test program to tools/thread,
and improve tests.
@
text
@d7 1
a7 1
# $Header: /cvsroot/pgsql-server/src/bin/thread/Makefile,v 1.20 2000/11/30 20:36:11 petere Exp $
d14 7
@

