-# $Id: Makefile,v 1.463 2015/05/21 00:04:38 schwarze Exp $
+# $Id: Makefile,v 1.466 2015/07/19 06:05:16 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
roff.c \
soelim.c \
st.c \
+ tag.c \
tbl.c \
tbl_data.c \
tbl_html.c \
term.c \
term_ascii.c \
term_ps.c \
- tree.c \
- $(TESTSRCS)
+ tree.c
DISTFILES = INSTALL \
LICENSE \
soelim.1 \
st.in \
style.css \
+ tag.h \
tbl.3 \
tbl.7 \
term.h \
- $(SRCS)
+ $(SRCS) \
+ $(TESTSRCS)
LIBMAN_OBJS = man.o \
man_hash.o \
main.o \
manpath.o \
out.o \
+ tag.o \
tree.o
MAIN_OBJS = $(BASE_OBJS)
$(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB)
demandoc: $(DEMANDOC_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a
+ $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a -lz
soelim: $(SOELIM_OBJS) compat_reallocarray.o
$(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS) compat_reallocarray.o