Update to use $^O
[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
8# This simple program relys on 'global.sym' being up to date
9# with all of the global symbols that a dynamicly link library
10# might want to access.
11
12echo "Extracting perl.exp"
13
14echo "#!" > perl.exp
15
16sed -n "/^[A-Za-z]/ p" global.sym >> perl.exp
17
75f92628 18# also add symbols from interp.sym
19# They are only needed if -DMULTIPLICITY is not set but it
20# doesn't hurt to include them anyway.
21sed -n "/^[A-Za-z]/ p" interp.sym >> perl.exp
22
23# extra globals not included above.
a0d0e21e 24cat <<END >> perl.exp
a5f75d66 25perl_init_i18nl14n
a0d0e21e 26perl_init_ext
27perl_alloc
28perl_construct
29perl_destruct
30perl_free
31perl_parse
32perl_run
33perl_get_sv
34perl_get_av
35perl_get_hv
36perl_get_cv
37perl_call_argv
38perl_call_pv
39perl_call_method
40perl_call_sv
41perl_requirepv
1aef975c 42safemalloc
43saferealloc
44safefree
a0d0e21e 45END