merge the formfield patch from ooo-build
[ooovba.git] / filter / source / flash / makefile.mk
blobd544921f40cd94af84fd65b4a9bd1848992c9fd4
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.16 $
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 #*************************************************************************
32 PRJ=..$/..
33 PRJNAME=filter
34 TARGET=flash
36 ENABLE_EXCEPTIONS=TRUE
37 VISIBILITY_HIDDEN=TRUE
39 # --- Settings ----------------------------------
41 .INCLUDE : settings.mk
43 .IF "$(SYSTEM_ZLIB)" == "YES"
44 CFLAGS+=-DSYSTEM_ZLIB
45 .ENDIF
47 SRS1NAME=$(TARGET)
48 SRC1FILES = impswfdialog.src
50 SLOFILES= $(SLO)$/swffilter.obj \
51 $(SLO)$/swfwriter.obj \
52 $(SLO)$/swfwriter1.obj \
53 $(SLO)$/swfwriter2.obj \
54 $(SLO)$/swfuno.obj \
55 $(SLO)$/swfexporter.obj \
56 $(SLO)$/swfdialog.obj \
57 $(SLO)$/impswfdialog.obj
59 # --- Library -----------------------------------
61 RESLIB1NAME=$(TARGET)
62 RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
64 SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
66 # static libraries must come at the end for MACOSX
67 .IF "$(OS)" != "MACOSX"
68 SHL1STDLIBS+=\
69 $(ZLIB3RDLIB)
70 .ENDIF
73 # dynamic libraries
74 SHL1STDLIBS+=\
75 $(SVTOOLLIB) \
76 $(BASEGFXLIB) \
77 $(VCLLIB) \
78 $(UNOTOOLSLIB) \
79 $(TOOLSLIB) \
80 $(COMPHELPERLIB) \
81 $(CPPUHELPERLIB) \
82 $(CPPULIB) \
83 $(SALLIB)
85 # static libraries must come at the end for MACOSX
86 .IF "$(OS)" == "MACOSX"
87 SHL1STDLIBS+=\
88 $(ZLIB3RDLIB)
89 .ENDIF
91 SHL1DEPN=
92 SHL1IMPLIB= i$(SHL1TARGET)
93 SHL1VERSIONMAP=exports.map
94 SHL1LIBS= $(SLB)$/$(TARGET).lib
95 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
97 DEF1NAME=$(SHL1TARGET)
99 # --- Targets ----------------------------------
101 .INCLUDE : target.mk