|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52648 - sandbox/stm
From: justin_at_[hidden]
Date: 2009-04-28 02:39:22
Author: jgottschlich
Date: 2009-04-28 02:39:20 EDT (Tue, 28 Apr 2009)
New Revision: 52648
URL: http://svn.boost.org/trac/boost/changeset/52648
Log:
Added Makefile for non-boosters to build lib without bjam
Added:
sandbox/stm/Makefile (contents, props changed)
Added: sandbox/stm/Makefile
==============================================================================
--- (empty file)
+++ sandbox/stm/Makefile 2009-04-28 02:39:20 EDT (Tue, 28 Apr 2009)
@@ -0,0 +1,32 @@
+##########################################################
+##########################################################
+CC=g++
+CFLAGS=-c
+
+SRC=libs/stm/src
+TESTS=libs/stm/test
+HEADERS1=.
+HEADERS2=.
+HEADERS3=.
+
+LDFLAGS=-lpthread
+INCLUDES=-I $(SRC) -I $(TESTS) -I $(HEADERS1) -I $(HEADERS2) -I $(HEADERS3) -I ./../../$(SRC) -I ./../../$(TESTS) -I ./../../$(HEADERS1) -I ./../../$(HEADERS2) -I ./../../$(HEADERS3) -I ./../$(SRC) -I ./../$(TESTS) -I ./../$(HEADERS1) -I ./../$(HEADERS2) -I ./../$(HEADERS3) -I ./../../../$(SRC) -I ./../../../$(TESTS) -I ./../../../$(HEADERS1) -I ./../../../$(HEADERS2) -I ./../../../$(HEADERS3) -I ./../../../../$(SRC) -I ./../../../../$(TESTS) -I ./../../../../$(HEADERS1) -I ./../../../../$(HEADERS2) -I ./../../../../$(HEADERS3)
+
+
+SOURCES=$(SRC)/contention_manager.cpp $(SRC)/transaction.cpp $(SRC)/bloom_filter.cpp $(TESTS)/globalIntArr.cpp $(TESTS)/irrevocableInt.cpp $(TESTS)/isolatedComposedIntLockInTx2.cpp $(TESTS)/isolatedComposedIntLockInTx.cpp $(TESTS)/isolatedInt.cpp $(TESTS)/isolatedIntLockInTx.cpp $(TESTS)/litExample.cpp $(TESTS)/lotExample.cpp $(TESTS)/nestedTxs.cpp $(TESTS)/smart.cpp $(TESTS)/stm.cpp $(TESTS)/testHashMap.cpp $(TESTS)/testHashMapAndLinkedListsWithLocks.cpp $(TESTS)/testHashMapWithLocks.cpp $(TESTS)/testHT_latm.cpp $(TESTS)/testInt.cpp $(TESTS)/testLinkedList.cpp $(TESTS)/testLinkedListWithLocks.cpp $(TESTS)/testLL_latm.cpp $(TESTS)/testPerson.cpp $(TESTS)/testRBTree.cpp $(TESTS)/transferFun.cpp $(TESTS)/txLinearLock.cpp $(TESTS)/usingLockTx.cpp
+
+OBJECTS=$(SOURCES:.cpp=.o)
+EXECUTABLE=TBoost.STM
+
+all: $(SOURCES) $(EXECUTABLE)
+
+$(EXECUTABLE): $(OBJECTS)
+ $(CC) $(LDFLAGS) $(OBJECTS) -o $@
+
+.cpp.o:
+ $(CC) $(CFLAGS) $< -o $@ $(INCLUDES)
+
+clean:
+ rm -rf libs/stm/src/*.o libs/stm/test/*.o; rm TBoost.STM
+
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk