home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 25.ddi / root.2 / usr / ucb / lint < prev    next >
Encoding:
Text File  |  1990-12-20  |  2.2 KB  |  58 lines

  1. #!/sbin/sh
  2. #    Copyright (c) 1990 UNIX System Laboratories, Inc.
  3. #    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
  4. #      All Rights Reserved
  5.  
  6. #    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
  7. #    UNIX System Laboratories, Inc.
  8. #    The copyright notice above does not evidence any
  9. #    actual or intended publication of such source code.
  10.  
  11. #ident    "@(#)//usr/ucb/lint.sl 1.1 4.0 12/08/90 16670 AT&T-USL"
  12. #        PROPRIETARY NOTICE (Combined)
  13. #
  14. #This source code is unpublished proprietary information
  15. #constituting, or derived under license from AT&T's UNIX(r) System V.
  16. #In addition, portions of such source code were derived from Berkeley
  17. #4.3 BSD under license from the Regents of the University of
  18. #California.
  19. #
  20. #
  21. #
  22. #        Copyright Notice 
  23. #
  24. #Notice of copyright on this source code product does not indicate 
  25. #publication.
  26. #
  27. #    (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  28. #    (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  29. #              All rights reserved.
  30.  
  31. # lint command for BSD compatibility package:
  32. #
  33. #    BSD compatibility package header files (/usr/ucbinclude)
  34. #    are included before SVr4 default (/usr/include) files but 
  35. #       after any directories specified on the command line via 
  36. #    the -I option.  Thus, the BSD header files are included
  37. #    next to last, and SVr4 header files are searched last.
  38. #    
  39. #    BSD compatibility package libraries are searched first.
  40. #
  41. #    Because the BSD compatibility package C lint library does not 
  42. #    contain all the C library routines of /usr/ccs/lib/llib-lc, 
  43. #    the BSD package C library is named /usr/ucblib/llib-lucb
  44. #    and is passed explicitly to lint.  This ensures that llib-lucb
  45. #    will be searched first for routines and that 
  46. #    /usr/ccs/lib/llib-lc will be searched afterwards for routines 
  47. #    not found in /usr/ucblib/llib-lucb.  Also because sockets is    
  48. #       provided in libc under BSD, /usr/lib/llib-lsocket and 
  49. #    /usr/lib/llib-lnsl are also included as default libraries.
  50. #    
  51. #    Note: Lint does not allow you to reset the search PATH for
  52. #     libraries. The following uses the -L option to point to
  53. #    /usr/ucblib. There are however some combinations of options
  54. #    specified by the user that could overrule the intended path.
  55. #
  56.  
  57. /usr/ccs/bin/lint -L/usr/ucblib $@ -I/usr/ucbinclude -L/usr/ucblib -lucb -lsocket -lnsl
  58.