Add all: and dependall: tatgets so that sqlite3.pc actually gets built.

This commit is contained in:
dsl 2014-02-19 19:29:33 +00:00
parent c22b5e2a12
commit f00ab5270c
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2014/02/17 20:08:53 christos Exp $
# $NetBSD: Makefile,v 1.5 2014/02/19 19:29:33 dsl Exp $
LIB= sqlite3
INCS= sqlite3.h sqlite3ext.h
@ -18,6 +18,9 @@ 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) | \
${CC} -E -I${SRCDIR} - | tail -1 | tr -d '"') && \