Update ooo320-m1
[ooovba.git] / xmloff / util / makefile.mk
blob31852e15175a8196b4e3ed82f96e3ac593bdb76e
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.32 $
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 PRJ=..
34 PRJNAME=xmloff
35 TARGET=xo
36 USE_DEFFILE=TRUE
38 # --- Settings -----------------------------------------------------
40 .INCLUDE : settings.mk
41 .INCLUDE: $(PRJ)$/util$/makefile.pmk
43 # --- Allgemein ----------------------------------------------------
44 .IF "$(L10N_framework)"==""
45 LIB1TARGET= $(SLB)$/xo.lib
46 LIB1FILES= \
47 $(SLB)$/core.lib \
48 $(SLB)$/meta.lib \
49 $(SLB)$/script.lib \
50 $(SLB)$/style.lib \
51 $(SLB)$/text.lib \
52 $(SLB)$/draw.lib \
53 $(SLB)$/chart.lib \
54 $(SLB)$/forms.lib \
55 $(SLB)$/xforms.lib \
56 $(SLB)$/table.lib
58 # --- Shared-Library -----------------------------------------------
60 .IF "$(GUI)"!="UNX"
61 LIB4TARGET= $(LB)$/ixo.lib
62 LIB4FILES= $(LB)$/_ixo.lib
63 .IF "$(GUI)"!="OS2"
64 LIB4OBJFILES=\
65 $(OBJ)$/xmlkywd.obj
66 .ENDIF
67 .ENDIF
69 SHL1TARGET= xo$(DLLPOSTFIX)
70 SHL1IMPLIB= _ixo
71 SHL1USE_EXPORTS=name
73 SHL1STDLIBS= \
74 $(SVTOOLLIB) \
75 $(TOOLSLIB) \
76 $(I18NISOLANGLIB) \
77 $(VOSLIB) \
78 $(CPPULIB) \
79 $(CPPUHELPERLIB)\
80 $(COMPHELPERLIB)\
81 $(VCLLIB) \
82 $(TKLIB) \
83 $(SVLLIB) \
84 $(SALLIB) \
85 $(UNOTOOLSLIB) \
86 $(BASEGFXLIB)
88 # SCO: the linker does know about weak symbols, but we can't ignore multiple defined symbols
89 .IF "(OS)"=="SCO"
90 SHL1STDLIBS+=-licg617mxp
91 .ENDIF
93 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
94 SHL1LIBS= $(LIB1TARGET)
97 SHL5STDLIBS= \
98 $(TOOLSLIB) \
99 $(SALLIB) \
100 $(SALHELPERLIB) \
101 $(CPPULIB) \
102 $(CPPUHELPERLIB) \
103 $(COMPHELPERLIB)
105 .IF "$(GUI)"=="UNX" || "$(COM)"=="GCC"
106 SHL5STDLIBS += -lxo$(DLLPOSTFIX)
107 .ELSE
108 SHL5STDLIBS += ixo.lib
109 .ENDIF
111 # --- Def-File ---------------------------------------------------------
113 DEF1NAME =$(SHL1TARGET)
114 DEFLIB1NAME =xo
115 DEF1DES =XML Office Lib
117 # --- Targets ----------------------------------------------------------
118 .ENDIF
119 .INCLUDE : target.mk