From 64e7adb07b252ba4b6d6990bf6dad2105e072105 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 13 Feb 1998 05:10:06 +0000 Subject: From: Tom I Helbekkmo Apart from this Makefile hack, all I've done is to make dynamically loaded code modules fail properly (as was already done for __mips__, although I think this is too loose: I believe NetBSD for the pmax can do dynamic linking), and to add test-and-set lock handling. As Bruce suggested, this is done in a maximally efficient inlined way: I was not aware that this code was so important, speed-wise. --- src/interfaces/libpgtcl/Makefile.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/interfaces/libpgtcl') diff --git a/src/interfaces/libpgtcl/Makefile.in b/src/interfaces/libpgtcl/Makefile.in index 0552736518b..0905a8a7227 100644 --- a/src/interfaces/libpgtcl/Makefile.in +++ b/src/interfaces/libpgtcl/Makefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.2 1998/01/17 23:33:32 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.3 1998/02/13 05:09:57 scrappy Exp $ # #------------------------------------------------------------------------- @@ -42,10 +42,12 @@ ifeq ($(PORTNAME), linux) endif ifeq ($(PORTNAME), bsd) - install-shlib-dep := install-shlib - shlib := libpgtcl.so.1.0 - LDFLAGS_SL = -x -Bshareable -Bforcearchive - CFLAGS += $(CFLAGS_SL) + ifdef BSD_SHLIB + install-shlib-dep := install-shlib + shlib := libpgtcl.so.1.0 + LDFLAGS_SL = -x -Bshareable -Bforcearchive + CFLAGS += $(CFLAGS_SL) + endif endif ifeq ($(PORTNAME), i386_solaris) -- cgit v1.2.3