initial commit
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
# This file is generated by gyp; do not edit.
|
||||
|
||||
TOOLSET := target
|
||||
TARGET := action_before_build
|
||||
### Rules for action "unpack_sqlite_dep":
|
||||
quiet_cmd_deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep = ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep $@
|
||||
cmd_deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep = LD_LIBRARY_PATH=$(builddir)/lib.host:$(builddir)/lib.target:$$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd $(srcdir)/deps; mkdir -p $(obj)/gen/sqlite-autoconf-3090100; python ./extract.py ./sqlite-autoconf-3090100.tar.gz "$(obj)/gen"
|
||||
|
||||
$(obj)/gen/sqlite-autoconf-3090100/sqlite3.c: obj := $(abs_obj)
|
||||
$(obj)/gen/sqlite-autoconf-3090100/sqlite3.c: builddir := $(abs_builddir)
|
||||
$(obj)/gen/sqlite-autoconf-3090100/sqlite3.c: TOOLSET := $(TOOLSET)
|
||||
$(obj)/gen/sqlite-autoconf-3090100/sqlite3.c: $(srcdir)/deps/sqlite-autoconf-3090100.tar.gz FORCE_DO_CMD
|
||||
$(call do_cmd,deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep)
|
||||
|
||||
all_deps += $(obj)/gen/sqlite-autoconf-3090100/sqlite3.c
|
||||
action_deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep_outputs := $(obj)/gen/sqlite-autoconf-3090100/sqlite3.c
|
||||
|
||||
|
||||
### Rules for final target.
|
||||
# Build our special outputs first.
|
||||
$(obj).target/deps/action_before_build.stamp: | $(action_deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep_outputs)
|
||||
|
||||
# Preserve order dependency of special output on deps.
|
||||
$(action_deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep_outputs): |
|
||||
|
||||
$(obj).target/deps/action_before_build.stamp: TOOLSET := $(TOOLSET)
|
||||
$(obj).target/deps/action_before_build.stamp: FORCE_DO_CMD
|
||||
$(call do_cmd,touch)
|
||||
|
||||
all_deps += $(obj).target/deps/action_before_build.stamp
|
||||
# Add target alias
|
||||
.PHONY: action_before_build
|
||||
action_before_build: $(obj).target/deps/action_before_build.stamp
|
||||
|
||||
# Add target alias to "all" target.
|
||||
.PHONY: all
|
||||
all: action_before_build
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
# This file is generated by gyp; do not edit.
|
||||
|
||||
export builddir_name ?= ./build/deps/.
|
||||
.PHONY: all
|
||||
all:
|
||||
$(MAKE) -C .. action_before_build sqlite3
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
# This file is generated by gyp; do not edit.
|
||||
|
||||
TOOLSET := target
|
||||
TARGET := sqlite3
|
||||
DEFS_Debug := \
|
||||
'-DNODE_GYP_MODULE_NAME=sqlite3' \
|
||||
'-D_LARGEFILE_SOURCE' \
|
||||
'-D_FILE_OFFSET_BITS=64' \
|
||||
'-D_REENTRANT=1' \
|
||||
'-DSQLITE_THREADSAFE=1' \
|
||||
'-DSQLITE_ENABLE_FTS3' \
|
||||
'-DSQLITE_ENABLE_JSON1' \
|
||||
'-DSQLITE_ENABLE_RTREE' \
|
||||
'-DDEBUG' \
|
||||
'-D_DEBUG'
|
||||
|
||||
# Flags passed to all source files.
|
||||
CFLAGS_Debug := \
|
||||
-std=c99 \
|
||||
-fPIC \
|
||||
-pthread \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wno-unused-parameter \
|
||||
-include ../src/gcc-preinclude.h \
|
||||
-g \
|
||||
-O0
|
||||
|
||||
# Flags passed to only C files.
|
||||
CFLAGS_C_Debug :=
|
||||
|
||||
# Flags passed to only C++ files.
|
||||
CFLAGS_CC_Debug := \
|
||||
-fno-rtti \
|
||||
-fno-exceptions \
|
||||
-std=gnu++0x \
|
||||
-Wno-unused-value \
|
||||
-include ../src/gcc-preinclude.h
|
||||
|
||||
INCS_Debug := \
|
||||
-I/home/pi/.node-gyp/4.2.1/include/node \
|
||||
-I/home/pi/.node-gyp/4.2.1/src \
|
||||
-I/home/pi/.node-gyp/4.2.1/deps/uv/include \
|
||||
-I/home/pi/.node-gyp/4.2.1/deps/v8/include \
|
||||
-I$(obj)/gen/sqlite-autoconf-3090100
|
||||
|
||||
DEFS_Release := \
|
||||
'-DNODE_GYP_MODULE_NAME=sqlite3' \
|
||||
'-D_LARGEFILE_SOURCE' \
|
||||
'-D_FILE_OFFSET_BITS=64' \
|
||||
'-D_REENTRANT=1' \
|
||||
'-DSQLITE_THREADSAFE=1' \
|
||||
'-DSQLITE_ENABLE_FTS3' \
|
||||
'-DSQLITE_ENABLE_JSON1' \
|
||||
'-DSQLITE_ENABLE_RTREE' \
|
||||
'-DNDEBUG'
|
||||
|
||||
# Flags passed to all source files.
|
||||
CFLAGS_Release := \
|
||||
-std=c99 \
|
||||
-fPIC \
|
||||
-pthread \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wno-unused-parameter \
|
||||
-include ../src/gcc-preinclude.h \
|
||||
-O3 \
|
||||
-ffunction-sections \
|
||||
-fdata-sections \
|
||||
-fno-omit-frame-pointer
|
||||
|
||||
# Flags passed to only C files.
|
||||
CFLAGS_C_Release :=
|
||||
|
||||
# Flags passed to only C++ files.
|
||||
CFLAGS_CC_Release := \
|
||||
-fno-rtti \
|
||||
-fno-exceptions \
|
||||
-std=gnu++0x \
|
||||
-Wno-unused-value \
|
||||
-include ../src/gcc-preinclude.h
|
||||
|
||||
INCS_Release := \
|
||||
-I/home/pi/.node-gyp/4.2.1/include/node \
|
||||
-I/home/pi/.node-gyp/4.2.1/src \
|
||||
-I/home/pi/.node-gyp/4.2.1/deps/uv/include \
|
||||
-I/home/pi/.node-gyp/4.2.1/deps/v8/include \
|
||||
-I$(obj)/gen/sqlite-autoconf-3090100
|
||||
|
||||
OBJS := \
|
||||
$(obj).target/$(TARGET)/gen/sqlite-autoconf-3090100/sqlite3.o
|
||||
|
||||
# Add to the list of files we specially track dependencies for.
|
||||
all_deps += $(OBJS)
|
||||
|
||||
# Make sure our dependencies are built before any of us.
|
||||
$(OBJS): | $(obj).target/deps/action_before_build.stamp
|
||||
|
||||
# CFLAGS et al overrides must be target-local.
|
||||
# See "Target-specific Variable Values" in the GNU Make manual.
|
||||
$(OBJS): TOOLSET := $(TOOLSET)
|
||||
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
||||
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
||||
|
||||
# Suffix rules, putting all outputs into $(obj).
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
# Try building from generated source, too.
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
||||
@$(call do_cmd,cc,1)
|
||||
|
||||
# End of this set of suffix rules
|
||||
### Rules for final target.
|
||||
LDFLAGS_Debug := \
|
||||
-pthread \
|
||||
-rdynamic
|
||||
|
||||
LDFLAGS_Release := \
|
||||
-pthread \
|
||||
-rdynamic
|
||||
|
||||
LIBS :=
|
||||
|
||||
$(obj).target/deps/sqlite3.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
||||
$(obj).target/deps/sqlite3.a: LIBS := $(LIBS)
|
||||
$(obj).target/deps/sqlite3.a: TOOLSET := $(TOOLSET)
|
||||
$(obj).target/deps/sqlite3.a: $(OBJS) FORCE_DO_CMD
|
||||
$(call do_cmd,alink)
|
||||
|
||||
all_deps += $(obj).target/deps/sqlite3.a
|
||||
# Add target alias
|
||||
.PHONY: sqlite3
|
||||
sqlite3: $(obj).target/deps/sqlite3.a
|
||||
|
||||
# Add target alias to "all" target.
|
||||
.PHONY: all
|
||||
all: sqlite3
|
||||
|
||||
# Add target alias
|
||||
.PHONY: sqlite3
|
||||
sqlite3: $(builddir)/sqlite3.a
|
||||
|
||||
# Copy this to the static library output path.
|
||||
$(builddir)/sqlite3.a: TOOLSET := $(TOOLSET)
|
||||
$(builddir)/sqlite3.a: $(obj).target/deps/sqlite3.a FORCE_DO_CMD
|
||||
$(call do_cmd,copy)
|
||||
|
||||
all_deps += $(builddir)/sqlite3.a
|
||||
# Short alias for building this static library.
|
||||
.PHONY: sqlite3.a
|
||||
sqlite3.a: $(obj).target/deps/sqlite3.a $(builddir)/sqlite3.a
|
||||
|
||||
# Add static library to "all" target.
|
||||
.PHONY: all
|
||||
all: $(builddir)/sqlite3.a
|
||||
|
||||
Reference in New Issue
Block a user