1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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
39 # --- Settings -----------------------------------------------------
41 .INCLUDE
: settings.mk
43 # --- Allgemein ----------------------------------------------------
45 ENABLE_EXCEPTIONS
=TRUE
47 LIB1TARGET
= $(SLB
)$/bf_xo.lib
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
65 $(OBJ
)$/xmloff_xmlkywd.obj
69 SHL1TARGET
= bf_xo
$(DLLPOSTFIX
)
91 # SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
93 SHL1STDLIBS
+=-licg617mxp
96 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
97 SHL1LIBS
= $(LIB1TARGET
)
99 # --- Def-File ---------------------------------------------------------
101 DEF1NAME
=$(SHL1TARGET
)
102 .IF
"$(GUI)" != "OS2"
103 DEF1DEPN
=$(MISC
)$/$(SHL1TARGET
).flt
106 DEF1DES
=XML Office Lib
107 DEF1EXPORTFILE
= exports.dxp
108 # --- Targets ----------------------------------------------------------
112 # --- Filter -----------------------------------------------------------
114 $(MISC
)$/$(SHL1TARGET
).flt
: makefile.mk
115 $(TYPE
) bf_xo.flt
> $@