diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-08-14 15:57:06 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-08-14 15:57:06 +0000 |
commit | 1ef006a3f8f1e76497f6f8159111e88e9516da4e (patch) | |
tree | b773e686db40e6d7c84a313f9215fbe69f85e996 /sdext/source/pdfimport/makefile.mk | |
parent | d6ec8298b1bf774547547714e7cab60a38add151 (diff) |
INTEGRATION: CWS pdf25 (1.1.2); FILE ADDED
2008/07/24 12:36:38 akhva 1.1.2.1: #90061
Diffstat (limited to 'sdext/source/pdfimport/makefile.mk')
-rw-r--r-- | sdext/source/pdfimport/makefile.mk | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/makefile.mk b/sdext/source/pdfimport/makefile.mk new file mode 100644 index 000000000000..8c53d497aa70 --- /dev/null +++ b/sdext/source/pdfimport/makefile.mk @@ -0,0 +1,144 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2008 by Sun Microsystems, Inc. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.2 $ +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=..$/.. + +PRJNAME=sdext +TARGET=pdfimport +ENABLE_EXCEPTIONS=TRUE + +# --- Settings ----------------------------------------------------- + +MKDEPENDSOLVER:= +.INCLUDE: settings.mk +.INCLUDE: pdfisettings.pmk +INCPRE=-I$(PRJ)$/source$/pdfimport$/inc + +# --- Files -------------------------------------------------------- + +EXTENSIONNAME:=PDFImport +EXTENSION_ZIPNAME:=pdfimport + +.IF "$(ENABLE_PDFIMPORT)" == "NO" +@all: + @echo "PDF Import extension disabled." +.ENDIF + +SLOFILES=\ + $(SLO)$/filterdet.obj \ + $(SLO)$/pdfiadaptor.obj \ + $(SLO)$/services.obj + +SHL1DLLPRE= +SHL1TARGET=$(TARGET).uno + +SHL1LIBS=\ + $(SLB)$/pdfmisc.lib \ + $(SLB)$/pdfparse.lib \ + $(SLB)$/pdfsax.lib \ + $(SLB)$/pdfparsetree.lib \ + $(SLB)$/pdfodf.lib \ + $(SLB)$/xpdfwrapper.lib \ + $(SLB)$/$(TARGET).lib + +SHL1STDLIBS=\ + $(CPPUHELPERLIB) \ + $(ZLIB3RDLIB) \ + $(CPPULIB) \ + $(SALLIB) + +.IF "$(GUI)" == "UNX" + SHL1STDLIBS+=-lbasegfx_s +.ELSE +.IF "$(GUI)" == "WNT" +.IF "$(COM)"=="GCC" + SHL1STDLIBS+=-lbasegfx_s +.ELSE + SHL1LIBS+=$(SOLARLIBDIR)$/basegfx_s.lib +.ENDIF + +.ENDIF # WNT +.ENDIF # UNX + +SHL1DEPN= +SHL1IMPLIB= i$(SHL1TARGET) +SHL1DEF= $(MISC)$/$(SHL1TARGET).def +SHL1VERSIONMAP=exports.map +SHL1RPATH=OXT + +DEF1NAME=$(SHL1TARGET) + +# --- Extension packaging ------------------------------------------ + +DESCRIPTION_SRC:=config$/description.xml +MANIFEST_SRC:=config$/manifest.xml +COMPONENT_CONFIGDIR:=config +COMPONENT_CONFIGDEST:=. +COMPONENT_XCU= \ + $(EXTENSIONDIR)$/pdf_import_filter.xcu \ + $(EXTENSIONDIR)$/pdf_types.xcu + +CONVERTER_FILE= \ + $(EXTENSIONDIR)$/xpdfimport$(EXECPOST) \ + +COMPONENT_DIALOGS= \ + $(EXTENSIONDIR)$/basic$/Module1.xba \ + $(EXTENSIONDIR)$/basic$/TargetChooser.xdl \ + $(EXTENSIONDIR)$/basic$/dialog.xlb \ + $(EXTENSIONDIR)$/basic$/impress.png \ + $(EXTENSIONDIR)$/basic$/script.xlb \ + $(EXTENSIONDIR)$/basic$/writer.png \ + $(EXTENSIONDIR)$/xpdfimport_err.pdf + +COMPONENT_HELP= \ + $(EXTENSIONDIR)$/help/component.txt + +# native libraries +COMPONENT_LIBRARIES= \ + $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST) + +EXTENSION_PACKDEPS=$(CONVERTER_FILE) $(COMPONENT_DIALOGS) $(COMPONENT_HELP) makefile.mk + +.INCLUDE : extension_pre.mk +.INCLUDE : target.mk +.INCLUDE : extension_post.mk + +$(CONVERTER_FILE) : $(SOLARBINDIR)$/$$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(COPY) $< $@ + +$(COMPONENT_DIALOGS) : dialogs$/$$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(COPY) $< $@ + +$(COMPONENT_HELP) : help$/$$(@:f) + @@-$(MKDIRHIER) $(@:d) + $(COPY) $< $@ |