Home | History | Annotate | Line # | Download | only in mandoc
Makefile revision 1.5
      1  1.5  joerg # $NetBSD: Makefile,v 1.5 2011/04/15 14:36:30 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.5  joerg 		html.c man_html.c mdoc_html.c tbl_html.c \
      9  1.5  joerg 		man_term.c mdoc_term.c term.c term_ascii.c \
     10  1.5  joerg 		term_ps.c tbl_term.c
     11  1.1  joerg 
     12  1.1  joerg .ifndef HOSTPROG
     13  1.5  joerg DPADD+= 	${MDOCMLLIB.mandoc}
     14  1.5  joerg LDADD+= 	-L${MDOCMLOBJDIR.mandoc} -lmandoc
     15  1.1  joerg .else
     16  1.5  joerg SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
     17  1.1  joerg 
     18  1.5  joerg SRCS+=		${SRCS.libmandoc}
     19  1.1  joerg .endif
     20  1.1  joerg 
     21  1.1  joerg .include <bsd.prog.mk>
     22