version 1.396, 2012/06/08 10:47:17 |
version 1.398, 2012/06/09 11:27:38 |
Line 26 CFLAGS += -DUSE_WCHAR |
|
Line 26 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. |
# mandocdb(8) will use manpath(1) to get the MANPATH variable. |
#CFLAGS += -DUSE_MANPATH |
CFLAGS += -DUSE_MANPATH |
|
|
# If your system supports static binaries only, uncomment this. This |
# If your system supports static binaries only, uncomment this. This |
# appears only to be BSD UNIX systems (Mac OS X has no support and Linux |
# appears only to be BSD UNIX systems (Mac OS X has no support and Linux |
Line 147 SRCS = Makefile \ |
|
Line 147 SRCS = Makefile \ |
|
test-fgetln.c \ |
test-fgetln.c \ |
test-getsubopt.c \ |
test-getsubopt.c \ |
test-mmap.c \ |
test-mmap.c \ |
|
test-ohash.c \ |
test-strlcat.c \ |
test-strlcat.c \ |
test-strlcpy.c \ |
test-strlcpy.c \ |
test-strptime.c \ |
test-strptime.c \ |
Line 187 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
Line 188 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
|
|
COMPAT_OBJS = compat_fgetln.o \ |
COMPAT_OBJS = compat_fgetln.o \ |
compat_getsubopt.o \ |
compat_getsubopt.o \ |
|
compat_ohash.o \ |
compat_strlcat.o \ |
compat_strlcat.o \ |
compat_strlcpy.o |
compat_strlcpy.o |
|
|
Line 203 $(LIBMAN_OBJS): libman.h |
|
Line 205 $(LIBMAN_OBJS): libman.h |
|
$(LIBMDOC_OBJS): libmdoc.h |
$(LIBMDOC_OBJS): libmdoc.h |
$(LIBROFF_OBJS): libroff.h |
$(LIBROFF_OBJS): libroff.h |
$(LIBMANDOC_OBJS): mandoc.h mdoc.h man.h libmandoc.h config.h |
$(LIBMANDOC_OBJS): mandoc.h mdoc.h man.h libmandoc.h config.h |
$(COMPAT_OBJS): config.h |
$(COMPAT_OBJS): config.h compat_ohash.h |
|
|
MANDOC_HTML_OBJS = eqn_html.o \ |
MANDOC_HTML_OBJS = eqn_html.o \ |
html.o \ |
html.o \ |
Line 396 config.h: config.h.pre config.h.post |
|
Line 398 config.h: config.h.pre config.h.post |
|
rm -f config.log |
rm -f config.log |
( cat config.h.pre; \ |
( cat config.h.pre; \ |
echo; \ |
echo; \ |
|
if $(CC) $(CFLAGS) -Werror -o test-ohash test-ohash.c >> config.log 2>&1; then \ |
|
echo '#define HAVE_OHASH'; \ |
|
rm test-ohash; \ |
|
fi; \ |
if $(CC) $(CFLAGS) -Werror -o test-fgetln test-fgetln.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -o test-fgetln test-fgetln.c >> config.log 2>&1; then \ |
echo '#define HAVE_FGETLN'; \ |
echo '#define HAVE_FGETLN'; \ |
rm test-fgetln; \ |
rm test-fgetln; \ |