17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir# dmake create_clean -- just unpacks 25cdf0e10cSrcweir# dmake patch -- unpacks and applies patch file 26cdf0e10cSrcweir# dmake create_patch -- creates a patch file 27cdf0e10cSrcweir 28cdf0e10cSrcweirPRJ=. 29cdf0e10cSrcweir 30cdf0e10cSrcweirPRJNAME=boost 31cdf0e10cSrcweirTARGET=ooo_boost 32cdf0e10cSrcweir 33cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 34cdf0e10cSrcweir 35cdf0e10cSrcweir.INCLUDE : settings.mk 36cdf0e10cSrcweir 37cdf0e10cSrcweir# force patched boost for sunpro CC 38cdf0e10cSrcweir# to workaround opt bug when compiling with -xO3 39cdf0e10cSrcweir.IF "$(SYSTEM_BOOST)" == "YES" && ("$(OS)"!="SOLARIS" || "$(COM)"=="GCC") 40cdf0e10cSrcweirall: 41cdf0e10cSrcweir @echo "An already available installation of boost should exist on your system." 42cdf0e10cSrcweir @echo "Therefore the version provided here does not need to be built in addition." 43cdf0e10cSrcweir.ELSE # "$(SYSTEM_BOOST)" == "YES" && ("$(OS)"!="SOLARIS" || "$(COM)"=="GCC") 44cdf0e10cSrcweir 45cdf0e10cSrcweir# --- Files -------------------------------------------------------- 46cdf0e10cSrcweir 47ecad6845SPedro GiffuniTARFILE_NAME=boost_1_48_0 48ecad6845SPedro GiffuniTARFILE_MD5=d1e9a7a7f532bb031a3c175d86688d95 492c75065cSPedro GiffuniPATCH_FILES=\ 502c75065cSPedro Giffuni $(TARFILE_NAME).patch \ 512c75065cSPedro Giffuni boost_freebsd.patch 52cdf0e10cSrcweir 53cdf0e10cSrcweirCONFIGURE_DIR= 54cdf0e10cSrcweirCONFIGURE_ACTION= 55cdf0e10cSrcweir 56cdf0e10cSrcweirBUILD_DIR= 57cdf0e10cSrcweirBUILD_ACTION= 58cdf0e10cSrcweirBUILD_FLAGS= 59cdf0e10cSrcweir 60cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 61cdf0e10cSrcweir 62cdf0e10cSrcweir.INCLUDE : set_ext.mk 63cdf0e10cSrcweir.INCLUDE : target.mk 64cdf0e10cSrcweir.INCLUDE : tg_ext.mk 65cdf0e10cSrcweir 66cdf0e10cSrcweir# --- post-build --------------------------------------------------- 67cdf0e10cSrcweir 68cdf0e10cSrcweir# "normalize" the output structure, in that the C++ headers are 69cdf0e10cSrcweir# copied to the canonic location in OUTPATH 70cdf0e10cSrcweir# The allows, later on, to use the standard mechanisms to deliver those 71cdf0e10cSrcweir# files, instead of delivering them out of OUTPATH/misc/build/..., which 72cdf0e10cSrcweir# could cause problems 73cdf0e10cSrcweir 74cdf0e10cSrcweirNORMALIZE_FLAG_FILE=so_normalized_$(TARGET) 75cdf0e10cSrcweir 76cdf0e10cSrcweir$(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) : $(PACKAGE_DIR)$/$(BUILD_FLAG_FILE) 77cdf0e10cSrcweir -@$(MKDIRHIER) $(INCCOM)$/$(PRJNAME) 7862840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/*.h $(INCCOM)$/$(PRJNAME) 7962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/*.hpp $(INCCOM)$/$(PRJNAME) 80*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/accumulators $(INCCOM)$/$(PRJNAME) 81*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/algorithm $(INCCOM)$/$(PRJNAME) 82*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/archive $(INCCOM)$/$(PRJNAME) 83*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/asio $(INCCOM)$/$(PRJNAME) 84*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/assign $(INCCOM)$/$(PRJNAME) 85*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/bimap $(INCCOM)$/$(PRJNAME) 8662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/bind $(INCCOM)$/$(PRJNAME) 87*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/chrono $(INCCOM)$/$(PRJNAME) 88*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/circular_buffer $(INCCOM)$/$(PRJNAME) 89*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/compatibility $(INCCOM)$/$(PRJNAME) 90*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/concept $(INCCOM)$/$(PRJNAME) 91*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/concept_check $(INCCOM)$/$(PRJNAME) 9262840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/config $(INCCOM)$/$(PRJNAME) 93*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/date_time $(INCCOM)$/$(PRJNAME) 9462840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/detail $(INCCOM)$/$(PRJNAME) 95*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/dynamic_bitset $(INCCOM)$/$(PRJNAME) 9662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/exception $(INCCOM)$/$(PRJNAME) 97*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/filesystem $(INCCOM)$/$(PRJNAME) 98*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/flyweight $(INCCOM)$/$(PRJNAME) 99*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/format $(INCCOM)$/$(PRJNAME) 10062840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/function $(INCCOM)$/$(PRJNAME) 101*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/functional $(INCCOM)$/$(PRJNAME) 102*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/function_types $(INCCOM)$/$(PRJNAME) 103*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/fusion $(INCCOM)$/$(PRJNAME) 104*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/geometry $(INCCOM)$/$(PRJNAME) 105*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/gil $(INCCOM)$/$(PRJNAME) 106*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/graph $(INCCOM)$/$(PRJNAME) 107*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/graph $(INCCOM)$/$(PRJNAME) 108*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/icl $(INCCOM)$/$(PRJNAME) 109*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/integer $(INCCOM)$/$(PRJNAME) 110*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/interprocess $(INCCOM)$/$(PRJNAME) 111*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/intrusive $(INCCOM)$/$(PRJNAME) 112*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/io $(INCCOM)$/$(PRJNAME) 113*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/iostreams $(INCCOM)$/$(PRJNAME) 11462840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/iterator $(INCCOM)$/$(PRJNAME) 115*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/lambda $(INCCOM)$/$(PRJNAME) 116*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/logic $(INCCOM)$/$(PRJNAME) 117*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/math $(INCCOM)$/$(PRJNAME) 118*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/mpi $(INCCOM)$/$(PRJNAME) 11962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/mpl $(INCCOM)$/$(PRJNAME) 120*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/msm $(INCCOM)$/$(PRJNAME) 121*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/multi_array $(INCCOM)$/$(PRJNAME) 122*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/multi_index $(INCCOM)$/$(PRJNAME) 12362840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/numeric $(INCCOM)$/$(PRJNAME) 12462840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/optional $(INCCOM)$/$(PRJNAME) 125*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/parameter $(INCCOM)$/$(PRJNAME) 12662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/pending $(INCCOM)$/$(PRJNAME) 127*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/phoenix $(INCCOM)$/$(PRJNAME) 128*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/polygon $(INCCOM)$/$(PRJNAME) 12962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/pool $(INCCOM)$/$(PRJNAME) 13062840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/preprocessor $(INCCOM)$/$(PRJNAME) 131*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/program_options $(INCCOM)$/$(PRJNAME) 132*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/property_map $(INCCOM)$/$(PRJNAME) 133*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/property_tree $(INCCOM)$/$(PRJNAME) 134*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/proto $(INCCOM)$/$(PRJNAME) 13562840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/ptr_container $(INCCOM)$/$(PRJNAME) 136*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/random $(INCCOM)$/$(PRJNAME) 13762840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/range $(INCCOM)$/$(PRJNAME) 138*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/ratio $(INCCOM)$/$(PRJNAME) 139*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/regex $(INCCOM)$/$(PRJNAME) 140*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/serialization $(INCCOM)$/$(PRJNAME) 141*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/signals $(INCCOM)$/$(PRJNAME) 142*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/signals2 $(INCCOM)$/$(PRJNAME) 14362840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/smart_ptr $(INCCOM)$/$(PRJNAME) 144*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/spirit $(INCCOM)$/$(PRJNAME) 145*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/statechart $(INCCOM)$/$(PRJNAME) 146*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/system $(INCCOM)$/$(PRJNAME) 147*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/test $(INCCOM)$/$(PRJNAME) 148*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/thread $(INCCOM)$/$(PRJNAME) 149*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/timer $(INCCOM)$/$(PRJNAME) 150*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/tr1 $(INCCOM)$/$(PRJNAME) 15162840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/tuple $(INCCOM)$/$(PRJNAME) 152*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/typeof $(INCCOM)$/$(PRJNAME) 15362840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/type_traits $(INCCOM)$/$(PRJNAME) 154*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/units $(INCCOM)$/$(PRJNAME) 155*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/unordered $(INCCOM)$/$(PRJNAME) 15662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/utility $(INCCOM)$/$(PRJNAME) 157*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/uuid $(INCCOM)$/$(PRJNAME) 15862840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/variant $(INCCOM)$/$(PRJNAME) 159*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/wave $(INCCOM)$/$(PRJNAME) 160*bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/xpressive $(INCCOM)$/$(PRJNAME) 161cdf0e10cSrcweir @$(TOUCH) $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) 162cdf0e10cSrcweir 163cdf0e10cSrcweirnormalize: $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) 164cdf0e10cSrcweir 165cdf0e10cSrcweir$(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE) : normalize 166cdf0e10cSrcweir.ENDIF # "$(SYSTEM_BOOST)" == "YES" && ("$(OS)"!="SOLARIS" || "$(COM)"=="GCC") 167