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>
5 # Copyright 2016 Nexenta Systems, Inc. All rights reserved.
6 #
7
8 # Make the SO name unlikely to conflict with any other
9 # libsqlite that might also be found on the system.
10 LIBRARY = libsqlite-sys.a
11
12 VERS = .2.8.15
13 OBJECTS = \
14 attach.o \
15 auth.o \
16 btree.o \
17 btree_rb.o \
18 build.o \
19 copy.o \
20 date.o \
21 delete.o \
22 encode.o \
23 expr.o \
24 func.o \
25 hash.o \
82 $(SRCDIR)/random.c \
83 $(SRCDIR)/select.c \
84 $(SRCDIR)/table.c \
85 $(SRCDIR)/tokenize.c \
86 $(SRCDIR)/update.c \
87 $(SRCDIR)/util.c \
88 $(SRCDIR)/vacuum.c \
89 $(SRCDIR)/vdbe.c \
90 $(SRCDIR)/vdbeaux.c \
91 $(SRCDIR)/where.c \
92 $(SRCDIR)/trigger.c
93
94 MYCPPFLAGS = -D_REENTRANT -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I.. -I$(SRCDIR)
95 CPPFLAGS += $(MYCPPFLAGS)
96
97 CERRWARN += -_gcc=-Wno-implicit-function-declaration
98 CERRWARN += -_gcc=-Wno-uninitialized
99 CERRWARN += -_gcc=-Wno-unused-function
100 CERRWARN += -_gcc=-Wno-unused-label
101
102 MAPFILES = ../mapfile-sqlite
103
104 # headers generated here
105 GENHDR = opcodes.h parse.h
106
107 # Header files used by all library source files.
108 #
109 HDR = \
110 $(GENHDR) \
111 $(SRCDIR)/btree.h \
112 $(SRCDIR)/config.h \
113 $(SRCDIR)/hash.h \
114 $(SRCDIR)/os.h \
115 ../sqlite.h \
116 $(SRCDIR)/sqliteInt.h \
117 $(SRCDIR)/vdbe.h \
118 $(SRCDIR)/vdbeInt.h
119
120 #
121 # Sources used for test harness
|
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>
5 # Copyright 2016 Nexenta Systems, Inc. All rights reserved.
6 # Copyright (c) 2018, Joyent, Inc.
7 #
8
9 # Make the SO name unlikely to conflict with any other
10 # libsqlite that might also be found on the system.
11 LIBRARY = libsqlite-sys.a
12
13 VERS = .2.8.15
14 OBJECTS = \
15 attach.o \
16 auth.o \
17 btree.o \
18 btree_rb.o \
19 build.o \
20 copy.o \
21 date.o \
22 delete.o \
23 encode.o \
24 expr.o \
25 func.o \
26 hash.o \
83 $(SRCDIR)/random.c \
84 $(SRCDIR)/select.c \
85 $(SRCDIR)/table.c \
86 $(SRCDIR)/tokenize.c \
87 $(SRCDIR)/update.c \
88 $(SRCDIR)/util.c \
89 $(SRCDIR)/vacuum.c \
90 $(SRCDIR)/vdbe.c \
91 $(SRCDIR)/vdbeaux.c \
92 $(SRCDIR)/where.c \
93 $(SRCDIR)/trigger.c
94
95 MYCPPFLAGS = -D_REENTRANT -DTHREADSAFE=1 -DHAVE_USLEEP=1 -I. -I.. -I$(SRCDIR)
96 CPPFLAGS += $(MYCPPFLAGS)
97
98 CERRWARN += -_gcc=-Wno-implicit-function-declaration
99 CERRWARN += -_gcc=-Wno-uninitialized
100 CERRWARN += -_gcc=-Wno-unused-function
101 CERRWARN += -_gcc=-Wno-unused-label
102
103 # not linted
104 SMATCH=off
105
106 MAPFILES = ../mapfile-sqlite
107
108 # headers generated here
109 GENHDR = opcodes.h parse.h
110
111 # Header files used by all library source files.
112 #
113 HDR = \
114 $(GENHDR) \
115 $(SRCDIR)/btree.h \
116 $(SRCDIR)/config.h \
117 $(SRCDIR)/hash.h \
118 $(SRCDIR)/os.h \
119 ../sqlite.h \
120 $(SRCDIR)/sqliteInt.h \
121 $(SRCDIR)/vdbe.h \
122 $(SRCDIR)/vdbeInt.h
123
124 #
125 # Sources used for test harness
|