xref: /aoo4110/main/ure/source/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ = ..
25PRJNAME = ure
26TARGET = source
27
28ZIP1TARGET = uretest
29ZIP1FLAGS = -r
30ZIP1LIST = uretest
31
32my_components = \
33    acceptor \
34    binaryurp \
35    bootstrap \
36    connector \
37    introspection \
38    invocadapt \
39    invocation \
40    javaloader \
41    javavm \
42    juh \
43    namingservice \
44    proxyfac \
45    reflection \
46    stocservices \
47    streams \
48    textinstream \
49    textoutstream \
50    uuresolver
51
52.INCLUDE: settings.mk
53.INCLUDE: target.mk
54
55ALLTAR : $(MISC)/services.rdb
56
57$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
58        $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
59    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
60        $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
61
62$(MISC)/services.input :
63    echo \
64        '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
65        > $@
66