update dev300-m58
[ooovba.git] / filter / source / xsltvalidate / makefile.mk
blob1388386a76ff2d69452956bd3b11367070284cbb
1 #*************************************************************************
2 #
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.13 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
31 PRJ = ..$/..
32 PRJNAME = filter
33 #PACKAGE = com$/sun$/star$/documentconversion$/XSLTValidate
34 TARGET =XSLTValidate
35 # --- Settings -----------------------------------------------------
36 .IF "$(XML_CLASSPATH)" != ""
37 XCLASSPATH+=":$(XML_CLASSPATH)"
38 .ENDIF
39 .INCLUDE: settings.mk
40 CLASSDIR!:=$(CLASSDIR)$/$(TARGET)
41 #USE_UDK_EXTENDED_MANIFESTFILE=TRUE
42 #USE_EXTENDED_MANIFESTFILE=TRUE
43 JARFILES = ridl.jar unoil.jar jurt.jar juh.jar crimson.jar
45 .IF "$(SYSTEM_XALAN)" == "YES"
46 XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XALAN_JAR)
47 .ELSE
48 JARFILES += xalan.jar
49 .ENDIF
51 .IF "$(SYSTEM_XML_APIS)" == "YES"
52 XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(XML_APIS_JAR)
53 .ELSE
54 JARFILES += xml-apis.jar
55 .ENDIF
57 JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES)))
58 CUSTOMMANIFESTFILE = Manifest
59 #JARMANIFEST = Manifest
60 JARCOMPRESS = TRUE
61 JARCLASSDIRS = XSLTValidate*.class
62 JARTARGET = $(TARGET).jar
65 # --- Files --------------------------------------------------------
66 JAVACLASSFILES=$(CLASSDIR)$/XSLTValidate.class
67 #---Manifest -------------------------------------------------------
68 #$(OUT)$/class$/$(TARGET)$/META-INF: META-INF
69 # + $(COPY) $(COPYRECURSE) META-INF $(OUT)$/class$/META-INF
70 # --- Targets ------------------------------------------------------
71 .IF "$(SOLAR_JAVA)"!=""
72 .INCLUDE : target.mk
73 $(JAVACLASSFILES) : $(CLASSDIR)
74 .IF "$(JARMANIFEST)"!=""
75 $(JARMANIFEST) : $(CLASSDIR)
76 .ENDIF # "$(JARMANIFEST)"!=""
77 .ENDIF
79 $(CLASSDIR) :
80 $(MKDIR) $(CLASSDIR)