Skip to content

Commit 1232878

Browse files
committed
s_lock_test requires libpgport to build now.
1 parent f0cc132 commit 1232878

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/backend/storage/lmgr/Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for storage/lmgr
55
#
66
# IDENTIFICATION
7-
# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.18 2003/11/29 19:51:56 pgsql Exp $
7+
# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.19 2004/06/19 19:43:11 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -19,14 +19,17 @@ all: SUBSYS.o
1919
SUBSYS.o: $(OBJS)
2020
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
2121

22-
s_lock_test: s_lock.c
23-
$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c -o s_lock_test
22+
s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
23+
$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c \
24+
-L $(top_builddir)/src/port -lpgport -o s_lock_test
25+
26+
check: s_lock_test
2427
./s_lock_test
2528

2629
depend dep:
2730
$(CC) -MM $(CFLAGS) *.c >depend
2831

29-
clean:
32+
clean distclean maintainer-clean:
3033
rm -f SUBSYS.o $(OBJS) s_lock_test
3134

3235
ifeq (depend,$(wildcard depend))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy