# Makefile for dhcpd.

CFLAGS	= $(OPT) -D_MINIX
LDFLAGS	= -fnone

all:	dhcpd

OBJ=	dhcpd.o tags.o devices.o ether.o

dhcpd:	$(OBJ)
	$(CC) $(LDFLAGS) -o $@ $(OBJ)

install:	/usr/sbin/dhcpd /usr/man/man8/dhcpd.8 /usr/man/man5/dhcp.conf.5

/usr/sbin/dhcpd:	dhcpd
	install -c $? $@

/usr/man/man8/dhcpd.8:	dhcpd.8
	install -lc $? $@

/usr/man/man5/dhcp.conf.5:	dhcp.conf.5
	install -lc $? $@

clean:
	rm -f *.o dhcpd core a.out

# Dependencies.
$(OBJ):			dhcpd.h
dhcpd.o ether.o:	arp.h

#
# $PchId: Makefile,v 1.3 2001/01/19 22:07:24 philip Exp $
