# $Header:Makefile 12.0$ 
# $ACIS:Makefile 12.0$ 
# $Source: /ibm/acis/usr/src/ibm/fortuned/RCS/Makefile,v $ 
DESTDIR=
CFLAGS=	-O
IFLAGS= -c -s

all:	fortuned

fortuned:	fortuned.o
	${CC} -o fortuned fortuned.o

#  To run the fortune demon, install it, and add one line
#  to /etc/services:
#
#  qotd		17/udp		quote
#
#  and one line to /etc/inetd.conf
#
#  qotd	dgram	udp	wait	root	/etc/fortuned	fortuned
#
#  qotd - stands for the DARPA Internet Quote-of-the-day service

install:
	install ${IFLAGS} fortuned ${DESTDIR}/etc/fortuned

clean:
	rm -f fortuned fortuned.o
