version 1.415, 2014/04/15 20:18:26 |
version 1.416, 2014/04/18 10:30:37 |
Line 22 CFLAGS += -DUSE_WCHAR |
|
Line 22 CFLAGS += -DUSE_WCHAR |
|
|
|
# If your system has manpath(1), uncomment this. This is most any |
# If your system has manpath(1), uncomment this. This is most any |
# system that's not OpenBSD or NetBSD. If uncommented, manpage(1) and |
# system that's not OpenBSD or NetBSD. If uncommented, manpage(1) and |
# mandocdb(8) will use manpath(1) to get the MANPATH variable. |
# makewhatis(8) will use manpath(1) to get the MANPATH variable. |
#CFLAGS += -DUSE_MANPATH |
#CFLAGS += -DUSE_MANPATH |
|
|
# If your system does not support static binaries, comment this, |
# If your system does not support static binaries, comment this, |
Line 52 INSTALL_MAN = $(INSTALL_DATA) |
|
Line 52 INSTALL_MAN = $(INSTALL_DATA) |
|
# If you want to build without database support, for example to avoid |
# If you want to build without database support, for example to avoid |
# the dependency on SQLite3, comment the following two lines. |
# the dependency on SQLite3, comment the following two lines. |
DBLIB = -L/usr/local/lib -lsqlite3 |
DBLIB = -L/usr/local/lib -lsqlite3 |
DBBIN = mandocdb manpage apropos |
DBBIN = makewhatis manpage apropos |
|
|
# === END OF USER SETTINGS ============================================= |
# === END OF USER SETTINGS ============================================= |
|
|
Line 111 SRCS = Makefile \ |
|
Line 111 SRCS = Makefile \ |
|
libroff.h \ |
libroff.h \ |
main.c \ |
main.c \ |
main.h \ |
main.h \ |
|
makewhatis.8 \ |
man.7 \ |
man.7 \ |
man.c \ |
man.c \ |
man-cgi.css \ |
man-cgi.css \ |
Line 128 SRCS = Makefile \ |
|
Line 129 SRCS = Makefile \ |
|
mandoc_aux.c \ |
mandoc_aux.c \ |
mandoc_aux.h \ |
mandoc_aux.h \ |
mandoc_char.7 \ |
mandoc_char.7 \ |
mandocdb.8 \ |
|
mandocdb.c \ |
mandocdb.c \ |
manpage.c \ |
manpage.c \ |
manpath.c \ |
manpath.c \ |
Line 259 MANDOC_OBJS = $(MANDOC_HTML_OBJS) \ |
|
Line 259 MANDOC_OBJS = $(MANDOC_HTML_OBJS) \ |
|
tree.o |
tree.o |
$(MANDOC_OBJS): main.h mandoc.h mandoc_aux.h mdoc.h man.h config.h out.h |
$(MANDOC_OBJS): main.h mandoc.h mandoc_aux.h mdoc.h man.h config.h out.h |
|
|
MANDOCDB_OBJS = mandocdb.o mansearch_const.o manpath.o |
MAKEWHATIS_OBJS = mandocdb.o mansearch_const.o manpath.o |
$(MANDOCDB_OBJS): mansearch.h mandoc.h mandoc_aux.h \ |
$(MAKEWHATIS_OBJS): mansearch.h mandoc.h mandoc_aux.h \ |
mdoc.h man.h config.h manpath.h |
mdoc.h man.h config.h manpath.h |
|
|
PRECONV_OBJS = preconv.o |
PRECONV_OBJS = preconv.o |
Line 289 WWW_MANS = apropos.1.html \ |
|
Line 289 WWW_MANS = apropos.1.html \ |
|
mdoc.7.html \ |
mdoc.7.html \ |
roff.7.html \ |
roff.7.html \ |
tbl.7.html \ |
tbl.7.html \ |
mandocdb.8.html \ |
makewhatis.8.html \ |
man.h.html \ |
man.h.html \ |
mandoc.h.html \ |
mandoc.h.html \ |
manpath.h.html \ |
manpath.h.html \ |
Line 304 WWW_OBJS = mdocml.tar.gz \ |
|
Line 304 WWW_OBJS = mdocml.tar.gz \ |
|
clean: |
clean: |
rm -f libmandoc.a $(LIBMANDOC_OBJS) |
rm -f libmandoc.a $(LIBMANDOC_OBJS) |
rm -f apropos $(APROPOS_OBJS) |
rm -f apropos $(APROPOS_OBJS) |
rm -f mandocdb $(MANDOCDB_OBJS) |
rm -f makewhatis $(MAKEWHATIS_OBJS) |
rm -f preconv $(PRECONV_OBJS) |
rm -f preconv $(PRECONV_OBJS) |
rm -f manpage $(MANPAGE_OBJS) |
rm -f manpage $(MANPAGE_OBJS) |
rm -f demandoc $(DEMANDOC_OBJS) |
rm -f demandoc $(DEMANDOC_OBJS) |
Line 353 libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
|
Line 353 libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
|
mandoc: $(MANDOC_OBJS) libmandoc.a |
mandoc: $(MANDOC_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(MANDOC_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(MANDOC_OBJS) libmandoc.a |
|
|
mandocdb: $(MANDOCDB_OBJS) libmandoc.a |
makewhatis: $(MAKEWHATIS_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(MANDOCDB_OBJS) libmandoc.a $(DBLIB) |
$(CC) $(LDFLAGS) -o $@ $(MAKEWHATIS_OBJS) libmandoc.a $(DBLIB) |
|
|
preconv: $(PRECONV_OBJS) |
preconv: $(PRECONV_OBJS) |
$(CC) $(LDFLAGS) -o $@ $(PRECONV_OBJS) |
$(CC) $(LDFLAGS) -o $@ $(PRECONV_OBJS) |