merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / scanner / makefile.mk
blobff42864e0496689d45156c144b3d8cb8524afc84
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 #*************************************************************************
27 PRJ=..$/..
28 PRJNAME=extensions
29 TARGET=scn
30 ENABLE_EXCEPTIONS=TRUE
31 PACKAGE=com$/sun$/star$/scanner
32 USE_DEFFILE=TRUE
34 # --- Settings -----------------------------------------------------
36 .INCLUDE : $(PRJ)$/util$/makefile.pmk
38 # --- Files --------------------------------------------------------
40 SLOFILES=\
41 $(SLO)$/scnserv.obj \
42 $(SLO)$/scanner.obj
44 .IF "$(GUI)"=="WNT"
45 SLOFILES+=\
46 $(SLO)$/scanwin.obj
47 .ENDIF
49 .IF "$(GUI)"=="UNX" || "$(GUI)" =="OS2"
50 SLOFILES+=\
51 $(SLO)$/sane.obj \
52 $(SLO)$/sanedlg.obj \
53 $(SLO)$/scanunx.obj \
54 $(SLO)$/grid.obj
56 .ENDIF
58 SRS1NAME=$(TARGET)
59 SRC1FILES=\
60 sanedlg.src \
61 grid.src
63 RESLIB1NAME=san
64 RESLIB1IMAGES=$(PRJ)$/source$/scanner
65 RESLIB1SRSFILES= $(SRS)$/scn.srs
66 RESLIB1DEPN= sanedlg.src sanedlg.hrc grid.src grid.hrc
68 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
69 SHL1STDLIBS=\
70 $(CPPULIB) \
71 $(CPPUHELPERLIB) \
72 $(COMPHELPERLIB) \
73 $(VOSLIB) \
74 $(SALLIB) \
75 $(ONELIB) \
76 $(TOOLSLIB) \
77 $(VCLLIB) \
78 $(SVTOOLLIB)
80 .IF "$(GUI)"=="UNX"
81 .IF "$(OS)"!="FREEBSD"
82 .IF "$(OS)"!="NETBSD"
83 SHL1STDLIBS+=$(SVTOOLLIB) -ldl
84 .ENDIF
85 .ENDIF
86 .ENDIF
88 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
89 SHL1IMPLIB=i$(TARGET)
90 SHL1LIBS=$(SLB)$/$(TARGET).lib
91 SHL1VERSIONMAP=$(SOLARENV)/src/component.map
93 DEF1NAME=$(SHL1TARGET)
94 DEF1EXPORTFILE=exports.dxp
97 # --- Targets ------------------------------------------------------
99 .INCLUDE : target.mk