home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / perl / Perl / perl_exp.SH < prev    next >
Linux/UNIX/POSIX Shell Script  |  1995-12-08  |  885b  |  46 lines

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