mariadb/storage/tokudb/Makefile.win
Yoni Fogel e6de22124c Addresses #1504 Made CMakeLists.txt Phony.
git-svn-id: file:///svn/mysql/tokudb-engine/src@9834 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00

17 lines
396 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 "s?TOKUDB_DIR_REPLACE_ME?$(TOKUDB_DIR)?g" < $< > $@
endif
clean:
rm -f $(TARGETS)