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 24UCP_VERSION=1 25UCP_NAME=chelp 26 27PRJ=.. 28PRJNAME=xmlhelp 29TARGET=ucp$(UCP_NAME) 30UCPHELP_MAJOR=1 31 32ENABLE_EXCEPTIONS=TRUE 33USE_DEFFILE=TRUE 34NO_BSYMBOLIC=TRUE 35 36# --- Settings --------------------------------------------------------- 37 38.INCLUDE: settings.mk 39 40.IF "$(GUI)"=="WNT" 41CFLAGS+=-GR 42.ENDIF 43 44# --- Shared-Library --------------------------------------------------- 45 46SHL1TARGET=$(TARGET)$(UCP_VERSION) 47SHL1DEF=$(MISC)$/$(SHL1TARGET).def 48SHL1IMPLIB=i$(TARGET) 49SHL1VERSIONMAP=$(SOLARENV)/src/component.map 50 51# Add additional libs here. 52SHL1STDLIBS= \ 53 $(CPPUHELPERLIB) \ 54 $(CPPULIB) \ 55 $(COMPHELPERLIB) \ 56 $(SALLIB) \ 57 $(EXPATASCII3RDLIB) \ 58 $(UCBHELPERLIB) \ 59 $(XSLTLIB) 60 61SHL1LIBS = \ 62 $(SLB)$/jaqe.lib \ 63 $(SLB)$/jautil.lib \ 64 $(SLB)$/chelp.lib 65 66# --- Def-File --------------------------------------------------------- 67 68DEF1NAME=$(SHL1TARGET) 69 70# --- Targets ---------------------------------------------------------- 71 72ZIP1TARGET=helpxsl 73ZIP1FLAGS= -u -r 74#ZIP1DIR=$(PRJ)$/source$/auxiliary 75ZIP1LIST=main_transform*.xsl idxcaption.xsl idxcontent.xsl 76 77 78.INCLUDE: target.mk 79 80 81ALLTAR : $(MISC)/ucpchelp1.component 82 83$(MISC)/ucpchelp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 84 ucpchelp1.component 85 $(XSLTPROC) --nonet --stringparam uri \ 86 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 87 $(SOLARENV)/bin/createcomponent.xslt ucpchelp1.component 88