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 23PRJ = ..$/.. 24PRJNAME = filter 25#PACKAGE = com$/sun$/star$/documentconversion$/XSLTValidate 26TARGET =XSLTValidate 27# --- Settings ----------------------------------------------------- 28.IF "$(XML_CLASSPATH)" != "" 29XCLASSPATH+=":$(XML_CLASSPATH)" 30.ENDIF 31.INCLUDE: settings.mk 32CLASSDIR!:=$(CLASSDIR)$/$(TARGET) 33#USE_UDK_EXTENDED_MANIFESTFILE=TRUE 34#USE_EXTENDED_MANIFESTFILE=TRUE 35JARFILES = ridl.jar unoil.jar jurt.jar juh.jar crimson.jar 36 37.IF "$(SYSTEM_XALAN)" == "YES" 38EXTRAJARFILES += $(XALAN_JAR) 39.ELSE 40JARFILES += xalan.jar 41.ENDIF 42 43.IF "$(SYSTEM_XML_APIS)" == "YES" 44EXTRAJARFILES += $(XML_APIS_JAR) 45.ELSE 46JARFILES += xml-apis.jar 47.ENDIF 48 49JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES))) 50CUSTOMMANIFESTFILE = Manifest 51#JARMANIFEST = Manifest 52JARCOMPRESS = TRUE 53JARCLASSDIRS = XSLTValidate*.class 54JARTARGET = $(TARGET).jar 55 56 57# --- Files -------------------------------------------------------- 58JAVACLASSFILES=$(CLASSDIR)$/XSLTValidate.class 59#---Manifest ------------------------------------------------------- 60#$(OUT)$/class$/$(TARGET)$/META-INF: META-INF 61# + $(COPY) $(COPYRECURSE) META-INF $(OUT)$/class$/META-INF 62# --- Targets ------------------------------------------------------ 63.IF "$(SOLAR_JAVA)"!="" 64.INCLUDE : target.mk 65$(JAVACLASSFILES) : $(CLASSDIR) 66.IF "$(JARMANIFEST)"!="" 67$(JARMANIFEST) : $(CLASSDIR) 68.ENDIF # "$(JARMANIFEST)"!="" 69.ENDIF 70 71$(CLASSDIR) : 72 $(MKDIR) $(CLASSDIR) 73 74ALLTAR : $(MISC)/XSLTValidate.component 75 76$(MISC)/XSLTValidate.component .ERRREMOVE : \ 77 $(SOLARENV)/bin/createcomponent.xslt XSLTValidate.component 78 $(XSLTPROC) --nonet --stringparam uri \ 79 '$(COMPONENTPREFIX_BASIS_JAVA)$(JARTARGET)' -o $@ \ 80 $(SOLARENV)/bin/createcomponent.xslt XSLTValidate.component 81