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
29 lines
661 B
Makefile
29 lines
661 B
Makefile
# $NetBSD: Makefile,v 1.6 2014/03/07 18:37:48 christos Exp $
|
|
|
|
LIB= sqlite3
|
|
INCS= sqlite3.h sqlite3ext.h
|
|
INCSDIR= /usr/include
|
|
|
|
SRCS= sqlite3.c
|
|
|
|
CFLAGS+= -DNDEBUG
|
|
|
|
FILES+= sqlite3.pc
|
|
FILESOWN_sqlite3.pc= ${BINOWN}
|
|
FILESGRP_sqlite3.pc= ${BINGRP}
|
|
FILESMODE_sqlite3.pc= ${NONBINMODE}
|
|
FILESDIR_sqlite3.pc= /usr/lib/pkgconfig
|
|
|
|
CLEANFILES+=sqlite3.pc
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
all: sqlite3.pc
|
|
dependall: all
|
|
|
|
sqlite3.pc: ${SRCDIR}/sqlite3.h sqlite3.pc.in
|
|
@(V=$$( (echo '#include <sqlite3.h>'; echo SQLITE_VERSION) | \
|
|
${HOST_CC} -E -I${SRCDIR} - | tail -1 | tr -d '"') && \
|
|
${TOOL_SED} -e s/@VERSION@/$$V/ < ${.CURDIR}/sqlite3.pc.in \
|
|
> ${.TARGET})
|