index 51e5fdbb5d3ec2c23f4c95c6915d6a1ed3ffa5e6..79b4e2a02e8d0c61abc3af59e949cceec74d19aa 100644 (file)
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.3.2.1 1998年11月12日 05:25:03 tgl Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.3.2.2 1998年11月30日 00:31:19 tgl Exp $
#
#-------------------------------------------------------------------------
endif
$(RANLIB) $@
+ifneq ($(shlib),)
$(shlib): $(OBJS)
$(LD) $(LDFLAGS_SL) -o $@ $(OBJS) $(SHLIB_LINK)
+endif
# Rules to install regular and shared libraries
index 66a9748669f39a7331cab12dc54c42193fd88812..465bc28001237fa876ee630179c7c9b0b5063044 100644 (file)
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.13 1998年07月26日 04:31:20 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/psql/Attic/Makefile.in,v 1.13.2.1 1998年11月30日 00:31:20 tgl Exp $
#
#-------------------------------------------------------------------------
CFLAGS+= $(MBFLAGS)
endif
-OBJS= psql.o stringutils.o @STRDUP@
+OBJS= psql.o stringutils.o @STRDUP@ @STRERROR2@
all: submake psql
index f08580cfafc2201a5927ca00bf69a037e8a511fb..e9c0ec29d44f30cfa44f29ab99916377df7c6d6d 100644 (file)
#define USE_POSIX_TIME
+#define HAS_TEST_AND_SET
+typedef unsigned char slock_t;
+
+/* sprintf() returns char *, not int, on SunOS 4.1.x */
+#define SPRINTF_CHAR
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
index e6f169065fb599ffddb775ab7a8682f778464db1..de36c6ffb5623a5ab097aae1b93ed2b167e77f29 100644 (file)
#endif
/* for old systems with bcopy() but no memmove() */
-#if !defined(HAVE_MEMMOVE)
+#if !defined(HAVE_MEMMOVE) && !defined(memmove)
#define memmove(d, s, c) bcopy(s, d, c)
#endif