From: Peter Eisentraut Date: Wed, 14 Mar 2001 21:16:57 +0000 (+0000) Subject: A much better version of this is now in backend/port/aix. X-Git-Tag: REL7_1~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=609fee47179aa4c8f7c93e7829658f114ceadd25;p=postgresql A much better version of this is now in backend/port/aix. --- diff --git a/src/tools/mkldexport/Makefile b/src/tools/mkldexport/Makefile deleted file mode 100644 index e92c26ca48..0000000000 --- a/src/tools/mkldexport/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -#------------------------------------------------------------------------- -# -# Makefile.inc-- -# Makefile for tools/mkldexport -# -# Copyright (c) 1994, Regents of the University of California -# -# -# IDENTIFICATION -# $Header: /cvsroot/pgsql/src/tools/mkldexport/Attic/Makefile,v 1.2 1996/11/12 11:43:12 bryanh Exp $ -# -#------------------------------------------------------------------------- - -all: mkldexport - -mkldexport: mkldexport.sh - cp mkldexport.sh mkldexport - chmod a+x mkldexport - -clean: - rm -f mkldexport diff --git a/src/tools/mkldexport/README b/src/tools/mkldexport/README deleted file mode 100644 index 83415d7fb3..0000000000 --- a/src/tools/mkldexport/README +++ /dev/null @@ -1,12 +0,0 @@ -mkldexport is a script for creating an AIX exports from an object file. - -Usage: - mkldexport objectfile [location] - where - objectfile is the current location of the object file. - location is the eventual (installed) location of the - object file (if different from the current - working directory). - -Written originally by Paul Aoki for postgres v4r2. - diff --git a/src/tools/mkldexport/mkldexport.sh b/src/tools/mkldexport/mkldexport.sh deleted file mode 100644 index cd07a453eb..0000000000 --- a/src/tools/mkldexport/mkldexport.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# mkldexport -# create an AIX exports file from an object file -# -# Usage: -# mkldexport objectfile [location] -# where -# objectfile is the current location of the object file. -# location is the eventual (installed) location of the -# object file (if different from the current -# working directory). -# -# /usr/local/devel/postgres-v4r2/src/tools/mkldexport/RCS/mkldexport.sh,v 1.2 1994/03/13 04:59:12 aoki Exp -# -CMDNAME=`basename $0` -if [ -z "$1" ]; then - echo "Usage: $CMDNAME object [location]" - exit 1 -fi -OBJNAME=`basename $1` -if [ "`basename $OBJNAME`" != "`basename $OBJNAME .o`" ]; then - OBJNAME=`basename $OBJNAME .o`.so -fi -if [ -z "$2" ]; then - echo '#!' -else - echo '#!' $2/$OBJNAME -fi -/usr/ucb/nm -g $1 | \ - egrep ' [TD] ' | \ - sed -e 's/.* //' | \ - egrep -v '\$' | \ - sed -e 's/^[.]//' | \ - sort | \ - uniq