Re: Namespace cleanup: Does SDBM need binary compatibility?
[p5sagit/p5-mst-13.2.git] / perl_exp.SH
CommitLineData
a0d0e21e 1#!/bin/sh
2
75f92628 3# Written: Nov 1994 Wayne Scott (wscott@ichips.intel.com)
4
a0d0e21e 5# Create the export list for perl.
6# Needed by AIX to do dynamic linking.
7
ff68c719 8# NOTE: If you're using 'old_embed.pl', don't use this script!
9# Use 'old_perl_exp.SH' instead.
10
a0d0e21e 11# This simple program relys on 'global.sym' being up to date
12# with all of the global symbols that a dynamicly link library
13# might want to access.
14
bbb28fc1 15# All symbols have a Perl_ prefix because that's what embed.h
16# sticks in front of them.
17
a0d0e21e 18echo "Extracting perl.exp"
19
acf072ce 20rm -f perl.exp
a0d0e21e 21echo "#!" > perl.exp
22
bbb28fc1 23sed -n '/^[A-Za-z]/ s/^/Perl_/p' global.sym >> perl.exp
a0d0e21e 24
ff68c719 25#
75f92628 26# also add symbols from interp.sym
27# They are only needed if -DMULTIPLICITY is not set but it
28# doesn't hurt to include them anyway.
ff68c719 29sed -n '/^[A-Za-z]/ s/^/Perl_/p' interp.sym >> perl.exp
75f92628 30
31# extra globals not included above.
a0d0e21e 32cat <<END >> perl.exp
55497cff 33perl_init_i18nl10n
bbce6d69 34perl_init_i18nl14n
35perl_new_collate
36perl_new_ctype
ff68c719 37perl_new_numeric
38perl_numeric_local
39perl_numeric_standard
a0d0e21e 40perl_alloc
41perl_construct
42perl_destruct
43perl_free
44perl_parse
45perl_run
46perl_get_sv
47perl_get_av
48perl_get_hv
49perl_get_cv
50perl_call_argv
51perl_call_pv
52perl_call_method
53perl_call_sv
54perl_requirepv
55END