changeset 1321:083ef031425f draft

Fix build: put back rules to build cryptopp files
author Gavin Andresen <gavinandresen@gmail.com>
date Mon, 26 Sep 2011 11:15:01 -0400
parents c74c975a712d
children 2d2448a911d5
files src/makefile.linux-mingw src/makefile.mingw src/makefile.osx src/makefile.unix
diffstat 4 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -78,6 +78,8 @@
 
 all: bitcoind.exe
 
+cryptopp/obj/%.o: cryptopp/%.cpp
+	i586-mingw32msvc-g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
 
 obj/nogui/%.o: %.cpp $(HEADERS)
 	i586-mingw32msvc-g++ -c $(CFLAGS) -o $@ $<
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -76,6 +76,8 @@
 
 all: bitcoind.exe
 
+cryptopp/obj/%.o: cryptopp/%.cpp
+	g++ -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
 
 obj/nogui/%.o: %.cpp $(HEADERS)
 	g++ -c $(CFLAGS) -o $@ $<
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -76,6 +76,8 @@
 
 all: bitcoind
 
+cryptopp/obj/%.o: cryptopp/%.cpp
+	$(CXX) -c $(CFLAGS) -O3 -DCRYPTOPP_DISABLE_ASM -o $@ $<
 
 obj/nogui/%.o: %.cpp $(HEADERS)
 	$(CXX) -c $(CFLAGS) -o $@ $<
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -104,6 +104,9 @@
 all: bitcoind
 
 
+cryptopp/obj/%.o: cryptopp/%.cpp
+	$(CXX) -c $(CFLAGS) -O3 -o $@ $<
+
 obj/nogui/%.o: %.cpp $(HEADERS)
 	$(CXX) -c $(CXXFLAGS) -o $@ $<