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=oox 31TARGET=oox 32USE_DEFFILE=TRUE 33ENABLE_EXCEPTIONS=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38.IF "$(L10N_framework)"=="" 39# --- Allgemein ---------------------------------------------------- 40 41LIB1TARGET= $(SLB)$/$(TARGET).lib 42LIB1FILES= \ 43 $(SLB)$/token.lib\ 44 $(SLB)$/helper.lib\ 45 $(SLB)$/core.lib\ 46 $(SLB)$/ole.lib\ 47 $(SLB)$/ppt.lib\ 48 $(SLB)$/xls.lib\ 49 $(SLB)$/vml.lib\ 50 $(SLB)$/drawingml.lib\ 51 $(SLB)$/diagram.lib\ 52 $(SLB)$/chart.lib\ 53 $(SLB)$/table.lib\ 54 $(SLB)$/shape.lib\ 55 $(SLB)$/dump.lib\ 56 $(SLB)$/docprop.lib 57 58# --- Shared-Library ----------------------------------------------- 59 60SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 61SHL1IMPLIB= i$(TARGET) 62SHL1USE_EXPORTS=name 63 64SHL1STDLIBS= \ 65 $(CPPULIB) \ 66 $(CPPUHELPERLIB)\ 67 $(COMPHELPERLIB)\ 68 $(RTLLIB) \ 69 $(SALLIB) \ 70 $(BASEGFXLIB) \ 71 $(SAXLIB) \ 72 $(XMLSCRIPTLIB) 73 74# link openssl, copied this bit from ucb/source/ucp/webdav/makefile.mk 75.IF "$(GUI)"=="WNT" 76SHL1STDLIBS+= $(OPENSSLLIB) 77.ELSE # WNT 78.IF "$(OS)"=="SOLARIS" 79SHL1STDLIBS+= -lnsl -lsocket -ldl 80.ENDIF # SOLARIS 81.IF "$(SYSTEM_OPENSSL)"=="YES" 82SHL1STDLIBS+= $(OPENSSLLIB) 83.ELSE 84SHL1STDLIBS+= $(OPENSSLLIBST) 85.ENDIF 86.ENDIF # WNT 87 88SHL1DEF= $(MISC)$/$(SHL1TARGET).def 89SHL1LIBS= $(LIB1TARGET) 90DEF1NAME =$(SHL1TARGET) 91DEFLIB1NAME =$(TARGET) 92 93# --- Targets ---------------------------------------------------------- 94.ENDIF # L10N_framework 95 96.INCLUDE : target.mk 97 98ALLTAR : $(MISC)/oox.component 99 100$(MISC)/oox.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 101 oox.component 102 $(XSLTPROC) --nonet --stringparam uri \ 103 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 104 $(SOLARENV)/bin/createcomponent.xslt oox.component 105