head	1.8;
access;
symbols
	netbsd-11-0-RC6:1.8
	netbsd-11-0-RC5:1.8
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.10
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.8
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.8
	netbsd-10-0-RC6:1.8
	netbsd-10-0-RC5:1.8
	netbsd-10-0-RC4:1.8
	netbsd-10-0-RC3:1.8
	netbsd-10-0-RC2:1.8
	netbsd-10-0-RC1:1.8
	netbsd-10:1.8.0.6
	netbsd-10-base:1.8
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.4
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.8.0.2
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.34
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.32
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.30
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.5.0.28
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.5.0.26
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.24
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.22
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.20
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.5.0.18
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.16
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.5.0.14
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.12
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.10
	netbsd-7-0-RELEASE:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.5.0.8
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.2.2.1
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.5.0.6
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.5
	riastradh-drm2-base1:1.5
	riastradh-drm2:1.5.0.2
	riastradh-drm2-base:1.5
	netbsd-6-1:1.2.0.12
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.5.0.4
	agc-symver-base:1.5
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.10
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.8
	tls-maxphys-base:1.5
	matt-nb6-plus:1.2.0.6
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.4
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.2
	yamt-pagecache-base:1.2;
locks; strict;
comment	@# @;


1.8
date	2020.11.12.17.53.43;	author nia;	state Exp;
branches;
next	1.7;
commitid	fIMG3Xqyniv3MCvC;

1.7
date	2020.11.08.21.56.48;	author nia;	state Exp;
branches;
next	1.6;
commitid	FhvekElWj5sgf8vC;

1.6
date	2020.10.30.08.41.58;	author martin;	state Exp;
branches;
next	1.5;
commitid	ok0BvoQnH6yS8UtC;

1.5
date	2013.02.14.21.07.25;	author martin;	state Exp;
branches;
next	1.4;

1.4
date	2013.02.14.17.12.23;	author martin;	state Exp;
branches;
next	1.3;

1.3
date	2012.12.16.20.31.07;	author christos;	state Exp;
branches;
next	1.2;

1.2
date	2011.10.16.21.31.15;	author he;	state Exp;
branches
	1.2.2.1
	1.2.8.1;
next	1.1;

1.1
date	2011.10.13.21.40.27;	author joerg;	state Exp;
branches;
next	;

1.2.2.1
date	2013.01.23.00.05.19;	author yamt;	state Exp;
branches;
next	;

1.2.8.1
date	2013.02.25.00.27.42;	author tls;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Revert addition of pthread dependency on sqlite.

It is less trivial than expected and introduced some surprising breakage.
@
text
@# $NetBSD: Makefile,v 1.7 2020/11/08 21:56:48 nia Exp $

PROG=		sqlite3

SRCS=		shell.c

DPADD+=		${LIBSQLITE3} ${LIBEDIT} ${LIBTERIMINFO} ${LIBM}
LDADD+=		-lsqlite3 -ledit -lterminfo -lm

BINDIR=		/usr/bin

.include <bsd.prog.mk>
@


1.7
log
@sqlite: do not build without multithreading support

at least a few pkgsrc packages avoid base sqlite because it fails
this check, and it's probably a surprising performance penalty for
unsuspecting users
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2020/10/30 08:41:58 martin Exp $
d7 2
a8 2
DPADD+=		${LIBSQLITE3} ${LIBEDIT} ${LIBTERIMINFO} ${LIBM} ${LIBPTHREAD}
LDADD+=		-lsqlite3 -ledit -lterminfo -lpthread -lm
@


1.6
log
@libsqlite3 now requires -lm
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2013/02/14 21:07:25 martin Exp $
d7 2
a8 2
DPADD+=		${LIBSQLITE3} ${LIBEDIT} ${LIBTERIMINFO} ${LIBM}
LDADD+=		-lsqlite3 -ledit -lterminfo -lm
@


1.5
log
@Backout previous
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2012/12/16 20:31:07 christos Exp $
d7 2
a8 2
DPADD+=		${LIBSQLITE3} ${LIBEDIT} ${LIBTERIMINFO}
LDADD+=		-lsqlite3 -ledit -lterminfo
@


1.4
log
@When converting long double values to decimal, convert to int via a call
to floor(), so the conversion does not depend on current rounding mode.
Fixes PR port-sparc64/47535.
@
text
@d8 1
a8 1
LDADD+=		-lsqlite3 -ledit -lterminfo -lm
@


1.3
log
@noman is no more
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/10/16 21:31:15 he Exp $
d8 1
a8 1
LDADD+=		-lsqlite3 -ledit -lterminfo
@


1.2
log
@Make this build statically also by linking with -lterminfo as well.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:27 joerg Exp $
a9 2
NOMAN=

@


1.2.8.1
log
@resync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/10/16 21:31:15 he Exp $
d10 2
@


1.2.2.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/10/16 21:31:15 he Exp $
d10 2
@


1.1
log
@Add build glue for SQLite
@
text
@d1 1
a1 1
# $NetBSD$
d7 2
a8 2
DPADD+=		${LIBSQLITE3} ${LIBEDIT}
LDADD+=		-lsqlite3 -ledit
@

