home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / pine4.10.tar.gz / pine4.10.tar / pine4.10 / imap / src / osdep / amiga / drivers < prev    next >
Text File  |  1998-09-16  |  2KB  |  45 lines

  1. #!/bin/sh
  2. #
  3. # Program:    Driver Linkage Generator
  4. #
  5. # Author:    Mark Crispin
  6. #        Networks and Distributed Computing
  7. #        Computing & Communications
  8. #        University of Washington
  9. #        Administration Building, AG-44
  10. #        Seattle, WA  98195
  11. #        Internet: MRC@CAC.Washington.EDU
  12. #
  13. # Date:        11 October 1989
  14. # Last Edited:    11 October 1993
  15. #
  16. # Copyright 1993 by the University of Washington
  17. #
  18. #  Permission to use, copy, modify, and distribute this software and its
  19. # documentation for any purpose and without fee is hereby granted, provided
  20. # that the above copyright notice appears in all copies and that both the
  21. # above copyright notice and this permission notice appear in supporting
  22. # documentation, and that the name of the University of Washington not be
  23. # used in advertising or publicity pertaining to distribution of the software
  24. # without specific, written prior permission.  This software is made
  25. # available "as is", and
  26. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  27. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  28. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  29. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  30. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  31. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  32. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  33. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  34.  
  35.  
  36. # Erase old driver linkage
  37. rm -f linkage.[ch]
  38.  
  39. # Now define the new list
  40. for driver
  41.  do
  42.   echo "extern DRIVER "$driver"driver;" >> linkage.h
  43.   echo "  mail_link (&"$driver"driver);        /* link in the $driver driver */" | cat >> linkage.c
  44. done
  45.