Return to Makefile CVS log | Up to [local] / src / usr.bin / mandoc |
File: [local] / src / usr.bin / mandoc / Makefile (download)
Revision 1.75, Fri Mar 21 22:17:01 2014 UTC (10 years, 2 months ago) by schwarze
The files mandoc.c and mandoc.h contained both specialised low-level functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup. |
# $OpenBSD: Makefile,v 1.75 2014/03/21 22:17:01 schwarze Exp $ .include <bsd.own.mk> CFLAGS += -DVERSION=\"1.13.0\" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter LDADD += -lsqlite3 SRCS= mandoc.c mandoc_aux.c read.c \ roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c eqn.c SRCS+= mdoc_macro.c mdoc.c mdoc_hash.c \ mdoc_argv.c mdoc_validate.c lib.c att.c \ arch.c vol.c msec.c st.c SRCS+= man_macro.c man.c man_hash.c man_validate.c SRCS+= main.c mdoc_term.c chars.c term.c tree.c man_term.c eqn_term.c SRCS+= mdoc_man.c SRCS+= html.c mdoc_html.c man_html.c out.c eqn_html.c SRCS+= term_ps.c term_ascii.c tbl_term.c tbl_html.c SRCS+= manpath.c mandocdb.c mansearch_const.c mansearch.c apropos.c PROG= mandoc MAN= mandoc.1 .include <bsd.prog.mk>