Update ooo320-m1
[ooovba.git] / writerfilter / unocomponent / makefile.mk
blob45dc37bb2540acc20aa6a03dbea000af88518ada
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.10 $
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=writerfilter
33 TARGET=writerfilter.uno
34 LIBTARGET=NO
35 ENABLE_EXCEPTIONS=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : settings.mk
41 CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
43 # --- Files --------------------------------------------------------
45 SLOFILES=$(SLO)$/component.obj
47 SHL1TARGET=$(TARGET)
49 .IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
50 DOCTOKLIB=-ldoctok
51 OOXMLLIB=-looxml
52 RESOURCEMODELLIB=-lresourcemodel
53 .ELIF "$(GUI)"=="OS2"
54 DOCTOKLIB=$(LB)$/idoctok.lib
55 OOXMLLIB=$(LB)$/iooxml.lib
56 RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
57 .ELIF "$(GUI)"=="WNT"
58 .IF "$(COM)"=="GCC"
59 DOCTOKLIB=-ldoctok
60 OOXMLLIB=-looxml
61 RESOURCEMODELLIB=-lresourcemodel
62 .ELSE
63 DOCTOKLIB=$(LB)$/idoctok.lib
64 OOXMLLIB=$(LB)$/iooxml.lib
65 RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
66 .ENDIF
67 .ENDIF
69 SHL1STDLIBS=$(SALLIB)\
70 $(CPPULIB)\
71 $(COMPHELPERLIB)\
72 $(CPPUHELPERLIB)\
73 $(UCBHELPERLIB)\
74 $(DOCTOKLIB) \
75 $(OOXMLLIB) \
76 $(RESOURCEMODELLIB)
78 SHL1LIBS=\
79 $(SLB)$/debugservices_doctok.lib \
80 $(SLB)$/debugservices_ooxml.lib
82 SHL1IMPLIB=i$(SHL1TARGET)
84 SHL1OBJS = $(SLO)$/component.obj
86 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
88 DEF1NAME=$(SHL1TARGET)
89 DEF1EXPORTFILE=exports.dxp
91 # --- Targets ------------------------------------------------------
93 .INCLUDE : target.mk