xref: /titanic_50/usr/src/cmd/mandoc/Makefile.common (revision 260e9a87725c090ba5835b1f9f0b62fa2f96036f)
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 2015 Nexenta Systems, Inc.  All rights reserved.
15#
16
17PROG=		mandoc
18
19OBJS=		att.o		\
20		chars.o		\
21		eqn.o		\
22		eqn_html.o	\
23		eqn_term.o	\
24		html.o		\
25		lib.o		\
26		main.o		\
27		man.o		\
28		manpath.o	\
29		man_hash.o	\
30		man_html.o	\
31		man_macro.o	\
32		man_term.o	\
33		man_validate.o	\
34		mandoc.o	\
35		mandoc_aux.o	\
36		mdoc.o		\
37		mdoc_argv.o	\
38		mdoc_hash.o	\
39		mdoc_html.o	\
40		mdoc_macro.o	\
41		mdoc_man.o	\
42		mdoc_term.o	\
43		mdoc_validate.o	\
44		msec.o		\
45		out.o		\
46		read.o		\
47		roff.o		\
48		preconv.o	\
49		st.o		\
50		tbl.o		\
51		tbl_data.o	\
52		tbl_html.o	\
53		tbl_layout.o	\
54		tbl_opts.o	\
55		tbl_term.o	\
56		term.o		\
57		term_ascii.o	\
58		term_ps.o	\
59		tree.o
60
61OBJS +=		compat_fgetln.o		\
62		compat_reallocarray.o	\
63		compat_strtonum.o
64
65CFLAGS +=	$(CC_VERBOSE)
66
67CPPFLAGS +=	-DOSNAME="\"illumos\""
68