summaryrefslogtreecommitdiff
path: root/filter/source/flash/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/makefile.mk')
-rw-r--r--filter/source/flash/makefile.mk106
1 files changed, 106 insertions, 0 deletions
diff --git a/filter/source/flash/makefile.mk b/filter/source/flash/makefile.mk
new file mode 100644
index 000000000000..69da217234d8
--- /dev/null
+++ b/filter/source/flash/makefile.mk
@@ -0,0 +1,106 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# 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=filter
+TARGET=flash
+
+ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
+
+# --- Settings ----------------------------------
+
+.INCLUDE : settings.mk
+
+.IF "$(SYSTEM_ZLIB)" == "YES"
+CFLAGS+=-DSYSTEM_ZLIB
+.ENDIF
+
+SRS1NAME=$(TARGET)
+SRC1FILES = impswfdialog.src
+
+SLOFILES= $(SLO)$/swffilter.obj \
+ $(SLO)$/swfwriter.obj \
+ $(SLO)$/swfwriter1.obj \
+ $(SLO)$/swfwriter2.obj \
+ $(SLO)$/swfuno.obj \
+ $(SLO)$/swfexporter.obj \
+ $(SLO)$/swfdialog.obj \
+ $(SLO)$/impswfdialog.obj
+
+# --- Library -----------------------------------
+
+RESLIB1NAME=$(TARGET)
+RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
+
+SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
+
+# static libraries must come at the end for MACOSX
+.IF "$(OS)" != "MACOSX"
+SHL1STDLIBS+=\
+ $(ZLIB3RDLIB)
+.ENDIF
+
+
+# dynamic libraries
+SHL1STDLIBS+=\
+ $(SVTOOLLIB) \
+ $(BASEGFXLIB) \
+ $(VCLLIB) \
+ $(UNOTOOLSLIB) \
+ $(TOOLSLIB) \
+ $(COMPHELPERLIB) \
+ $(CPPUHELPERLIB) \
+ $(CPPULIB) \
+ $(SALLIB)
+
+# static libraries must come at the end for MACOSX
+.IF "$(OS)" == "MACOSX"
+SHL1STDLIBS+=\
+ $(ZLIB3RDLIB)
+.ENDIF
+
+SHL1DEPN=
+SHL1IMPLIB= i$(SHL1TARGET)
+SHL1VERSIONMAP=$(SOLARENV)/src/component.map
+SHL1LIBS= $(SLB)$/$(TARGET).lib
+SHL1DEF= $(MISC)$/$(SHL1TARGET).def
+
+DEF1NAME=$(SHL1TARGET)
+
+# --- Targets ----------------------------------
+
+.INCLUDE : target.mk
+
+
+ALLTAR : $(MISC)/flash.component
+
+$(MISC)/flash.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ flash.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt flash.component