Skip to content

Commit 30cff01

Browse files
committed
Rebrand shell to libsql
Let's be clear that we're a separate project. Original executable name is preserved for compatibility with existing scripts. (Eventually we should move the shell implementation to Rust, and then we'll probably diverge)
1 parent 7130d2a commit 30cff01

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ srcck1
5454
test-out.txt
5555
test/rust_suite/target
5656
testfixture
57+
libsql

Makefile.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ ST_OPT = -DSQLITE_OS_KV_OPTIONAL
651651
# This is the default Makefile target. The objects listed here
652652
# are what get build when you type just "make" with no arguments.
653653
#
654-
all: sqlite3.h libsqlite3.la sqlite3$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la)
654+
all: sqlite3.h libsqlite3.la sqlite3$(TEXE) libsql$(TEXE) $(HAVE_TCL:1=libtclsqlite3.la)
655655

656656
Makefile: $(TOP)/Makefile.in
657657
./config.status
@@ -675,6 +675,9 @@ sqlite3$(TEXE): shell.c sqlite3.c
675675
shell.c sqlite3.c \
676676
$(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
677677

678+
libsql$(TEXE): sqlite3$(TEXE)
679+
cp sqlite3$(TEXE) libsql$(TEXE)
680+
678681
sqldiff$(TEXE): $(TOP)/tool/sqldiff.c sqlite3.lo sqlite3.h
679682
$(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.lo $(TLIBS)
680683

@@ -1494,7 +1497,7 @@ tcl_install: lib_install libtclsqlite3.la pkgIndex.tcl
14941497
$(INSTALL) -m 0644 pkgIndex.tcl $(DESTDIR)$(TCLLIBDIR)
14951498

14961499
clean:
1497-
rm -f *.lo *.la *.o sqlite3$(TEXE) libsqlite3.la
1500+
rm -f *.lo *.la *.o sqlite3$(TEXE) libsql$(TEXE) libsqlite3.la
14981501
rm -f sqlite3.h opcodes.*
14991502
rm -rf .libs .deps
15001503
rm -f lemon$(BEXE) lempar.c parse.* sqlite*.tar.gz

0 commit comments

Comments
 (0)