CC = gcc
CFLAGS = -O2 -fomit-frame-pointer -include /usr/include/bsd/bsd.h \
	-I/usr/include/bsd
LDFLAGS = -s
LDLIBS = -lbsd

inetd: inetd.o

install: inetd
	install -o root -g root -m 0755 inetd ${BASEDIR}/usr/sbin
	install -o root -g root -m 0644 inetd.8 ${BASEDIR}/usr/man/man8
	install -o root -g root -m 0644 inetd.conf.5 ${BASEDIR}/usr/man/man5

clean:
	rm -f *.o inetd
