merge the formfield patch from ooo-build
[ooovba.git] / filter / source / xsltfilter / makefile.mk
blob6bfe1f24b295342571f64a70125a59bb1b69fca0
1 #*************************************************************************
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.21 $
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$/XSLTFilter
34 TARGET =XSLTFilter
35 ENABLE_EXCEPTIONS=TRUE
36 LIBTARGET=NO
38 # --- Settings -----------------------------------------------------
39 CLASSDIR!:=$(CLASSDIR)$/$(TARGET)
40 .IF "$(XML_CLASSPATH)" != ""
41 XCLASSPATH+=":$(XML_CLASSPATH)"
42 .ENDIF
43 .INCLUDE: settings.mk
45 SLOFILES=$(SLO)$/XSLTFilter.obj $(SLO)$/fla.obj
46 LIBNAME=xsltfilter
47 SHL1TARGETDEPN=makefile.mk
48 SHL1OBJS=$(SLOFILES)
49 SHL1TARGET=$(LIBNAME)$(DLLPOSTFIX)
50 SHL1IMPLIB=i$(LIBNAME)
51 SHL1VERSIONMAP=exports.map
52 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
53 DEF1NAME=$(SHL1TARGET)
55 SHL1STDLIBS= \
56 $(TOOLSLIB) \
57 $(CPPUHELPERLIB) \
58 $(CPPULIB) \
59 $(XMLOFFLIB) \
60 $(SALLIB)
62 .IF "$(SOLAR_JAVA)"!=""
64 #USE_UDK_EXTENDED_MANIFESTFILE=TRUE
65 #USE_EXTENDED_MANIFESTFILE=TRUE
66 JARFILES = ridl.jar unoil.jar jurt.jar juh.jar
68 JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES)))
69 CUSTOMMANIFESTFILE = Manifest
71 JARCOMPRESS = TRUE
72 JARCLASSDIRS = XSLTransformer*.class XSLTFilterOLEExtracter*.class Base64*.class
73 JARTARGET = $(TARGET).jar
75 # --- Files --------------------------------------------------------
76 JAVACLASSFILES=$(CLASSDIR)$/XSLTransformer.class $(CLASSDIR)$/XSLTFilterOLEExtracter.class $(CLASSDIR)$/Base64.class
77 .ENDIF
79 # --- Targets ------------------------------------------------------
80 .INCLUDE : target.mk
81 .IF "$(SOLAR_JAVA)"!=""
82 $(JAVACLASSFILES) : $(CLASSDIR)
84 $(CLASSDIR) :
85 $(MKDIR) $(CLASSDIR)
86 .ENDIF