freebsd-dev/gnu/usr.bin/man/lib/Makefile

31 lines
857 B
Makefile
Raw Normal View History

1993-07-07 23:07:02 +00:00
LIB = man
.if exists(${.CURDIR}/obj)
CONFH= ${.CURDIR}/obj/config.h
.else
CONFH= ${.CURDIR}/config.h
.endif
1993-07-07 23:07:02 +00:00
CFLAGS+= -I${.CURDIR} -DSTDC_HEADERS -DPOSIX -DHAS_TROFF -DDO_UNCOMPRESS -DALT_SYSTEMS
CLEANFILES+= ${CONFH}
1993-07-07 23:07:02 +00:00
SRCS = util.c gripes.c
libman.a:: ${CONFH}
1993-07-07 23:07:02 +00:00
install:
@echo -n
depend ${CONFH}: ${.CURDIR}/config.h_dist ../Makefile.inc
sed -e 's,%apropos%,${apropos},' -e 's,%whatis%,${whatis},' \
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
-e 's,%nroff%,${nroff},' -e 's,%tbl%,${tbl},' \
-e 's,%col%,${col},' -e 's,%pic%,${pic},' \
-e 's,%eqn%,${eqn},' -e 's,%neqn%,${neqn},' \
-e 's,%vgrind%,${vgrind},' -e 's,%refer%,${refer},' \
-e 's,%grap%,${grap},' -e 's,%zcat%,${zcat},' \
-e 's,%manpath_config_file%,${manpath_config_file},' \
${.CURDIR}/config.h_dist > ${CONFH}
1993-07-07 23:07:02 +00:00
.include <bsd.lib.mk>