Commit 3e533b15 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Improve the Makefiles. Is #801 actually fixed? Addresses #801.

git-svn-id: file:///svn/tokudb@3887 c7de825b-a66e-492c-adef-691d508d4ae1
parent be9c23d0
...@@ -30,14 +30,15 @@ SHARED=-shared $(EXPORTMAP) ...@@ -30,14 +30,15 @@ SHARED=-shared $(EXPORTMAP)
RPATHNAME= RPATHNAME=
endif endif
build: buildlocktrees build: buildlocktrees lib
$(MAKE) $(LIBRARY) $(LIBNAME).a $(TLIBNAME).a $(TLIBRARY)
cd tests;$(MAKE) build cd tests;$(MAKE) build
if ! diff $(LIBNAME).a ../lib/$(LIBNAME).a >/dev/null 2>&1; then cp $(LIBNAME).a ../lib/; fi if ! diff $(LIBNAME).a ../lib/$(LIBNAME).a >/dev/null 2>&1; then cp $(LIBNAME).a ../lib/; fi
if ! diff $(LIBRARY) ../lib/$(LIBRARY) > /dev/null 2>&1; then cp $(LIBRARY) ../lib/; fi if ! diff $(LIBRARY) ../lib/$(LIBRARY) > /dev/null 2>&1; then cp $(LIBRARY) ../lib/; fi
if ! diff $(TLIBNAME).a ../lib/$(TLIBNAME).a >/dev/null 2>&1; then cp $(TLIBNAME).a ../lib/; fi if ! diff $(TLIBNAME).a ../lib/$(TLIBNAME).a >/dev/null 2>&1; then cp $(TLIBNAME).a ../lib/; fi
if ! diff $(TLIBRARY) ../lib/$(TLIBRARY) > /dev/null 2>&1; then cp $(TLIBRARY) ../lib/; fi if ! diff $(TLIBRARY) ../lib/$(TLIBRARY) > /dev/null 2>&1; then cp $(TLIBRARY) ../lib/; fi
lib: $(LIBRARY) $(LIBNAME).a $(TLIBNAME).a $(TLIBRARY)
.PHONY: buildlocktrees .PHONY: buildlocktrees
buildlocktrees: buildlocktrees:
cd range_tree;$(MAKE) build cd range_tree;$(MAKE) build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment