version 1.477, 2015/11/07 17:58:55 |
version 1.483, 2016/05/18 23:51:16 |
|
|
# $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 |
|
|
TESTSRCS = test-dirent-namlen.c \ |
TESTSRCS = test-dirent-namlen.c \ |
test-err.c \ |
test-err.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 \ |
|
|
chars.c \ |
chars.c \ |
compat_err.c \ |
compat_err.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 136 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 206 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
Line 209 LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ |
|
|
|
COMPAT_OBJS = compat_err.o \ |
COMPAT_OBJS = compat_err.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 261 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 285 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 \ |
Line 396 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 --- |
|
|