Makefile.com (91d7f85e) Makefile.com (7b07063d)
1#
2# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3# Use is subject to license terms.
1#
2# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3# Use is subject to license terms.
4# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
4#
5
6# Make the SO name unlikely to conflict with any other
7# libsqlite that might also be found on the system.
8LIBRARY = libsqlite-sys.a
9
10VERS = .2.8.15
11OBJECTS = \

--- 202 unchanged lines hidden (view full) ---

214 $(LD) -r -o $(NATIVERELOC) $(OBJS:%.o=%-native.o)
215
216opcodes.h: $(SRCDIR)/vdbe.c
217 @echo "Generating $@"; \
218 $(RM) -f $@ ; \
219 echo '/* Automatically generated file. Do not edit */' > $@ ; \
220 grep '^case OP_' $(SRCDIR)/vdbe.c | \
221 sed -e 's/://' | \
5#
6
7# Make the SO name unlikely to conflict with any other
8# libsqlite that might also be found on the system.
9LIBRARY = libsqlite-sys.a
10
11VERS = .2.8.15
12OBJECTS = \

--- 202 unchanged lines hidden (view full) ---

215 $(LD) -r -o $(NATIVERELOC) $(OBJS:%.o=%-native.o)
216
217opcodes.h: $(SRCDIR)/vdbe.c
218 @echo "Generating $@"; \
219 $(RM) -f $@ ; \
220 echo '/* Automatically generated file. Do not edit */' > $@ ; \
221 grep '^case OP_' $(SRCDIR)/vdbe.c | \
222 sed -e 's/://' | \
222 awk '{printf "#define %-30s %3d\n", $$2, ++cnt}' >> $@
223 $(AWK) '{printf "#define %-30s %3d\n", $$2, ++cnt}' >> $@
223
224opcodes.c: $(SRCDIR)/vdbe.c
225 @echo "Generating $@"; \
226 $(RM) -f $@ ; \
227 echo '/* Automatically generated file. Do not edit */' > $@ ; \
228 echo 'char *sqliteOpcodeNames[] = { "???", ' >> $@ ; \
229 grep '^case OP_' $(SRCDIR)/vdbe.c | \
230 sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >> $@ ; \

--- 54 unchanged lines hidden ---
224
225opcodes.c: $(SRCDIR)/vdbe.c
226 @echo "Generating $@"; \
227 $(RM) -f $@ ; \
228 echo '/* Automatically generated file. Do not edit */' > $@ ; \
229 echo 'char *sqliteOpcodeNames[] = { "???", ' >> $@ ; \
230 grep '^case OP_' $(SRCDIR)/vdbe.c | \
231 sed -e 's/^.*OP_/ "/' -e 's/:.*$$/", /' >> $@ ; \

--- 54 unchanged lines hidden ---