1 # $NetBSD: Makefile,v 1.6 2014/03/07 18:37:48 christos Exp $
4 INCS
= sqlite3.h sqlite3ext.h
12 FILESOWN_sqlite3.
pc= ${BINOWN}
13 FILESGRP_sqlite3.
pc= ${BINGRP}
14 FILESMODE_sqlite3.
pc= ${NONBINMODE}
15 FILESDIR_sqlite3.
pc= /usr
/lib
/pkgconfig
17 CLEANFILES
+=sqlite3.
pc
22 .if
!empty
(DBG
:M-Og
) ||
!empty
(CFLAGS
:M-Og
) || \
23 !empty
(DBG
:M-g
) ||
!empty
(CFLAGS
:M-g
)
24 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Og
25 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
27 .
endif # defined(__MINIX)
32 sqlite3.
pc: ${SRCDIR}/sqlite3.h sqlite3.
pc.in
33 @
(V
=$$( (echo
'#include <sqlite3.h>'; echo SQLITE_VERSION
) | \
34 ${HOST_CC} -E
-I
${SRCDIR} - | tail
-1 | tr
-d
'"') && \
35 ${TOOL_SED} -e s
/@VERSION@
/$$V/ < ${.CURDIR
}/sqlite3.
pc.in \