Commit 033a67e7 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

add a rule to run -ipo-c for a windows release build. addresses #1032

git-svn-id: file:///svn/toku/tokudb.1032b@8038 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5c0c7b04
...@@ -66,7 +66,7 @@ TEST_NEWBRT = brt-test-helpers.$(OEXT) ...@@ -66,7 +66,7 @@ TEST_NEWBRT = brt-test-helpers.$(OEXT)
BRT_C_FILES = $(patsubst %,%.c,$(BRT_SOURCES)) BRT_C_FILES = $(patsubst %,%.c,$(BRT_SOURCES))
BRT_O_FILES = $(patsubst %,%.$(OEXT),$(BRT_SOURCES)) BRT_O_FILES = $(patsubst %,%.$(OEXT),$(BRT_SOURCES))
newbrt.o: $(BRT_C_FILES) $(DEPEND_COMPILE) newbrt.$(OEXT): $(BRT_C_FILES) $(DEPEND_COMPILE)
$(MAYBEATSIGN)$(CC) $(BRT_C_FILES) $(COMBINE_C) $(O_FROM_C_FLAGS) $(MAYBEATSIGN)$(CC) $(BRT_C_FILES) $(COMBINE_C) $(O_FROM_C_FLAGS)
......
...@@ -92,7 +92,14 @@ $(TLIBRARY_S): $(TLIBRARY) ; ...@@ -92,7 +92,14 @@ $(TLIBRARY_S): $(TLIBRARY) ;
endif endif
static_libtokudb.lib: $(YDB) $(LOCKTREE) $(RANGETREE) $(NEWBRT) $(LIBPORTABILITY) static_libtokudb.lib: $(YDB) $(LOCKTREE) $(RANGETREE) $(NEWBRT) $(LIBPORTABILITY)
lib /out:$@ $^ xilib /out:$@ $^
ipo_libtokudb.obj: $(YDB) $(LOCKTREE) $(RANGETREE) $(NEWBRT) $(LIBPORTABILITY)
$(CC) -Qipo-c *.obj lock_tree/*.obj range_tree/*.obj ../newbrt/*.obj ../windows/*.obj
mv ipo_out.obj $@
ipo_libtokudb.lib: ipo_libtokudb.obj
xilib /out:$@ $^
check_globals: $(LIBNAME).$(AEXT) check_globals: $(LIBNAME).$(AEXT)
......
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