d65f6f7009
. common/include/arch/i386 is not actually an imported sys/arch/i386/include but leftover Minix files; remove and move to include/ . move include/ufs to sys/ufs, where it came from, now that we have a sys/ hierarchy . move mdocml/ to external/bsd/, now we have that . single sys/arch/i386/stand/ import for boot stuff
24 lines
769 B
Makefile
24 lines
769 B
Makefile
# $NetBSD: Makefile,v 1.4 2011/01/12 23:02:21 joerg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= mandoc
|
|
|
|
SRCS= main.c mdoc_term.c chars.c term.c term_ascii.c term_ps.c \
|
|
tbl_term.c tbl_html.c tree.c compat.c \
|
|
man_term.c html.c mdoc_html.c man_html.c out.c
|
|
|
|
.ifndef HOSTPROG
|
|
DPADD+= ${MDOCMLLIB.man} ${MDOCMLLIB.mdoc} ${MDOCMLLIB.roff}
|
|
LDADD+= -L${MDOCMLOBJDIR.man} -lman \
|
|
-L${MDOCMLOBJDIR.mdoc} -lmdoc \
|
|
-L${MDOCMLOBJDIR.roff} -lroff
|
|
.else
|
|
SRCS.libman!= cd ${.PARSEDIR}/../../lib/libman && ${MAKE} -V '$${SRCS}'
|
|
SRCS.libmdoc!= cd ${.PARSEDIR}/../../lib/libmdoc && ${MAKE} -V '$${SRCS}'
|
|
SRCS.libroff!= cd ${.PARSEDIR}/../../lib/libroff && ${MAKE} -V '$${SRCS}'
|
|
|
|
SRCS+= ${SRCS.libman} ${SRCS.libmdoc:Nmandoc.c} ${SRCS.libroff}
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|