office-gobmx/ure/source/makefile.mk
2011-03-15 23:00:35 -04:00

76 lines
2.1 KiB
Makefile

#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ = ..
PRJNAME = ure
TARGET = source
ZIP1TARGET = uretest
ZIP1FLAGS = -r
ZIP1LIST = uretest
my_components = \
acceptor \
binaryurp \
bootstrap \
connector \
introspection \
invocadapt \
invocation \
namingservice \
proxyfac \
reflection \
stocservices \
streams \
textinstream \
textoutstream \
uuresolver
.IF "$(SOLAR_JAVA)" != ""
my_components = \
$(my_components) \
javaloader \
javavm \
juh
.ENDIF
.INCLUDE: settings.mk
.INCLUDE: target.mk
ALLTAR : $(MISC)/services.rdb
$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
$(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
$(MISC)/services.input :
echo \
'<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
> $@