version 1.433, 2014/08/08 20:34:06 |
version 1.437, 2014/08/11 01:39:00 |
|
|
# |
# |
CFLAGS += -DUSE_WCHAR |
CFLAGS += -DUSE_WCHAR |
|
|
CFLAGS += -g -DHAVE_CONFIG_H |
CFLAGS += -g -W -Wall -Wstrict-prototypes |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings |
CFLAGS += -Wno-unused-parameter -Wwrite-strings |
PREFIX = /usr/local |
PREFIX = /usr/local |
BINDIR = $(PREFIX)/bin |
BINDIR = $(PREFIX)/bin |
INCLUDEDIR = $(PREFIX)/include/mandoc |
INCLUDEDIR = $(PREFIX)/include/mandoc |
Line 52 INSTALL_MAN = $(INSTALL_DATA) |
|
Line 52 INSTALL_MAN = $(INSTALL_DATA) |
|
|
|
# --- user settings related to database support ------------------------ |
# --- user settings related to database support ------------------------ |
|
|
# If you want to build without database support, for example to avoid |
# Building apropos(1) and makewhatis(8) requires SQLite3. |
# the dependency on SQLite3, comment the following line. |
# To avoid that dependency, comment the following line. |
# However, you won't get apropos(1) and makewhatis(8) in that case. |
|
# |
# |
BUILD_TARGETS += db-build |
BUILD_TARGETS += db-build |
|
|
Line 134 SRCS = apropos.c \ |
|
Line 133 SRCS = apropos.c \ |
|
cgi.c \ |
cgi.c \ |
chars.c \ |
chars.c \ |
compat_fgetln.c \ |
compat_fgetln.c \ |
|
compat_fts.c \ |
compat_getsubopt.c \ |
compat_getsubopt.c \ |
compat_ohash.c \ |
compat_ohash.c \ |
compat_reallocarray.c \ |
compat_reallocarray.c \ |
Line 200 DISTFILES = INSTALL \ |
|
Line 200 DISTFILES = INSTALL \ |
|
att.in \ |
att.in \ |
cgi.h.example \ |
cgi.h.example \ |
chars.in \ |
chars.in \ |
|
compat_fts.h \ |
compat_ohash.h \ |
compat_ohash.h \ |
config.h.post \ |
config.h.post \ |
config.h.pre \ |
config.h.pre \ |
Line 281 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
Line 282 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
read.o |
read.o |
|
|
COMPAT_OBJS = compat_fgetln.o \ |
COMPAT_OBJS = compat_fgetln.o \ |
|
compat_fts.o \ |
compat_getsubopt.o \ |
compat_getsubopt.o \ |
compat_ohash.o \ |
compat_ohash.o \ |
compat_reallocarray.o \ |
compat_reallocarray.o \ |
Line 488 mdocml.tar.gz: $(DISTFILES) |
|
Line 490 mdocml.tar.gz: $(DISTFILES) |
|
|
|
config.h: configure config.h.pre config.h.post $(TESTSRCS) |
config.h: configure config.h.pre config.h.post $(TESTSRCS) |
rm -f config.log |
rm -f config.log |
CC="$(CC)" CFLAGS="$(CFLAGS)" VERSION="$(VERSION)" ./configure |
CC="$(CC)" CFLAGS="$(CFLAGS)" DBLIB="$(DBLIB)" \ |
|
VERSION="$(VERSION)" ./configure |
|
|
.PHONY: base-install cgi-install db-install install www-install |
.PHONY: base-install cgi-install db-install install www-install |
.PHONY: clean depend |
.PHONY: clean depend |