home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume16 / log_tcp / part01 / Makefile < prev    next >
Encoding:
Makefile  |  1991-01-10  |  1.1 KB  |  46 lines

  1. # @(#) Makefile 1.1 91/01/06 22:30:21
  2.  
  3. ## Begin configuration options
  4.  
  5. # If you want to enable host access control, define the HOST_ACCESS macro
  6. # in the  CFLAGS line. For example,
  7. #
  8. # CFLAGS = -O -DHOSTS_ACCESS
  9. #
  10. # Note: host access control requires the strtok() and strchr() routines.
  11.  
  12. CFLAGS    = -O -DHOSTS_ACCESS
  13.  
  14. # Include the file strcasecmp.o if it is not provided by your C library.
  15.  
  16. AUX_OBJ    = # strcasecmp.o
  17.  
  18. # Some System-V versions require that you explicitly specify the networking
  19. # libraries.
  20.  
  21. LIBS    =
  22.  
  23. ## End configuration options
  24.  
  25. TCPD_OBJ= tcpd.o fromhost.o hosts_access.o
  26. MISC_OBJ= miscd.o fromhost.o hosts_access.o
  27.  
  28. all:    tcpd miscd
  29.  
  30. tcpd:    $(TCPD_OBJ) $(AUX_OBJ)
  31.     $(CC) $(CFLAGS) -o $@ $(TCPD_OBJ) $(AUX_OBJ) $(LIBS)
  32.  
  33. miscd:    $(MISC_OBJ) $(AUX_OBJ)
  34.     $(CC) $(CFLAGS) -o $@ $(MISC_OBJ) $(AUX_OBJ) $(LIBS)
  35.  
  36. shar:    
  37.     @shar README miscd.c tcpd.c fromhost.c hosts_access.c Makefile \
  38.     hosts_access.5 strcasecmp.c BLURB
  39.  
  40. clean:
  41.     rm -f tcpd miscd *.o core
  42.  
  43. lint:
  44.     lint -DHOSTS_ACCESS tcpd.c fromhost.c hosts_access.c
  45.     lint -DHOSTS_ACCESS miscd.c fromhost.c hosts_access.c
  46.