version 1.403, 2013/10/05 20:43:20 |
version 1.406, 2013/12/31 23:03:47 |
|
|
# |
# |
# CFLAGS += -DOSNAME="\"OpenBSD 5.4\"" |
# CFLAGS += -DOSNAME="\"OpenBSD 5.4\"" |
|
|
VERSION = 1.12.2 |
VERSION = 1.12.3 |
VDATE = 05 October 2013 |
VDATE = 31 December 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 |
|
|
# Linux requires -pthread to statically link with libdb. |
# Linux requires -pthread to statically link with libdb. |
#STATIC += -pthread |
#STATIC += -pthread |
|
|
CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" |
CFLAGS += -I/usr/local/include -g -DHAVE_CONFIG_H |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
PREFIX = /usr/local |
PREFIX = /usr/local |
WWWPREFIX = /var/www |
WWWPREFIX = /var/www |
Line 67 SRCS = Makefile \ |
|
Line 67 SRCS = Makefile \ |
|
chars.in \ |
chars.in \ |
compat_fgetln.c \ |
compat_fgetln.c \ |
compat_getsubopt.c \ |
compat_getsubopt.c \ |
|
compat_strcasestr.c \ |
compat_strlcat.c \ |
compat_strlcat.c \ |
compat_strlcpy.c \ |
compat_strlcpy.c \ |
|
compat_strsep.c \ |
config.h.post \ |
config.h.post \ |
config.h.pre \ |
config.h.pre \ |
demandoc.1 \ |
demandoc.1 \ |
Line 190 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
Line 192 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
COMPAT_OBJS = compat_fgetln.o \ |
COMPAT_OBJS = compat_fgetln.o \ |
compat_getsubopt.o \ |
compat_getsubopt.o \ |
compat_ohash.o \ |
compat_ohash.o \ |
|
compat_strcasestr.o \ |
compat_strlcat.o \ |
compat_strlcat.o \ |
compat_strlcpy.o |
compat_strlcpy.o \ |
|
compat_strsep.o |
|
|
arch.o: arch.in |
arch.o: arch.in |
att.o: att.in |
att.o: att.in |
Line 357 config.h: config.h.pre config.h.post |
|
Line 361 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; \ |
|
echo '#define VERSION "$(VERSION)"'; \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-ohash test-ohash.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-ohash test-ohash.c >> config.log 2>&1; then \ |
echo '#define HAVE_OHASH'; \ |
echo '#define HAVE_OHASH'; \ |
rm test-ohash; \ |
rm test-ohash; \ |
Line 384 config.h: config.h.pre config.h.post |
|
Line 389 config.h: config.h.pre config.h.post |
|
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \ |
if $(CC) $(CFLAGS) -Werror -Wno-unused -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 -Wno-unused -o test-strcasestr test-strcasestr.c >> config.log 2>&1; then \ |
|
echo '#define HAVE_STRCASESTR'; \ |
|
rm test-strcasestr; \ |
|
fi; \ |
|
if $(CC) $(CFLAGS) -Werror -Wno-unused -o test-strsep test-strsep.c >> config.log 2>&1; then \ |
|
echo '#define HAVE_STRSEP'; \ |
|
rm test-strsep; \ |
fi; \ |
fi; \ |
echo; \ |
echo; \ |
cat config.h.post \ |
cat config.h.post \ |