merged tag ooo/DEV300_m102
[LibreOffice.git] / filter / source / pdf / makefile.mk
blob65028c7d5d8d9002ed787e1b3a842ee59d00d49d
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..$/..
29 PRJNAME=filter
30 TARGET=pdffilter
31 GEN_HID=TRUE
33 ENABLE_EXCEPTIONS=TRUE
34 VISIBILITY_HIDDEN=TRUE
36 # --- Settings ----------------------------------
38 .INCLUDE : settings.mk
40 # --- Files -------------------------------------
42 SRS1NAME=$(TARGET)
43 SRC1FILES = impdialog.src \
44 pdf.src
46 SLOFILES= $(SLO)$/pdfuno.obj \
47 $(SLO)$/pdfdialog.obj \
48 $(SLO)$/impdialog.obj \
49 $(SLO)$/pdffilter.obj \
50 $(SLO)$/pdfinteract.obj \
51 $(SLO)$/pdfexport.obj
53 # --- Library -----------------------------------
55 RESLIB1NAME=$(TARGET)
56 RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
58 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
60 SHL1STDLIBS=\
61 $(SVTOOLLIB) \
62 $(TKLIB) \
63 $(VCLLIB) \
64 $(SVLLIB) \
65 $(BASEGFXLIB) \
66 $(SFX2LIB) \
67 $(UNOTOOLSLIB) \
68 $(TOOLSLIB) \
69 $(COMPHELPERLIB) \
70 $(CPPUHELPERLIB) \
71 $(CPPULIB) \
72 $(SALLIB)
74 SHL1DEPN=
75 SHL1IMPLIB= i$(SHL1TARGET)
76 SHL1LIBS= $(SLB)$/$(TARGET).lib
77 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
78 SHL1VERSIONMAP=$(SOLARENV)/src/component.map
80 DEF1NAME=$(SHL1TARGET)
82 # --- Targets ----------------------------------
84 .INCLUDE : target.mk
86 ALLTAR : $(MISC)/pdffilter.component
88 $(MISC)/pdffilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
89 pdffilter.component
90 $(XSLTPROC) --nonet --stringparam uri \
91 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
92 $(SOLARENV)/bin/createcomponent.xslt pdffilter.component