Home | History | Annotate | Line # | Download | only in mandoc
Makefile revision 1.6
      1  1.6  joerg # $NetBSD: Makefile,v 1.6 2011/10/11 19:20:13 joerg Exp $
      2  1.1  joerg 
      3  1.1  joerg .include <bsd.own.mk>
      4  1.1  joerg 
      5  1.1  joerg PROG=		mandoc
      6  1.1  joerg 
      7  1.5  joerg SRCS=		chars.c main.c out.c tree.c \
      8  1.6  joerg 		eqn_html.c eqn_term.c \
      9  1.5  joerg 		html.c man_html.c mdoc_html.c tbl_html.c \
     10  1.5  joerg 		man_term.c mdoc_term.c term.c term_ascii.c \
     11  1.5  joerg 		term_ps.c tbl_term.c
     12  1.1  joerg 
     13  1.1  joerg .ifndef HOSTPROG
     14  1.5  joerg DPADD+= 	${MDOCMLLIB.mandoc}
     15  1.5  joerg LDADD+= 	-L${MDOCMLOBJDIR.mandoc} -lmandoc
     16  1.1  joerg .else
     17  1.5  joerg SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
     18  1.1  joerg 
     19  1.5  joerg SRCS+=		${SRCS.libmandoc}
     20  1.1  joerg .endif
     21  1.1  joerg 
     22  1.1  joerg .include <bsd.prog.mk>
     23