1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ = .. 29PRJNAME = ure 30TARGET = source 31 32ZIP1TARGET = uretest 33ZIP1FLAGS = -r 34ZIP1LIST = uretest 35 36my_components = \ 37 acceptor \ 38 binaryurp \ 39 bootstrap \ 40 connector \ 41 introspection \ 42 invocadapt \ 43 invocation \ 44 javaloader \ 45 javavm \ 46 juh \ 47 namingservice \ 48 proxyfac \ 49 reflection \ 50 stocservices \ 51 streams \ 52 textinstream \ 53 textoutstream \ 54 uuresolver 55 56.INCLUDE: settings.mk 57.INCLUDE: target.mk 58 59ALLTAR : $(MISC)/services.rdb 60 61$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 62 $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 63 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 64 $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 65 66$(MISC)/services.input : 67 echo \ 68 '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 69 > $@ 70