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 37328ef5dbSHerbert Dürr.IF "$(SYSTEM_BOOST)" == "YES" 38328ef5dbSHerbert Dürr 39cdf0e10cSrcweirall: 40cdf0e10cSrcweir @echo "An already available installation of boost should exist on your system." 41cdf0e10cSrcweir @echo "Therefore the version provided here does not need to be built in addition." 42328ef5dbSHerbert Dürr 43328ef5dbSHerbert Dürr.ELSE # "$(SYSTEM_BOOST)" == "YES" 44cdf0e10cSrcweir 45cdf0e10cSrcweir# --- Files -------------------------------------------------------- 46cdf0e10cSrcweir 47328ef5dbSHerbert DürrTARFILE_NAME=boost_1_55_0 48328ef5dbSHerbert DürrTARFILE_MD5=d6eef4b4cacb2183f2bf265a5a03a354 497766832aSHerbert DürrPATCH_FILES= $(TARFILE_NAME).patch 50*56386a57SYuri Dario.IF "$(GUI)"=="OS2" 51*56386a57SYuri DarioPATCH_FILES+=boost-os2.patch 52*56386a57SYuri Dario.ENDIF 53cdf0e10cSrcweir 54cdf0e10cSrcweirCONFIGURE_DIR= 55cdf0e10cSrcweirCONFIGURE_ACTION= 56cdf0e10cSrcweir 57cdf0e10cSrcweirBUILD_DIR= 58cdf0e10cSrcweirBUILD_ACTION= 59cdf0e10cSrcweirBUILD_FLAGS= 60cdf0e10cSrcweir 61cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 62cdf0e10cSrcweir 63cdf0e10cSrcweir.INCLUDE : set_ext.mk 64cdf0e10cSrcweir.INCLUDE : target.mk 65cdf0e10cSrcweir.INCLUDE : tg_ext.mk 66cdf0e10cSrcweir 67cdf0e10cSrcweir# --- post-build --------------------------------------------------- 68cdf0e10cSrcweir 69cdf0e10cSrcweir# "normalize" the output structure, in that the C++ headers are 70cdf0e10cSrcweir# copied to the canonic location in OUTPATH 71cdf0e10cSrcweir# The allows, later on, to use the standard mechanisms to deliver those 72cdf0e10cSrcweir# files, instead of delivering them out of OUTPATH/misc/build/..., which 73cdf0e10cSrcweir# could cause problems 74cdf0e10cSrcweir 75cdf0e10cSrcweirNORMALIZE_FLAG_FILE=so_normalized_$(TARGET) 76cdf0e10cSrcweir 77cdf0e10cSrcweir$(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) : $(PACKAGE_DIR)$/$(BUILD_FLAG_FILE) 78cdf0e10cSrcweir -@$(MKDIRHIER) $(INCCOM)$/$(PRJNAME) 7962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/*.h $(INCCOM)$/$(PRJNAME) 8062840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/*.hpp $(INCCOM)$/$(PRJNAME) 81bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/accumulators $(INCCOM)$/$(PRJNAME) 82bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/algorithm $(INCCOM)$/$(PRJNAME) 83bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/archive $(INCCOM)$/$(PRJNAME) 84bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/asio $(INCCOM)$/$(PRJNAME) 85bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/assign $(INCCOM)$/$(PRJNAME) 86bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/bimap $(INCCOM)$/$(PRJNAME) 8762840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/bind $(INCCOM)$/$(PRJNAME) 88bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/chrono $(INCCOM)$/$(PRJNAME) 89bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/circular_buffer $(INCCOM)$/$(PRJNAME) 90bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/compatibility $(INCCOM)$/$(PRJNAME) 91bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/concept $(INCCOM)$/$(PRJNAME) 92bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/concept_check $(INCCOM)$/$(PRJNAME) 9362840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/config $(INCCOM)$/$(PRJNAME) 94328ef5dbSHerbert Dürr @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/container $(INCCOM)$/$(PRJNAME) 95bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/date_time $(INCCOM)$/$(PRJNAME) 9662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/detail $(INCCOM)$/$(PRJNAME) 97bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/dynamic_bitset $(INCCOM)$/$(PRJNAME) 9862840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/exception $(INCCOM)$/$(PRJNAME) 99bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/filesystem $(INCCOM)$/$(PRJNAME) 100bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/flyweight $(INCCOM)$/$(PRJNAME) 101bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/format $(INCCOM)$/$(PRJNAME) 10262840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/function $(INCCOM)$/$(PRJNAME) 103bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/functional $(INCCOM)$/$(PRJNAME) 104bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/function_types $(INCCOM)$/$(PRJNAME) 105bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/fusion $(INCCOM)$/$(PRJNAME) 106bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/geometry $(INCCOM)$/$(PRJNAME) 107bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/gil $(INCCOM)$/$(PRJNAME) 108bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/graph $(INCCOM)$/$(PRJNAME) 109bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/graph $(INCCOM)$/$(PRJNAME) 110bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/icl $(INCCOM)$/$(PRJNAME) 111bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/integer $(INCCOM)$/$(PRJNAME) 112bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/interprocess $(INCCOM)$/$(PRJNAME) 113bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/intrusive $(INCCOM)$/$(PRJNAME) 114bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/io $(INCCOM)$/$(PRJNAME) 115bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/iostreams $(INCCOM)$/$(PRJNAME) 11662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/iterator $(INCCOM)$/$(PRJNAME) 117bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/lambda $(INCCOM)$/$(PRJNAME) 118bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/logic $(INCCOM)$/$(PRJNAME) 119bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/math $(INCCOM)$/$(PRJNAME) 12084b46d6cSHerbert Dürr @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/move $(INCCOM)$/$(PRJNAME) 121bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/mpi $(INCCOM)$/$(PRJNAME) 12262840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/mpl $(INCCOM)$/$(PRJNAME) 123bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/msm $(INCCOM)$/$(PRJNAME) 124bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/multi_array $(INCCOM)$/$(PRJNAME) 125bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/multi_index $(INCCOM)$/$(PRJNAME) 12662840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/numeric $(INCCOM)$/$(PRJNAME) 12762840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/optional $(INCCOM)$/$(PRJNAME) 128bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/parameter $(INCCOM)$/$(PRJNAME) 12962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/pending $(INCCOM)$/$(PRJNAME) 130328ef5dbSHerbert Dürr @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/predef $(INCCOM)$/$(PRJNAME) 131bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/phoenix $(INCCOM)$/$(PRJNAME) 132bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/polygon $(INCCOM)$/$(PRJNAME) 13362840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/pool $(INCCOM)$/$(PRJNAME) 13462840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/preprocessor $(INCCOM)$/$(PRJNAME) 135bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/program_options $(INCCOM)$/$(PRJNAME) 136bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/property_map $(INCCOM)$/$(PRJNAME) 137bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/property_tree $(INCCOM)$/$(PRJNAME) 138bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/proto $(INCCOM)$/$(PRJNAME) 13962840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/ptr_container $(INCCOM)$/$(PRJNAME) 140bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/random $(INCCOM)$/$(PRJNAME) 14162840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/range $(INCCOM)$/$(PRJNAME) 142bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/ratio $(INCCOM)$/$(PRJNAME) 143bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/regex $(INCCOM)$/$(PRJNAME) 144bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/serialization $(INCCOM)$/$(PRJNAME) 145bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/signals $(INCCOM)$/$(PRJNAME) 146bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/signals2 $(INCCOM)$/$(PRJNAME) 14762840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/smart_ptr $(INCCOM)$/$(PRJNAME) 148bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/spirit $(INCCOM)$/$(PRJNAME) 149bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/statechart $(INCCOM)$/$(PRJNAME) 150bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/system $(INCCOM)$/$(PRJNAME) 151bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/test $(INCCOM)$/$(PRJNAME) 152bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/thread $(INCCOM)$/$(PRJNAME) 153bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/timer $(INCCOM)$/$(PRJNAME) 154bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/tr1 $(INCCOM)$/$(PRJNAME) 15562840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/tuple $(INCCOM)$/$(PRJNAME) 156bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/typeof $(INCCOM)$/$(PRJNAME) 15762840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/type_traits $(INCCOM)$/$(PRJNAME) 158bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/units $(INCCOM)$/$(PRJNAME) 159bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/unordered $(INCCOM)$/$(PRJNAME) 16062840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/utility $(INCCOM)$/$(PRJNAME) 161bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/uuid $(INCCOM)$/$(PRJNAME) 16262840caaSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/variant $(INCCOM)$/$(PRJNAME) 163bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/wave $(INCCOM)$/$(PRJNAME) 164bf52a16fSPedro Giffuni @$(GNUCOPY) -R $(PACKAGE_DIR)$/$(TARFILE_NAME)$/boost$/xpressive $(INCCOM)$/$(PRJNAME) 165cdf0e10cSrcweir @$(TOUCH) $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) 166cdf0e10cSrcweir 167cdf0e10cSrcweirnormalize: $(PACKAGE_DIR)$/$(NORMALIZE_FLAG_FILE) 168cdf0e10cSrcweir 169cdf0e10cSrcweir$(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE) : normalize 170328ef5dbSHerbert Dürr 171328ef5dbSHerbert Dürr.ENDIF # "$(SYSTEM_BOOST)" == "YES" 172328ef5dbSHerbert Dürr 173