update dev300-m58
[ooovba.git] / embeddedobj / source / msole / makefile.mk
blob2af3f28183d2de40939b8f89fad248ffc02ab507
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.15 $
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=embeddedobj
35 TARGET=emboleobj
38 # --- Settings -----------------------------------------------------
40 .INCLUDE : settings.mk
42 # .IF "$(DISABLE_ATL)"==""
44 LIBTARGET=NO
45 USE_DEFFILE=YES
47 # --- Files --------------------------------------------------------
49 SHL1TARGET= $(TARGET)
51 SHL1IMPLIB= i$(TARGET)
53 SLOFILES = \
54 $(SLO)$/closepreventer.obj\
55 $(SLO)$/oleregister.obj\
56 $(SLO)$/xolefactory.obj\
57 $(SLO)$/olepersist.obj\
58 $(SLO)$/oleembed.obj\
59 $(SLO)$/olevisual.obj\
60 $(SLO)$/olemisc.obj\
61 $(SLO)$/ownview.obj
63 EXCEPTIONSFILES= \
64 $(SLO)$/closepreventer.obj\
65 $(SLO)$/oleregister.obj\
66 $(SLO)$/xolefactory.obj\
67 $(SLO)$/olepersist.obj\
68 $(SLO)$/oleembed.obj\
69 $(SLO)$/olevisual.obj\
70 $(SLO)$/olemisc.obj\
71 $(SLO)$/ownview.obj
73 .IF "$(GUI)"=="WNT"
75 SLOFILES += \
76 $(SLO)$/graphconvert.obj\
77 $(SLO)$/olecomponent.obj\
78 $(SLO)$/olewrapclient.obj\
79 $(SLO)$/xdialogcreator.obj\
80 $(SLO)$/advisesink.obj
82 EXCEPTIONSFILES += \
83 $(SLO)$/graphconvert.obj\
84 $(SLO)$/olecomponent.obj\
85 $(SLO)$/olewrapclient.obj\
86 $(SLO)$/xdialogcreator.obj\
87 $(SLO)$/advisesink.obj
89 .ENDIF
91 SHL1OBJS= $(SLOFILES)
93 SHL1STDLIBS=\
94 $(SALLIB)\
95 $(VOSLIB)\
96 $(CPPULIB)\
97 $(CPPUHELPERLIB)\
98 $(COMPHELPERLIB)\
99 $(TOOLSLIB)\
100 $(SVTOOLLIB)
102 .IF "$(GUI)"=="WNT"
103 .IF "$(COM)"=="GCC"
104 EMBOBJLIB=-lembobj
105 .ELSE
106 EMBOBJLIB=iembobj.lib
107 .ENDIF
109 SHL1STDLIBS+=\
110 $(VCLLIB)\
111 $(EMBOBJLIB)\
112 $(OLE32LIB)\
113 $(GDI32LIB)\
114 $(UUIDLIB)\
115 $(OLEAUT32LIB)
117 DEF1EXPORTFILE= exports.dxp
118 .ELIF "$(GUI)"=="OS2"
120 SHL1STDLIBS+=\
121 $(VCLLIB)\
122 iembobj.lib
124 DEF1EXPORTFILE= exports.dxp
126 .ENDIF
129 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
131 DEF1NAME= $(SHL1TARGET)
133 # .ENDIF
134 # --- Targets -------------------------------------------------------
136 .INCLUDE : target.mk