Commit | Line | Data |
---|---|---|
a0d0e21e LW |
1 | #!/bin/sh |
2 | ||
75f92628 AD |
3 | # Written: Nov 1994 Wayne Scott (wscott@ichips.intel.com) |
4 | ||
a0d0e21e LW |
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 | ||
bbb28fc1 | 12 | # All symbols have a Perl_ prefix because that's what embed.h |
13 | # sticks in front of them. | |
14 | ||
a0d0e21e LW |
15 | echo "Extracting perl.exp" |
16 | ||
17 | echo "#!" > perl.exp | |
18 | ||
bbb28fc1 | 19 | sed -n '/^[A-Za-z]/ s/^/Perl_/p' global.sym >> perl.exp |
a0d0e21e | 20 | |
75f92628 AD |
21 | # also add symbols from interp.sym |
22 | # They are only needed if -DMULTIPLICITY is not set but it | |
23 | # doesn't hurt to include them anyway. | |
bbb28fc1 | 24 | sed -n '/^[A-Za-z]/ p' interp.sym >> perl.exp |
75f92628 AD |
25 | |
26 | # extra globals not included above. | |
a0d0e21e | 27 | cat <<END >> perl.exp |
a5f75d66 | 28 | perl_init_i18nl14n |
a0d0e21e LW |
29 | perl_init_ext |
30 | perl_alloc | |
31 | perl_construct | |
32 | perl_destruct | |
33 | perl_free | |
34 | perl_parse | |
35 | perl_run | |
36 | perl_get_sv | |
37 | perl_get_av | |
38 | perl_get_hv | |
39 | perl_get_cv | |
40 | perl_call_argv | |
41 | perl_call_pv | |
42 | perl_call_method | |
43 | perl_call_sv | |
44 | perl_requirepv | |
1aef975c AD |
45 | safemalloc |
46 | saferealloc | |
47 | safefree | |
a0d0e21e | 48 | END |