This trivial patch allows "make -C src/backend/storage/lmgr/
s_lock_test" to succeed in vpath builds.

Barring any objections I intend to apply this within 24 hours.

-Neil

Index: src/backend/storage/lmgr/Makefile
===================================================================
RCS file: /home/neilc/private-cvsroot/pgsql-server/src/backend/storage/lmgr/Makefile,v
retrieving revision 1.19
diff -c -r1.19 Makefile
*** src/backend/storage/lmgr/Makefile	19 Jun 2004 19:43:11 -0000	1.19
--- src/backend/storage/lmgr/Makefile	6 Oct 2004 04:35:08 -0000
***************
*** 20,26 ****
  	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
  
  s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
! 	$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c \
  		-L $(top_builddir)/src/port -lpgport -o s_lock_test
  
  check: s_lock_test
--- 20,26 ----
  	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
  
  s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
! 	$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 $(srcdir)/s_lock.c \
  		-L $(top_builddir)/src/port -lpgport -o s_lock_test
  
  check: s_lock_test
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to