X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/c921391b9e471d02ef82f0f45eaa4c354a6fdb85..fa097d3df280b2adb39ec3b99fd44d324aa2fbb1:/Makefile diff --git a/Makefile b/Makefile index a2b3d449..03d00fdd 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,9 @@ INSTALL_LIB = $(INSTALL) -m 0644 INSTALL_SOURCE = $(INSTALL) -m 0644 INSTALL_MAN = $(INSTALL_DATA) +# Linux needs -ldb to compile mandocdb. +#DBLIB = -ldb + all: mandoc preconv SRCS = Makefile \ @@ -47,6 +50,7 @@ SRCS = Makefile \ config.h.pre \ eqn.7 \ eqn.c \ + eqn_term.c \ example.style.css \ external.png \ html.c \ @@ -197,13 +201,15 @@ MANDOC_HTML_LNS = html.ln \ mdoc_html.ln \ tbl_html.ln -MANDOC_TERM_OBJS = man_term.o \ +MANDOC_TERM_OBJS = eqn_term.o \ + man_term.o \ mdoc_term.o \ term.o \ term_ascii.o \ term_ps.o \ tbl_term.o -MANDOC_TERM_LNS = man_term.ln \ +MANDOC_TERM_LNS = eqn_term.ln \ + man_term.ln \ mdoc_term.ln \ term.ln \ term_ascii.ln \ @@ -353,9 +359,8 @@ mandoc: $(MANDOC_OBJS) libmandoc.a llib-lmandoc.ln: $(MANDOC_LNS) $(LINT) $(LINTFLAGS) -Cmandoc $(MANDOC_LNS) -# You'll need -ldb for Linux. mandocdb: $(MANDOCDB_OBJS) libmandoc.a - $(CC) -o $@ $(MANDOCDB_OBJS) libmandoc.a + $(CC) -o $@ $(MANDOCDB_OBJS) libmandoc.a $(DBLIB) llib-lmandocdb.ln: $(MANDOCDB_LNS) $(LINT) $(LINTFLAGS) -Cmandocdb $(MANDOCDB_LNS)