Lionel Sambuc 0a6a1f1d05 NetBSD re-synchronization of the source tree
This brings our tree to NetBSD 7.0, as found on -current on the
10-10-2015.

This updates:
 - LLVM to 3.6.1
 - GCC to GCC 5.1
 - Replace minix/commands/zdump with usr.bin/zdump
 - external/bsd/libelf has moved to /external/bsd/elftoolchain/
 - Import ctwm
 - Drop sprintf from libminc

Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
2016-01-13 20:32:14 +01:00

71 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2014/03/02 22:50:13 jmmv Exp $
NOLINT= # defined
.include <bsd.init.mk>
LIB= atf-c
CWARNFLAGS+= -Wno-format
CWARNFLAGS+= -Wno-missing-noreturn
.PATH: ${SRCDIR}
.PATH: ${SRCDIR}/atf-c
.PATH: ${SRCDIR}/atf-c/detail
.PATH: ${TOPDIR}
config.o: Makefile
WARNS?= 4
SRCS= build.c \
check.c \
config.c \
dynstr.c \
env.c \
error.c \
fs.c \
list.c \
map.c \
process.c \
sanity.c \
text.c \
user.c \
utils.c \
tc.c \
tp.c \
tp_main.c
INCS= build.h \
check.h \
config.h \
defs.h \
error.h \
error_fwd.h \
macros.h \
tc.h \
tp.h \
utils.h
INCSDIR= /usr/include/atf-c
INCS+= atf-c.h
INCSDIR_atf-c.h=/usr/include
MAN= atf-c-api.3
.if ${MKSHARE} != "no"
FILES+= atf-c.pc
FILESDIR= /usr/lib/pkgconfig
realall: atf-c.pc
atf-c.pc: Makefile atf-c.pc.in atf-version.txt
${TOOL_SED} -e "s,__ATF_VERSION__,$$(cat atf-version.txt),g" \
-e 's,__CC__,gcc,g' \
-e 's,__INCLUDEDIR__,/usr/include,g' \
-e 's,__LIBDIR__,/usr/lib,g' \
<${SRCDIR}/atf-c/atf-c.pc.in >atf-c.pc
CLEANFILES+= atf-c.pc
.endif
.include <bsd.lib.mk>