home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-01-10 | 1.1 KB | 46 lines |
- # @(#) Makefile 1.1 91/01/06 22:30:21
-
- ## Begin configuration options
-
- # If you want to enable host access control, define the HOST_ACCESS macro
- # in the CFLAGS line. For example,
- #
- # CFLAGS = -O -DHOSTS_ACCESS
- #
- # Note: host access control requires the strtok() and strchr() routines.
-
- CFLAGS = -O -DHOSTS_ACCESS
-
- # Include the file strcasecmp.o if it is not provided by your C library.
-
- AUX_OBJ = # strcasecmp.o
-
- # Some System-V versions require that you explicitly specify the networking
- # libraries.
-
- LIBS =
-
- ## End configuration options
-
- TCPD_OBJ= tcpd.o fromhost.o hosts_access.o
- MISC_OBJ= miscd.o fromhost.o hosts_access.o
-
- all: tcpd miscd
-
- tcpd: $(TCPD_OBJ) $(AUX_OBJ)
- $(CC) $(CFLAGS) -o $@ $(TCPD_OBJ) $(AUX_OBJ) $(LIBS)
-
- miscd: $(MISC_OBJ) $(AUX_OBJ)
- $(CC) $(CFLAGS) -o $@ $(MISC_OBJ) $(AUX_OBJ) $(LIBS)
-
- shar:
- @shar README miscd.c tcpd.c fromhost.c hosts_access.c Makefile \
- hosts_access.5 strcasecmp.c BLURB
-
- clean:
- rm -f tcpd miscd *.o core
-
- lint:
- lint -DHOSTS_ACCESS tcpd.c fromhost.c hosts_access.c
- lint -DHOSTS_ACCESS miscd.c fromhost.c hosts_access.c
-