version 1.395.2.2, 2013/09/18 02:24:37 |
version 1.395.2.6, 2013/10/05 13:15:51 |
|
|
# Specify this if you want to hard-code the operating system to appear |
# Specify this if you want to hard-code the operating system to appear |
# in the lower-left hand corner of -mdoc manuals. |
# in the lower-left hand corner of -mdoc manuals. |
# |
# |
# CFLAGS += -DOSNAME="\"OpenBSD 4.5\"" |
# CFLAGS += -DOSNAME="\"OpenBSD 5.4\"" |
|
|
VERSION = 1.12.1 |
VERSION = 1.12.2 |
VDATE = 23 March 2012 |
VDATE = 05 October 2013 |
|
|
# IFF your system supports multi-byte functions (setlocale(), wcwidth(), |
# IFF your system supports multi-byte functions (setlocale(), wcwidth(), |
# putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a |
# putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a |
Line 25 CFLAGS += -DUSE_WCHAR |
|
Line 25 CFLAGS += -DUSE_WCHAR |
|
# variable. |
# variable. |
#CFLAGS += -DUSE_MANPATH |
#CFLAGS += -DUSE_MANPATH |
|
|
# If your system supports static binaries only, uncomment this. This |
# If your system does not support static binaries, comment this, |
# appears only to be BSD UNIX systems (Mac OS X has no support and Linux |
# for example on Mac OS X. |
# requires -pthreads for static libdb). |
|
STATIC = -static |
STATIC = -static |
|
# Linux requires -pthread to statically link with libdb. |
|
#STATIC += -pthread |
|
|
CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" |
CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
Line 60 DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman. |
|
Line 61 DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman. |
|
all: mandoc preconv demandoc $(DBBIN) |
all: mandoc preconv demandoc $(DBBIN) |
|
|
SRCS = Makefile \ |
SRCS = Makefile \ |
|
NEWS \ |
TODO \ |
TODO \ |
apropos.1 \ |
apropos.1 \ |
apropos.c \ |
apropos.c \ |
Line 88 SRCS = Makefile \ |
|
Line 90 SRCS = Makefile \ |
|
eqn_term.c \ |
eqn_term.c \ |
example.style.css \ |
example.style.css \ |
external.png \ |
external.png \ |
|
gmdiff \ |
html.c \ |
html.c \ |
html.h \ |
html.h \ |
index.css \ |
index.css \ |
Line 143 SRCS = Makefile \ |
|
Line 146 SRCS = Makefile \ |
|
st.c \ |
st.c \ |
st.in \ |
st.in \ |
style.css \ |
style.css \ |
|
tbl.3 \ |
tbl.7 \ |
tbl.7 \ |
tbl.c \ |
tbl.c \ |
tbl_data.c \ |
tbl_data.c \ |
Line 154 SRCS = Makefile \ |
|
Line 158 SRCS = Makefile \ |
|
term.h \ |
term.h \ |
term_ascii.c \ |
term_ascii.c \ |
term_ps.c \ |
term_ps.c \ |
|
test-betoh64.c \ |
test-fgetln.c \ |
test-fgetln.c \ |
test-getsubopt.c \ |
test-getsubopt.c \ |
test-mmap.c \ |
test-mmap.c \ |
Line 273 INDEX_MANS = apropos.1.html \ |
|
Line 278 INDEX_MANS = apropos.1.html \ |
|
mandoc.1.html \ |
mandoc.1.html \ |
whatis.1.html \ |
whatis.1.html \ |
mandoc.3.html \ |
mandoc.3.html \ |
|
tbl.3.html \ |
eqn.7.html \ |
eqn.7.html \ |
man.7.html \ |
man.7.html \ |
man.cgi.7.html \ |
man.cgi.7.html \ |
|
|
$(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) |
$(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR) |
$(INSTALL_LIB) man.h mdoc.h mandoc.h $(DESTDIR)$(INCLUDEDIR) |
$(INSTALL_LIB) man.h mdoc.h mandoc.h $(DESTDIR)$(INCLUDEDIR) |
$(INSTALL_MAN) mandoc.1 preconv.1 demandoc.1 $(DESTDIR)$(MANDIR)/man1 |
$(INSTALL_MAN) mandoc.1 preconv.1 demandoc.1 $(DESTDIR)$(MANDIR)/man1 |
$(INSTALL_MAN) mandoc.3 $(DESTDIR)$(MANDIR)/man3 |
$(INSTALL_MAN) mandoc.3 tbl.3 $(DESTDIR)$(MANDIR)/man3 |
$(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7 |
$(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7 |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) |
$(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR) |
|
|
Line 407 config.h: config.h.pre config.h.post |
|
Line 413 config.h: config.h.pre config.h.post |
|
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
echo '#define HAVE_STRLCPY'; \ |
echo '#define HAVE_STRLCPY'; \ |
rm test-strlcpy; \ |
rm test-strlcpy; \ |
|
fi; \ |
|
if $(CC) $(CFLAGS) -Werror -o test-betoh64 test-betoh64.c >> config.log 2>&1; then \ |
|
echo '#define HAVE_BETOH64'; \ |
|
rm test-betoh64; \ |
fi; \ |
fi; \ |
echo; \ |
echo; \ |
cat config.h.post \ |
cat config.h.post \ |