version 1.475, 2015/11/07 13:05:14 |
version 1.484, 2016/07/07 23:46:36 |
|
|
# $Id$ |
# $Id$ |
# |
# |
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> |
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> |
# Copyright (c) 2011, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> |
# Copyright (c) 2011, 2013-2016 Ingo Schwarze <schwarze@openbsd.org> |
# |
# |
# Permission to use, copy, modify, and distribute this software for any |
# Permission to use, copy, modify, and distribute this software for any |
# purpose with or without fee is hereby granted, provided that the above |
# purpose with or without fee is hereby granted, provided that the above |
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
|
VERSION = 1.13.3 |
VERSION = 1.13.4 |
|
|
# === LIST OF FILES ==================================================== |
# === LIST OF FILES ==================================================== |
|
|
TESTSRCS = test-dirent-namlen.c \ |
TESTSRCS = test-dirent-namlen.c \ |
test-err.c \ |
test-err.c \ |
test-fgetln.c \ |
|
test-fts.c \ |
test-fts.c \ |
|
test-getline.c \ |
test-getsubopt.c \ |
test-getsubopt.c \ |
test-isblank.c \ |
test-isblank.c \ |
test-mkdtemp.c \ |
test-mkdtemp.c \ |
|
|
cgi.c \ |
cgi.c \ |
chars.c \ |
chars.c \ |
compat_err.c \ |
compat_err.c \ |
compat_fgetln.c \ |
|
compat_fts.c \ |
compat_fts.c \ |
|
compat_getline.c \ |
compat_getsubopt.c \ |
compat_getsubopt.c \ |
compat_isblank.c \ |
compat_isblank.c \ |
compat_mkdtemp.c \ |
compat_mkdtemp.c \ |
Line 138 DISTFILES = INSTALL \ |
|
Line 138 DISTFILES = INSTALL \ |
|
makewhatis.8 \ |
makewhatis.8 \ |
man.1 \ |
man.1 \ |
man.7 \ |
man.7 \ |
|
man.cgi.3 \ |
man.cgi.8 \ |
man.cgi.8 \ |
man.conf.5 \ |
man.conf.5 \ |
man.h \ |
man.h \ |
Line 207 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
Line 208 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
read.o |
read.o |
|
|
COMPAT_OBJS = compat_err.o \ |
COMPAT_OBJS = compat_err.o \ |
compat_fgetln.o \ |
|
compat_fts.o \ |
compat_fts.o \ |
|
compat_getline.o \ |
compat_getsubopt.o \ |
compat_getsubopt.o \ |
compat_isblank.o \ |
compat_isblank.o \ |
compat_mkdtemp.o \ |
compat_mkdtemp.o \ |
Line 264 MANPAGE_OBJS = manpage.o mansearch.o mansearch_const. |
|
Line 265 MANPAGE_OBJS = manpage.o mansearch.o mansearch_const. |
|
|
|
DEMANDOC_OBJS = demandoc.o |
DEMANDOC_OBJS = demandoc.o |
|
|
SOELIM_OBJS = soelim.o compat_stringlist.o |
SOELIM_OBJS = soelim.o \ |
|
compat_err.o \ |
|
compat_getline.o \ |
|
compat_progname.o \ |
|
compat_reallocarray.o \ |
|
compat_stringlist.o |
|
|
WWW_MANS = apropos.1.html \ |
WWW_MANS = apropos.1.html \ |
demandoc.1.html \ |
demandoc.1.html \ |
Line 288 WWW_MANS = apropos.1.html \ |
|
Line 294 WWW_MANS = apropos.1.html \ |
|
roff.7.html \ |
roff.7.html \ |
tbl.7.html \ |
tbl.7.html \ |
makewhatis.8.html \ |
makewhatis.8.html \ |
|
man.cgi.3.html \ |
man.cgi.8.html \ |
man.cgi.8.html \ |
man.h.html \ |
man.h.html \ |
manconf.h.html \ |
manconf.h.html \ |
|
|
|
|
base-install: base-build |
base-install: base-build |
mkdir -p $(DESTDIR)$(BINDIR) |
mkdir -p $(DESTDIR)$(BINDIR) |
mkdir -p $(DESTDIR)$(EXAMPLEDIR) |
|
mkdir -p $(DESTDIR)$(LIBDIR) |
mkdir -p $(DESTDIR)$(LIBDIR) |
mkdir -p $(DESTDIR)$(INCLUDEDIR) |
mkdir -p $(DESTDIR)$(INCLUDEDIR) |
mkdir -p $(DESTDIR)$(MANDIR)/man1 |
mkdir -p $(DESTDIR)$(MANDIR)/man1 |
Line 400 Makefile.local config.h: configure ${TESTSRCS} |
|
Line 406 Makefile.local config.h: configure ${TESTSRCS} |
|
@exit 1 |
@exit 1 |
|
|
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
$(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
ar rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS) |
|
|
mandoc: $(MAIN_OBJS) libmandoc.a |
mandoc: $(MAIN_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(MAIN_OBJS) libmandoc.a $(DBLIB) |
$(CC) -o $@ $(MAIN_OBJS) libmandoc.a $(LDADD) |
|
|
manpage: $(MANPAGE_OBJS) libmandoc.a |
manpage: $(MANPAGE_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(MANPAGE_OBJS) libmandoc.a $(DBLIB) |
$(CC) -o $@ $(MANPAGE_OBJS) libmandoc.a $(LDADD) |
|
|
man.cgi: $(CGI_OBJS) libmandoc.a |
man.cgi: $(CGI_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB) |
$(CC) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(LDADD) |
|
|
demandoc: $(DEMANDOC_OBJS) libmandoc.a |
demandoc: $(DEMANDOC_OBJS) libmandoc.a |
$(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(DBLIB) |
$(CC) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(LDADD) |
|
|
soelim: $(SOELIM_OBJS) compat_reallocarray.o |
soelim: $(SOELIM_OBJS) |
$(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS) compat_reallocarray.o |
$(CC) -o $@ $(SOELIM_OBJS) |
|
|
# --- maintainer targets --- |
# --- maintainer targets --- |
|
|