1d71964d5SAndrew Rist# ************************************************************* 2d71964d5SAndrew Rist# 3d71964d5SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4d71964d5SAndrew Rist# or more contributor license agreements. See the NOTICE file 5d71964d5SAndrew Rist# distributed with this work for additional information 6d71964d5SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7d71964d5SAndrew Rist# to you under the Apache License, Version 2.0 (the 8d71964d5SAndrew Rist# "License"); you may not use this file except in compliance 9d71964d5SAndrew Rist# with the License. You may obtain a copy of the License at 10d71964d5SAndrew Rist# 11d71964d5SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12d71964d5SAndrew Rist# 13d71964d5SAndrew Rist# Unless required by applicable law or agreed to in writing, 14d71964d5SAndrew Rist# software distributed under the License is distributed on an 15d71964d5SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d71964d5SAndrew Rist# KIND, either express or implied. See the License for the 17d71964d5SAndrew Rist# specific language governing permissions and limitations 18d71964d5SAndrew Rist# under the License. 19d71964d5SAndrew Rist# 20d71964d5SAndrew Rist# ************************************************************* 21cdf0e10cSrcweirPRJ=. 22cdf0e10cSrcweirPRJNAME=readlicense_oo 23cdf0e10cSrcweirTARGET=source 24cdf0e10cSrcweir 25cdf0e10cSrcweir# ------------------------------------------------------------------ 26cdf0e10cSrcweir.INCLUDE: settings.mk 27cdf0e10cSrcweir# ------------------------------------------------------------------ 28cdf0e10cSrcweir 29ae258647SHerbert DürrALL_LICENSE=..$/LICENSE 30ae258647SHerbert DürrALL_NOTICE=..$/NOTICE 31ae258647SHerbert Dürr.IF "${ENABLE_CATEGORY_B}"=="YES" 32ae258647SHerbert Dürr # extend the install set's LICENSE and NOTICE files 33ae258647SHerbert Dürr # for content distributed under category-B licenses 34ae258647SHerbert Dürr ALL_LICENSE+=..$/LICENSE_category_b 35ae258647SHerbert Dürr ALL_NOTICE+=..$/NOTICE_category_b 36ae258647SHerbert Dürr.ENDIF 37ae258647SHerbert Dürr.IF "${BUNDLED_EXTENSION_BLOBS}"!="" 38ae258647SHerbert Dürr # extend the install set's LICENSE and NOTICE files 39ae258647SHerbert Dürr # for content distributed as mere aggregations 40ae258647SHerbert Dürr ALL_LICENSE+=..$/LICENSE_aggregated 41ae258647SHerbert Dürr ALL_NOTICE+=..$/NOTICE_aggregated 42ae258647SHerbert Dürr.ENDIF 43ae258647SHerbert DürrSUM_LICENSE=$(MISC)$/SUM_LICENSE 44ae258647SHerbert DürrSUM_NOTICE=$(MISC)$/SUM_NOTICE 45ae258647SHerbert Dürr 46cdf0e10cSrcweir# ------------------------------------------------------------------ 47cdf0e10cSrcweir.INCLUDE: target.mk 48cdf0e10cSrcweir# ------------------------------------------------------------------ 49cdf0e10cSrcweir 50*a4309db7SHerbert DürrALLTAR: ${SUM_LICENSE} ${SUM_NOTICE} 51ae258647SHerbert Dürr 52ae258647SHerbert Dürr${SUM_LICENSE} : ${ALL_LICENSE} 53ae258647SHerbert Dürr cat $< > $@ 54ae258647SHerbert Dürr 55ae258647SHerbert Dürr${SUM_NOTICE} : ${ALL_NOTICE} 56ae258647SHerbert Dürr cat $< > $@ 57cdf0e10cSrcweir 58