xref: /aoo41x/main/filter/source/svg/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2008 by Sun Microsystems, Inc.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# $RCSfile: makefile.mk,v $
10#
11# $Revision: 1.10.110.6 $
12#
13# This file is part of OpenOffice.org.
14#
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.
18#
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).
24#
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.
29#
30#*************************************************************************
31
32PRJ=..$/..
33PRJNAME=filter
34TARGET=svgfilter
35
36ENABLE_EXCEPTIONS=TRUE
37VISIBILITY_HIDDEN=TRUE
38
39# --- Settings ----------------------------------
40
41.INCLUDE :  	settings.mk
42
43# --- Types -------------------------------------
44
45SLOFILES=	$(SLO)$/svguno.obj			\
46			$(SLO)$/svgdialog.obj		\
47			$(SLO)$/impsvgdialog.obj	\
48			$(SLO)$/svgfilter.obj		\
49			$(SLO)$/svgexport.obj		\
50			$(SLO)$/svgfontexport.obj	\
51			$(SLO)$/svgwriter.obj
52.IF "$(SOLAR_JAVA)"!=""
53SLOFILES+=		$(SLO)$/svgimport.obj
54.ENDIF
55
56# --- Library -----------------------------------
57
58SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
59
60SHL1STDLIBS=\
61	$(SVXCORELIB)			\
62	$(EDITENGLIB)			\
63	$(XMLOFFLIB)		\
64	$(VCLLIB)			\
65	$(UNOTOOLSLIB)		\
66	$(TOOLSLIB)			\
67	$(COMPHELPERLIB)	\
68	$(CPPUHELPERLIB)	\
69	$(CPPULIB)			\
70	$(SALLIB) 			\
71	$(BASEGFXLIB) 		\
72	$(SVTOOLLIB)
73
74.IF "$(SOLAR_JAVA)"!=""
75SHL1STDLIBS+=\
76	$(JVMACCESSLIB)
77.ENDIF
78
79
80SHL1DEPN=
81SHL1IMPLIB=	i$(SHL1TARGET)
82SHL1LIBS=	$(SLB)$/$(TARGET).lib
83SHL1VERSIONMAP=$(SOLARENV)/src/component.map
84SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
85
86DEF1NAME=$(SHL1TARGET)
87
88# --- Targets ----------------------------------
89
90.INCLUDE : target.mk
91
92ALLTAR : $(MISC)/svgfilter.component
93
94$(MISC)/svgfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
95        svgfilter.component
96    $(XSLTPROC) --nonet --stringparam uri \
97        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
98        $(SOLARENV)/bin/createcomponent.xslt svgfilter.component
99