mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
c8cb8c79ba
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17509 c7de825b-a66e-492c-adef-691d508d4ae1
19 lines
519 B
Text
19 lines
519 B
Text
|
|
TARGETS= CMakeLists.txt
|
|
|
|
.DELETE_ON_ERROR:
|
|
.PHONY: CMakeLists.txt #It depends on the contents of the TOKUDB_DIR variable, simpler to just make it phony then depend on that.
|
|
ifeq ($(TOKUDB_DIR),)
|
|
#error
|
|
CMakeLists.txt: CMakeLists.in
|
|
false #Need to define TOKUDB_DIR
|
|
else
|
|
CMakeLists.txt: CMakeLists.in
|
|
sed -e "s?TOKUDB_DIR_REPLACE_ME?$(TOKUDB_DIR)?g" \
|
|
-e "s?TOKUDB_OBJ_DIR_REPLACE_ME?$(TOKUDB_OBJ_DIR)?g" \
|
|
-e "s?TOKUDB_VERSION_REPLACE_ME?$(TOKUDB_VERSION)?g" < $< > $@
|
|
endif
|
|
|
|
clean:
|
|
rm -f $(TARGETS)
|
|
|