update dev300-m58
[ooovba.git] / extensions / source / scanner / makefile.mk
blobe4e36e44a790c77296de28ca8d227d09bb49bf2a
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.18 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
31 PRJ=..$/..
32 PRJNAME=extensions
33 TARGET=scn
34 ENABLE_EXCEPTIONS=TRUE
35 PACKAGE=com$/sun$/star$/scanner
36 USE_DEFFILE=TRUE
38 # --- Settings -----------------------------------------------------
40 .INCLUDE : $(PRJ)$/util$/makefile.pmk
42 # --- Files --------------------------------------------------------
44 SLOFILES=\
45 $(SLO)$/scnserv.obj \
46 $(SLO)$/scanner.obj
48 .IF "$(GUI)"=="WNT"
49 SLOFILES+=\
50 $(SLO)$/scanwin.obj
51 .ENDIF
53 .IF "$(GUI)"=="UNX" || "$(GUI)" =="OS2"
54 SLOFILES+=\
55 $(SLO)$/sane.obj \
56 $(SLO)$/sanedlg.obj \
57 $(SLO)$/scanunx.obj \
58 $(SLO)$/grid.obj
60 .ENDIF
62 SRS1NAME=$(TARGET)
63 SRC1FILES=\
64 sanedlg.src \
65 grid.src
67 RESLIB1NAME=san
68 RESLIB1IMAGES=$(PRJ)$/source$/scanner
69 RESLIB1SRSFILES= $(SRS)$/scn.srs
70 RESLIB1DEPN= sanedlg.src sanedlg.hrc grid.src grid.hrc
72 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
73 SHL1STDLIBS=\
74 $(CPPULIB) \
75 $(CPPUHELPERLIB) \
76 $(COMPHELPERLIB) \
77 $(VOSLIB) \
78 $(SALLIB) \
79 $(ONELIB) \
80 $(TOOLSLIB) \
81 $(VCLLIB) \
82 $(SVTOOLLIB)
84 .IF "$(GUI)"=="UNX"
85 .IF "$(OS)"!="FREEBSD"
86 .IF "$(OS)"!="NETBSD"
87 SHL1STDLIBS+=$(SVTOOLLIB) -ldl
88 .ENDIF
89 .ENDIF
90 .ENDIF
92 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
93 SHL1IMPLIB=i$(TARGET)
94 SHL1LIBS=$(SLB)$/$(TARGET).lib
95 SHL1VERSIONMAP=exports.map
97 DEF1NAME=$(SHL1TARGET)
98 DEF1EXPORTFILE=exports.dxp
101 # --- Targets ------------------------------------------------------
103 .INCLUDE : target.mk