home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / mesa-1.2.8 / mklib.hpux < prev    next >
Text File  |  1996-05-27  |  611b  |  24 lines

  1. #!/bin/sh
  2.  
  3. # Make an HPUX shared library
  4. # contributed by Jan Springer (springer@nessi.informatik.hab-weimar.de)
  5.  
  6. # First argument is name of output library
  7. # Rest of arguments are object files
  8.  
  9. LIBRARY=$1
  10.  
  11. shift 1
  12. OBJECTS=$*
  13.  
  14. ld -b -o ${LIBRARY} ${OBJECTS}
  15.  
  16. echo "Be sure to set the LPATH and SHLIB_PATH variables as shown in mklib.hpux"
  17.  
  18.  
  19. # Comments:
  20. # You'll need to put the following setenv's in your .cshrc or .login file:
  21. #
  22. #   setenv LPATH .:/lib/pa1.1:/usr/lib/pa1.1:/lib:/usr/lib:/usr/lib/X11R5:/usr/lib/Motif1.2:/usr/local/xview3.2/lib:/usr/local/lib:/usr/local/lib/X11
  23. #   setenv SHLIB_PATH ${LPATH}
  24.