home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2173 / makefile < prev    next >
Encoding:
Makefile  |  1990-12-28  |  585 b   |  23 lines

  1. # If you want to refuse connections from hosts or domains listed in an external
  2. # file, define the HOSTS_DENY macro to be a valid path name, for example:
  3. #
  4. # CFLAGS = -O -DHOSTS_DENY=\"/etc/hosts.deny\"
  5. #
  6. # The format of the file is: one host or domain per line; case does not matter.
  7.  
  8. CFLAGS = -O -DHOSTS_DENY=\"/etc/hosts.deny\"
  9.  
  10. all:    tcpd miscd
  11.  
  12. tcpd:    tcpd.o hosts_deny.o
  13.     $(CC) $(CFLAGS) -o $@ tcpd.o hosts_deny.o
  14.  
  15. miscd:    miscd.o hosts_deny.o
  16.     $(CC) $(CFLAGS) -o $@ miscd.o hosts_deny.o
  17.  
  18. shar:    
  19.     @shar miscd.c tcpd.c hosts_deny.c makefile README
  20.  
  21. clean:
  22.     rm -f tcpd miscd *.o core
  23.