xref: /aoo4110/main/filter/source/flash/makefile.mk (revision b1cdbd2c)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..
25PRJNAME=filter
26TARGET=flash
27
28ENABLE_EXCEPTIONS=TRUE
29VISIBILITY_HIDDEN=TRUE
30
31# --- Settings ----------------------------------
32
33.INCLUDE :  	settings.mk
34
35.IF "$(SYSTEM_ZLIB)" == "YES"
36CFLAGS+=-DSYSTEM_ZLIB
37.ENDIF
38
39SRS1NAME=$(TARGET)
40SRC1FILES =	impswfdialog.src
41
42SLOFILES=	$(SLO)$/swffilter.obj								\
43			$(SLO)$/swfwriter.obj								\
44			$(SLO)$/swfwriter1.obj								\
45			$(SLO)$/swfwriter2.obj								\
46			$(SLO)$/swfuno.obj									\
47			$(SLO)$/swfexporter.obj							\
48			$(SLO)$/swfdialog.obj							\
49			$(SLO)$/impswfdialog.obj
50
51# --- Library -----------------------------------
52
53RESLIB1NAME=$(TARGET)
54RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
55
56SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
57
58# static libraries must come at the end for MACOSX
59.IF "$(OS)" != "MACOSX"
60SHL1STDLIBS+=\
61	$(ZLIB3RDLIB)
62.ENDIF
63
64
65# dynamic libraries
66SHL1STDLIBS+=\
67	$(SVTOOLLIB)		\
68	$(BASEGFXLIB)		\
69	$(VCLLIB)			\
70	$(UNOTOOLSLIB)		\
71	$(TOOLSLIB)			\
72	$(COMPHELPERLIB)	\
73	$(CPPUHELPERLIB)	\
74	$(CPPULIB)			\
75	$(SALLIB)
76
77# static libraries must come at the end for MACOSX
78.IF "$(OS)" == "MACOSX"
79SHL1STDLIBS+=\
80	$(ZLIB3RDLIB)
81.ENDIF
82
83SHL1DEPN=
84SHL1IMPLIB=	i$(SHL1TARGET)
85SHL1VERSIONMAP=$(SOLARENV)/src/component.map
86SHL1LIBS=	$(SLB)$/$(TARGET).lib
87SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
88
89DEF1NAME=$(SHL1TARGET)
90
91# --- Targets ----------------------------------
92
93.INCLUDE : target.mk
94
95
96ALLTAR : $(MISC)/flash.component
97
98$(MISC)/flash.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
99        flash.component
100    $(XSLTPROC) --nonet --stringparam uri \
101        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
102        $(SOLARENV)/bin/createcomponent.xslt flash.component
103