Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3985031

Browse files
committed
Remove no-longer-needed hack to add pgsleep.c to regress.so.
1 parenta7f8ae3 commit3985031

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

‎src/test/regress/GNUmakefile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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
5656
NAME = regress
5757
SO_MAJOR_VERSION= 0
5858
SO_MINOR_VERSION= 0
59-
OBJS = regress.o pgsleep.o
59+
OBJS = regress.o
6060
SHLIB_LINK =$(BE_DLLLIBS)
6161

6262
include$(top_srcdir)/src/Makefile.shlib
@@ -67,16 +67,6 @@ $(NAME)$(DLSUFFIX): $(shlib)
6767
rm -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

8272
file_list := copy create_function_1 create_function_2 misc constraints tablespace
@@ -174,7 +164,7 @@ bigcheck:
174164

175165
cleandistcleanmaintainer-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
179169
rm -f $(output_files) $(input_files) pg_regress
180170
# things created by various check targets

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp