head	1.3;
access;
symbols;
locks;
comment	@# @;


1.3
date	98.12.18.19.58.36;	author pkern;	state Exp;
branches;
next	1.2;

1.2
date	94.11.17.09.57.46;	author pkern;	state Exp;
branches;
next	1.1;

1.1
date	92.03.12.11.46.23;	author pkern;	state Exp;
branches;
next	;


desc
@@


1.3
log
@added LIBWRAP mods.
@
text
@#
CMD=	ninetd
OBJS=	$(CMD).o
SRCS=	$(CMD).c
LIBS=	
M=	8
BINDIR=	/local/etc
BINDIR=	/local/sbin
MANDIR=	/local/man/man$M

DFLAGS=
DFLAGS=	-DCONFIG='"/local/etc/ninetd.conf"'

#
# for tcpwrappers access control ...
#
#LIBS=	-lwrap
#DFLAGS= -I/local/include -DLIBWRAP -DCONFIG='"/local/etc/ninetd.conf"'

CFLAGS=	-O $(DFLAGS)

##
#$(CMD): $(OBJS)
#	$(CC) $(CFLAGS) -o $(CMD) $(OBJS) $(LIBS)
##
$(CMD): $(SRCS)
	$(CC) $(CFLAGS) -o $(CMD) $(SRCS) $(LIBS)
###
#$(CMD): $(CMD).sh
#	cp $@@.sh $@@
###

#install: inst-bin inst-man
install: inst-bin

inst-bin: $(CMD)
	install -c -s -m 755 $(CMD) $(BINDIR)

inst-man: $(CMD).$M
	install -c -m 444 $(CMD).$M $(MANDIR)

clean:
	-rm -f $(CMD) *.o a.out core
@


1.2
log
@added DFLAGS
@
text
@d14 6
@


1.1
log
@Initial revision
@
text
@d8 1
d11 4
a14 1
CFLAGS=	-O
@
