66# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77# Portions Copyright (c) 1994, Regents of the University of California
88#
9- # $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.51 2005/07/25 00:58:27 tgl Exp $
9+ # $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.52 2005/07/28 04:32:32 tgl Exp $
1010#
1111# -------------------------------------------------------------------------
1212
@@ -56,7 +56,7 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
5656NAME = regress
5757SO_MAJOR_VERSION = 0
5858SO_MINOR_VERSION = 0
59- OBJS = regress.o pgsleep.o
59+ OBJS = regress.o
6060SHLIB_LINK =$(BE_DLLLIBS )
6161
6262include $(top_srcdir ) /src/Makefile.shlib
@@ -67,16 +67,6 @@ $(NAME)$(DLSUFFIX): $(shlib)
6767rm -f$(NAME )$(DLSUFFIX )
6868$(LN_S ) $(shlib ) $(NAME )$(DLSUFFIX )
6969
70- # regress.so needs pg_usleep, which on some platforms can't be linked
71- # from the main backend (though I'd sure like to know why not).
72- # We can't incorporate libpgport directly either, since it's not built
73- # with appropriate options to build a shared lib. Instead,
74- # symlink the source file in here and build our own object file.
75-
76- pgsleep.c :% :$(top_srcdir ) /src/port/%
77- rm -f$@ && $(LN_S ) $< .
78-
79-
8070# Build test input and expected files
8171
8272file_list := copy create_function_1 create_function_2 misc constraints tablespace
@@ -174,7 +164,7 @@ bigcheck:
174164
175165clean distclean maintainer-clean : clean-lib
176166# things built by `all' target
177- rm -f $(NAME)$(DLSUFFIX) $(OBJS) pgsleep.c
167+ rm -f $(NAME)$(DLSUFFIX) $(OBJS)
178168$(MAKE) -C $(contribdir)/spi clean
179169rm -f $(output_files) $(input_files) pg_regress
180170# things created by various check targets