home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / logdaemon-2 / rshd / Makefile < prev    next >
Encoding:
Makefile  |  1993-03-31  |  1.2 KB  |  40 lines

  1. #
  2. # Copyright (c) 1988 Regents of the University of California.
  3. # All rights reserved.
  4. #
  5. # Redistribution and use in source and binary forms are permitted
  6. # provided that the above copyright notice and this paragraph are
  7. # duplicated in all such forms and that any documentation, advertising
  8. # materials, and other materials related to such redistribution and
  9. # use acknowledge that the software was developed by the University
  10. # of California, Berkeley.  The name of the University may not be
  11. # used to endorse or promote products derived from this software
  12. # without specific prior written permission.  THIS SOFTWARE IS PROVIDED
  13. # ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  14. # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
  15. # FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. # @(#)Makefile    5.1 (Berkeley) 9/19/88
  18. #
  19.  
  20. LIBS    = $(LOG_TCP)/libwrap.a
  21. SRCS    = rshd.c
  22. SHELL    = /bin/sh
  23.  
  24. what:
  25.     @echo make sunos4 sunos5 or ultrix4 1>&2; exit 1
  26.  
  27. sunos5:
  28.     make CFLAGS="-O -DUSE_STRING_H -D__svr4__" SYSLIBS="-lsocket -lnsl" rshd
  29.  
  30. sunos4 ultrix4: 
  31.     make CFLAGS="-O" SYSLIBS= rshd
  32.  
  33. all: rshd
  34.  
  35. rshd: rshd.c ${LIBS}
  36.     ${CC} -o $@ ${CFLAGS} $@.c ${LIBS} ${SYSLIBS}
  37.  
  38. clean:
  39.     rm -f ${OBJS} core rshd
  40.