Update to m13
[ooovba.git] / binfilter / bf_xmloff / util / makefile.mk
blob9b07061734caf7726a6e9fca1d4ab7388b8e26c9
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.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 #*************************************************************************
32 EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
34 PRJ=..$/..
36 PRJNAME=binfilter
37 TARGET=bf_xo
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 # --- Allgemein ----------------------------------------------------
44 NO_BSYMBOLIC=TRUE
45 ENABLE_EXCEPTIONS=TRUE
47 LIB1TARGET= $(SLB)$/bf_xo.lib
48 LIB1FILES= \
49 $(SLB)$/xmloff_core.lib \
50 $(SLB)$/xmloff_meta.lib \
51 $(SLB)$/xmloff_script.lib \
52 $(SLB)$/xmloff_style.lib \
53 $(SLB)$/xmloff_text.lib \
54 $(SLB)$/xmloff_draw.lib \
55 $(SLB)$/xmloff_chart.lib \
56 $(SLB)$/xmloff_forms.lib
58 # --- Shared-Library -----------------------------------------------
60 .IF "$(GUI)"!="UNX" && "$(GUI)"!="OS2"
61 LIB4TARGET= $(LB)$/ibf_xo.lib
62 LIB4FILES= $(LB)$/_ibf_xo.lib
63 .IF "$(GUI)"!="OS2"
64 LIB4OBJFILES=\
65 $(OBJ)$/xmloff_xmlkywd.obj
66 .ENDIF
67 .ENDIF
69 SHL1TARGET= bf_xo$(DLLPOSTFIX)
70 .IF "$(GUI)" == "OS2"
71 SHL1IMPLIB= ibf_xo
72 .ELSE
73 SHL1IMPLIB= _ibf_xo
74 .ENDIF
76 SHL1STDLIBS= \
77 $(BFSVTOOLLIB) \
78 $(TOOLSLIB) \
79 $(I18NISOLANGLIB) \
80 $(VOSLIB) \
81 $(CPPULIB) \
82 $(CPPUHELPERLIB)\
83 $(COMPHELPERLIB)\
84 $(VCLLIB) \
85 $(TKLIB) \
86 $(SALLIB) \
87 $(UNOTOOLSLIB) \
88 $(BFGOODIESLIB) \
89 $(BFSO3LIB)
91 # SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
92 .IF "(OS)"=="SCO"
93 SHL1STDLIBS+=-licg617mxp
94 .ENDIF
96 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
97 SHL1LIBS= $(LIB1TARGET)
99 # --- Def-File ---------------------------------------------------------
101 DEF1NAME =$(SHL1TARGET)
102 .IF "$(GUI)" != "OS2"
103 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
104 .ENDIF
105 DEFLIB1NAME =bf_xo
106 DEF1DES =XML Office Lib
107 DEF1EXPORTFILE= exports.dxp
108 # --- Targets ----------------------------------------------------------
110 .INCLUDE : target.mk
112 # --- Filter -----------------------------------------------------------
114 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
115 $(TYPE) bf_xo.flt > $@