|
|
@ -658,7 +658,7 @@ ifneq ($(filter check-headers, $(MAKECMDGOALS)),) |
|
|
|
# TODO: add/support JNI headers
|
|
|
|
# TODO: add/support JNI headers
|
|
|
|
DEV_HEADER_DIRS := $(sort include/ $(dir $(ALL_SOURCES)))
|
|
|
|
DEV_HEADER_DIRS := $(sort include/ $(dir $(ALL_SOURCES)))
|
|
|
|
# Some headers like in port/ are platform-specific
|
|
|
|
# Some headers like in port/ are platform-specific
|
|
|
|
DEV_HEADERS := $(shell $(FIND) $(DEV_HEADER_DIRS) -type f -name '*.h' | egrep -v 'port/|plugin/|lua/|range_tree/')
|
|
|
|
DEV_HEADERS := $(shell $(FIND) $(DEV_HEADER_DIRS) -type f -name '*.h' | grep -E -v 'port/|plugin/|lua/|range_tree/')
|
|
|
|
else |
|
|
|
else |
|
|
|
DEV_HEADERS :=
|
|
|
|
DEV_HEADERS :=
|
|
|
|
endif |
|
|
|
endif |
|
|
@ -795,9 +795,9 @@ TOOLS_LIBRARY=$(STATIC_TOOLS_LIBRARY) |
|
|
|
endif |
|
|
|
endif |
|
|
|
STRESS_LIBRARY=$(STATIC_STRESS_LIBRARY)
|
|
|
|
STRESS_LIBRARY=$(STATIC_STRESS_LIBRARY)
|
|
|
|
|
|
|
|
|
|
|
|
ROCKSDB_MAJOR = $(shell egrep "ROCKSDB_MAJOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
ROCKSDB_MAJOR = $(shell grep -E "ROCKSDB_MAJOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
ROCKSDB_MINOR = $(shell egrep "ROCKSDB_MINOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
ROCKSDB_MINOR = $(shell grep -E "ROCKSDB_MINOR.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
ROCKSDB_PATCH = $(shell egrep "ROCKSDB_PATCH.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
ROCKSDB_PATCH = $(shell grep -E "ROCKSDB_PATCH.[0-9]" include/rocksdb/version.h | cut -d ' ' -f 3)
|
|
|
|
|
|
|
|
|
|
|
|
# If NO_UPDATE_BUILD_VERSION is set we don't update util/build_version.cc, but
|
|
|
|
# If NO_UPDATE_BUILD_VERSION is set we don't update util/build_version.cc, but
|
|
|
|
# the file needs to already exist or else the build will fail
|
|
|
|
# the file needs to already exist or else the build will fail
|
|
|
|