Home | History | Annotate | Line # | Download | only in mandoc
Makefile revision 1.8
      1  1.8  christos # $NetBSD: Makefile,v 1.8 2015/12/17 22:31:01 christos 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.8  christos 		manpath.c 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.7       wiz CPPFLAGS+=	-DUSE_WCHAR
     17  1.1     joerg .else
     18  1.5     joerg SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -V '$${SRCS}'
     19  1.1     joerg 
     20  1.5     joerg SRCS+=		${SRCS.libmandoc}
     21  1.1     joerg .endif
     22  1.1     joerg 
     23  1.1     joerg .include <bsd.prog.mk>
     24