Commit 12328781 authored by Tom Lane's avatar Tom Lane

s_lock_test requires libpgport to build now.

parent f0cc1326
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for storage/lmgr # Makefile for storage/lmgr
# #
# IDENTIFICATION # IDENTIFICATION
# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.18 2003/11/29 19:51:56 pgsql Exp $ # $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.19 2004/06/19 19:43:11 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -19,14 +19,17 @@ all: SUBSYS.o ...@@ -19,14 +19,17 @@ all: SUBSYS.o
SUBSYS.o: $(OBJS) SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS) $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
s_lock_test: s_lock.c s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c -o s_lock_test $(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c \
-L $(top_builddir)/src/port -lpgport -o s_lock_test
check: s_lock_test
./s_lock_test ./s_lock_test
depend dep: depend dep:
$(CC) -MM $(CFLAGS) *.c >depend $(CC) -MM $(CFLAGS) *.c >depend
clean: clean distclean maintainer-clean:
rm -f SUBSYS.o $(OBJS) s_lock_test rm -f SUBSYS.o $(OBJS) s_lock_test
ifeq (depend,$(wildcard depend)) ifeq (depend,$(wildcard depend))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment