xref: /trunk/main/ure/Package_services_rdb.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*453cfdfcSdamjan#**************************************************************
2*453cfdfcSdamjan#
3*453cfdfcSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*453cfdfcSdamjan#  or more contributor license agreements.  See the NOTICE file
5*453cfdfcSdamjan#  distributed with this work for additional information
6*453cfdfcSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*453cfdfcSdamjan#  to you under the Apache License, Version 2.0 (the
8*453cfdfcSdamjan#  "License"); you may not use this file except in compliance
9*453cfdfcSdamjan#  with the License.  You may obtain a copy of the License at
10*453cfdfcSdamjan#
11*453cfdfcSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*453cfdfcSdamjan#
13*453cfdfcSdamjan#  Unless required by applicable law or agreed to in writing,
14*453cfdfcSdamjan#  software distributed under the License is distributed on an
15*453cfdfcSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*453cfdfcSdamjan#  KIND, either express or implied.  See the License for the
17*453cfdfcSdamjan#  specific language governing permissions and limitations
18*453cfdfcSdamjan#  under the License.
19*453cfdfcSdamjan#
20*453cfdfcSdamjan#**************************************************************
21*453cfdfcSdamjan
22*453cfdfcSdamjan$(eval $(call gb_Package_Package,ure_services_rdb,$(WORKDIR)/CustomTarget/ure/source))
23*453cfdfcSdamjan
24*453cfdfcSdamjan$(eval $(call gb_Package_add_file,ure_services_rdb,xml/ure/services.rdb,services.rdb))
25*453cfdfcSdamjan
26*453cfdfcSdamjan$(WORKDIR)/CustomTarget/ure/source/services.rdb : \
27*453cfdfcSdamjan        $(SRCDIR)/ure/source/services.input \
28*453cfdfcSdamjan        $(SOLARENV)/bin/packcomponents.xslt
29*453cfdfcSdamjan    mkdir -p $(dir $@) && \
30*453cfdfcSdamjan    $(gb_XSLTPROC) \
31*453cfdfcSdamjan        --nonet \
32*453cfdfcSdamjan        --stringparam prefix $(call gb_Helper_convert_native,$(OUTDIR)/xml/) \
33*453cfdfcSdamjan        -o $(call gb_Helper_convert_native,$@) \
34*453cfdfcSdamjan        $(call gb_Helper_convert_native,$(SOLARENV)/bin/packcomponents.xslt) \
35*453cfdfcSdamjan        $(call gb_Helper_convert_native,$(SRCDIR)/ure/source/services.input)
36