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

portmap: portmap.o

install: portmap
	install -o root -g root -m 0744 portmap ${DEBDIR}/usr/sbin/rpc.portmap
	install -o root -g root -m 0644 portmap.8 ${DEBDIR}/usr/man/man8
	install -o root -g root -m 0644 rpc.portmap.8 ${DEBDIR}/usr/man/man8

clean:
	rm -f *.o portmap

