1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=..$/.. 29 30PRJNAME=embeddedobj 31TARGET=emboleobj 32 33 34# --- Settings ----------------------------------------------------- 35 36.INCLUDE : settings.mk 37 38# .IF "$(DISABLE_ATL)"=="" 39 40LIBTARGET=NO 41USE_DEFFILE=YES 42 43# --- Files -------------------------------------------------------- 44 45SHL1TARGET= $(TARGET) 46 47SHL1IMPLIB= i$(TARGET) 48 49SLOFILES = \ 50 $(SLO)$/closepreventer.obj\ 51 $(SLO)$/oleregister.obj\ 52 $(SLO)$/xolefactory.obj\ 53 $(SLO)$/olepersist.obj\ 54 $(SLO)$/oleembed.obj\ 55 $(SLO)$/olevisual.obj\ 56 $(SLO)$/olemisc.obj\ 57 $(SLO)$/ownview.obj 58 59EXCEPTIONSFILES= \ 60 $(SLO)$/closepreventer.obj\ 61 $(SLO)$/oleregister.obj\ 62 $(SLO)$/xolefactory.obj\ 63 $(SLO)$/olepersist.obj\ 64 $(SLO)$/oleembed.obj\ 65 $(SLO)$/olevisual.obj\ 66 $(SLO)$/olemisc.obj\ 67 $(SLO)$/ownview.obj 68 69.IF "$(GUI)"=="WNT" 70 71SLOFILES += \ 72 $(SLO)$/graphconvert.obj\ 73 $(SLO)$/olecomponent.obj\ 74 $(SLO)$/olewrapclient.obj\ 75 $(SLO)$/xdialogcreator.obj\ 76 $(SLO)$/advisesink.obj 77 78EXCEPTIONSFILES += \ 79 $(SLO)$/graphconvert.obj\ 80 $(SLO)$/olecomponent.obj\ 81 $(SLO)$/olewrapclient.obj\ 82 $(SLO)$/xdialogcreator.obj\ 83 $(SLO)$/advisesink.obj 84 85.ENDIF 86 87SHL1OBJS= $(SLOFILES) 88 89SHL1STDLIBS=\ 90 $(UNOTOOLSLIB)\ 91 $(SALLIB)\ 92 $(VOSLIB)\ 93 $(CPPULIB)\ 94 $(CPPUHELPERLIB)\ 95 $(COMPHELPERLIB)\ 96 $(TOOLSLIB) 97 98 99.IF "$(GUI)"=="WNT" 100.IF "$(COM)"=="GCC" 101EMBOBJLIB=-lembobj 102.ELSE 103EMBOBJLIB=iembobj.lib 104.ENDIF 105 106SHL1STDLIBS+=\ 107 $(EMBOBJLIB)\ 108 $(OLE32LIB)\ 109 $(GDI32LIB)\ 110 $(UUIDLIB)\ 111 $(OLEAUT32LIB) 112 113DEF1EXPORTFILE= exports.dxp 114.ELIF "$(GUI)"=="OS2" 115 116SHL1STDLIBS+=\ 117 iembobj.lib 118 119DEF1EXPORTFILE= exports.dxp 120 121.ENDIF 122 123 124SHL1DEF= $(MISC)$/$(SHL1TARGET).def 125 126DEF1NAME= $(SHL1TARGET) 127 128# .ENDIF 129# --- Targets ------------------------------------------------------- 130 131.INCLUDE : target.mk 132 133ALLTAR : $(MISC)/emboleobj.component 134 135.IF "$(OS)" == "WNT" 136my_platform = .windows 137.END 138 139$(MISC)/emboleobj.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 140 emboleobj.component 141 $(XSLTPROC) --nonet --stringparam uri \ 142 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 143 $(SOLARENV)/bin/createcomponent.xslt emboleobj$(my_platform).component 144