summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2010-10-02 00:39:37 +0300
committerTor Lillqvist <tml@hemulen.(none)>2010-10-02 00:39:37 +0300
commit8bdbd582db6e032a83dc669d7b9eeb3187998756 (patch)
treece96dd96a5b2dbd620ca27a639996c5474ddfc29 /boost
parent1b5c8615c8634024e8312b3ad38f8996bb6094c4 (diff)
Build the thread-related code on Windows into a library
Needed by ixion.
Diffstat (limited to 'boost')
-rw-r--r--boost/boost_1_39_0.patch24
-rw-r--r--boost/makefile.mk11
-rw-r--r--boost/prj/d.lst1
3 files changed, 32 insertions, 4 deletions
diff --git a/boost/boost_1_39_0.patch b/boost/boost_1_39_0.patch
index d837246a83bf..db4dba4ddf84 100644
--- a/boost/boost_1_39_0.patch
+++ b/boost/boost_1_39_0.patch
@@ -285,3 +285,27 @@ index 5d75be2..730cf0c 100644
).second;
}
+--- misc/build/boost_1_39_0/libs/thread/src/win32/makefile.mk
++++ misc/build/boost_1_39_0/libs/thread/src/win32/makefile.mk
+@@ -0,0 +1,21 @@
++PRJ=..$/..$/..$/..$/..$/..$/..$/..
++
++PRJNAME=boostthread
++TARGET=boostthread
++LIBTARGET=NO
++
++.IF "$(GUI)"=="WNT"
++
++.INCLUDE : settings.mk
++
++SLOFILES= $(SLO)$/exceptions.obj \
++ $(SLO)$/thread.obj \
++ $(SLO)$/tss_dll.obj \
++ $(SLO)$/tss_pe.obj
++
++LIB1TARGET=$(SLB)$/$(TARGET).lib
++LIB1ARCHIV=$(LB)$/lib$(TARGET).a
++LIB1OBJFILES=$(SLOFILES)
++
++.INCLUDE : target.mk
++.ENDIF
diff --git a/boost/makefile.mk b/boost/makefile.mk
index bf3da7a6234d..ac605a8df54e 100644
--- a/boost/makefile.mk
+++ b/boost/makefile.mk
@@ -55,16 +55,13 @@ PATCH_FILES=$(TARFILE_NAME).patch
CONFIGURE_DIR=
CONFIGURE_ACTION=
-BUILD_DIR=
-BUILD_ACTION=
-BUILD_FLAGS=
-
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
.INCLUDE : target.mk
.INCLUDE : tg_ext.mk
+
# --- post-build ---------------------------------------------------
# "normalize" the output structure, in that the C++ headers are
@@ -113,4 +110,10 @@ $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) : $(PACKAGE_DIR)$/$(BUILD_FLAG_FILE)
normalize: $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE)
$(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE) : normalize
+
+$(PACKAGE_DIR)/$(BUILD_FLAG_FILE) : boostthreadlib
+
+boostthreadlib :
+ cd $(PACKAGE_DIR)/$(TARFILE_ROOTDIR)/libs/thread/src/win32 && dmake $(MFLAGS) $(CALLMACROS)
+
.ENDIF # "$(SYSTEM_BOOST)" == "YES" && ("$(OS)"!="SOLARIS" || "$(COM)"=="GCC")
diff --git a/boost/prj/d.lst b/boost/prj/d.lst
index f25224b7645f..185ac0fd8477 100644
--- a/boost/prj/d.lst
+++ b/boost/prj/d.lst
@@ -372,3 +372,4 @@ mkdir: %_DEST%\inc%_EXT%\boost\variant\detail
..\%__SRC%\inc\boost\utility\detail\* %_DEST%\inc%_EXT%\boost\utility\detail
..\%__SRC%\inc\boost\variant\* %_DEST%\inc%_EXT%\boost\variant
..\%__SRC%\inc\boost\variant\detail\* %_DEST%\inc%_EXT%\boost\variant\detail
+..\%__SRC%\slb\boostthread.lib %_DEST%\lib%_EXT%\boostthread.lib