Home | History | Annotate | Line # | Download | only in mandoc
Makefile revision 1.21
      1  1.21     lukem # $NetBSD: Makefile,v 1.21 2023/06/03 09:09:04 lukem 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.13  christos SRCS=	\
      8  1.13  christos eqn_html.c \
      9  1.13  christos eqn_term.c \
     10  1.13  christos html.c \
     11  1.18  christos dba.c \
     12  1.18  christos dba_array.c \
     13  1.18  christos dba_read.c \
     14  1.18  christos dba_write.c \
     15  1.18  christos dbm.c \
     16  1.18  christos dbm_map.c \
     17  1.13  christos main.c \
     18  1.13  christos man_html.c \
     19  1.13  christos man_term.c \
     20  1.18  christos mandocdb.c \
     21  1.13  christos manpath.c \
     22  1.18  christos mansearch.c \
     23  1.13  christos mdoc_html.c \
     24  1.13  christos mdoc_markdown.c \
     25  1.13  christos mdoc_term.c \
     26  1.13  christos out.c \
     27  1.13  christos roff_html.c \
     28  1.13  christos roff_term.c \
     29  1.13  christos tbl_html.c \
     30  1.13  christos tbl_term.c \
     31  1.13  christos term.c \
     32  1.13  christos term_ascii.c \
     33  1.13  christos term_ps.c \
     34  1.13  christos term_tab.c \
     35  1.13  christos tree.c
     36   1.1     joerg 
     37   1.1     joerg .ifndef HOSTPROG
     38  1.11  christos DPADD+= 	${MDOCMLLIB.mandoc} ${LIBZ}
     39  1.11  christos LDADD+= 	-L${MDOCMLOBJDIR.mandoc} -lmandoc -lz
     40   1.7       wiz CPPFLAGS+=	-DUSE_WCHAR
     41   1.1     joerg .else
     42  1.12  christos SRCS.libmandoc!=cd ${.PARSEDIR}/../../lib/libmandoc && ${MAKE} -v SRCS
     43   1.1     joerg 
     44  1.20       wiz SRCS+=		${SRCS.libmandoc} compat_strtonum.c
     45   1.1     joerg .endif
     46   1.1     joerg 
     47  1.15       kre COPTS.man_term.c+= -Wno-error=array-bounds
     48  1.15       kre 
     49  1.21     lukem COPTS.tbl_term.c+=	${CC_WNO_FORMAT_TRUNCATION}
     50  1.19       mrg 
     51   1.1     joerg .include <bsd.prog.mk>
     52