xref: /illumos-gate/usr/src/cmd/mandoc/Makefile.common (revision 3385b4726f1b09aa9511340017fb23c7cde6aadd)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2014 Garrett D'Amore <garrett@damore.org>
14# Copyright 2017 Nexenta Systems, Inc.
15#
16
17PROG=		mandoc
18
19OBJS=		att.o		\
20		chars.o		\
21		dba.o		\
22		dba_array.o	\
23		dba_read.o	\
24		dba_write.o	\
25		dbm.o		\
26		dbm_map.o	\
27		eqn.o		\
28		eqn_html.o	\
29		eqn_term.o	\
30		html.o		\
31		lib.o		\
32		main.o		\
33		man.o		\
34		manpath.o	\
35		man_html.o	\
36		man_macro.o	\
37		man_term.o	\
38		man_validate.o	\
39		mandoc.o	\
40		mandoc_aux.o	\
41		mandoc_ohash.o	\
42		mandoc_xr.o	\
43		mandocdb.o	\
44		mansearch.o	\
45		mdoc.o		\
46		mdoc_argv.o	\
47		mdoc_html.o	\
48		mdoc_macro.o	\
49		mdoc_man.o	\
50		mdoc_markdown.o	\
51		mdoc_state.o	\
52		mdoc_term.o	\
53		mdoc_validate.o	\
54		msec.o		\
55		out.o		\
56		read.o		\
57		roff.o		\
58		roff_html.o	\
59		roff_term.o	\
60		roff_validate.o	\
61		preconv.o	\
62		st.o		\
63		tag.o		\
64		tbl.o		\
65		tbl_data.o	\
66		tbl_html.o	\
67		tbl_layout.o	\
68		tbl_opts.o	\
69		tbl_term.o	\
70		term.o		\
71		term_ascii.o	\
72		term_ps.o	\
73		term_tab.o	\
74		tree.o
75
76OBJS +=		compat_ohash.o
77
78CFLAGS +=	$(CC_VERBOSE)
79CSTD =	$(CSTD_GNU99)
80
81CPPFLAGS +=	-DOSNAME="\"illumos\""
82
83LDLIBS +=	-lz
84