|
|
1.1 root 1: # @(#)Makefile 5.5 (Berkeley) 5/24/90
2:
3: SRCS= mkhosts.c
4: MAN8= mkhosts.0
5: .PATH: ${.CURDIR}
6:
7: all: mkhosts ${MAN8}
8:
9: mkhosts: ${LIBC} mkhosts.c
10: @echo "Mkhosts requires the dbm version of the hostent(3) routines."
11: @echo "If gethosts(3) is not in libc, mkhosts will not be installed."
12: -${CC} -o ${.TARGET} ${CFLAGS} ${.CURDIR}/${.PREFIX}.c || \
13: cd ${.CURDIR} && ${MAKE} clean
14:
15: clean:
16: rm -f core mkhosts mkhosts.o
17:
18: cleandir: clean
19: rm -f ${MAN8} tags .depend
20:
21: depend: ${SRCS}
22: mkdep -p ${CFLAGS} ${.ALLSRC}
23:
24: install: maninstall
25: -if [ -f mkhosts ]; then \
26: install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
27: mkhosts ${DESTDIR}${BINDIR}; \
28: else \
29: exit 0; \
30: fi
31:
32: lint: ${SRCS}
33: cd ${.CURDIR}; lint ${CFLAGS} ${LINTFLAGS} ${SRCS}
34:
35: tags: ${SRCS}
36: cd ${.CURDIR}; ctags ${SRCS}
37:
38: .include <bsd.prog.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.