xref: /aoo41x/main/slideshow/util/makefile.mk (revision 7871dc3e)
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=..
25
26PRJNAME=slideshow
27TARGET=slideshow
28ENABLE_EXCEPTIONS=TRUE
29
30# --- Settings -----------------------------------------------------------
31
32.INCLUDE :	settings.mk
33
34# --- Common ----------------------------------------------------------
35
36.IF "$(VERBOSE)"=="TRUE"
37CDEFS+=-DVERBOSE
38.ENDIF
39
40SHL1DLLPRE=
41LIB1TARGET=$(SLB)$/$(TARGET).lib
42LIB1FILES=\
43	$(SLB)$/transitions.lib	\
44	$(SLB)$/activities.lib	\
45	$(SLB)$/animationnodes.lib	\
46	$(SLB)$/shapes.lib \
47	$(SLB)$/slide.lib \
48	$(SLB)$/engine.lib
49
50SHL1TARGET=$(TARGET).uno
51
52SHL1STDLIBS= $(TOOLSLIB) \
53			 $(CPPULIB) \
54			 $(SALLIB) \
55			 $(VCLLIB) \
56			 $(COMPHELPERLIB) \
57			 $(CPPUHELPERLIB) \
58			 $(BASEGFXLIB) \
59			 $(CANVASTOOLSLIB) \
60			 $(CPPCANVASLIB) \
61			 $(UNOTOOLSLIB) \
62			 $(SVTOOLLIB) \
63			 $(AVMEDIALIB)
64
65SHL1IMPLIB=i$(TARGET)
66SHL1LIBS=$(SLB)$/$(TARGET).lib
67SHL1DEF=$(MISC)$/$(SHL1TARGET).def
68
69SHL1VERSIONMAP=$(SOLARENV)/src/component.map
70
71DEF1NAME=$(SHL1TARGET)
72DEF1EXPORTFILE=exports.dxp
73
74# ==========================================================================
75
76TARGET2=slideshowtest
77LIB2TARGET=$(SLB)$/$(TARGET2).lib
78LIB2FILES=$(LIB1FILES)
79
80SHL2TARGET=$(TARGET2)$(DLLPOSTFIX)
81SHL2IMPLIB=i$(TARGET2)
82SHL2STDLIBS= $(SHL1STDLIBS)
83
84SHL2DEF=$(MISC)$/$(SHL2TARGET).def
85SHL2LIBS=$(SLB)$/$(TARGET2).lib
86
87DEF2NAME	=$(SHL2TARGET)
88DEF2LIBNAME = $(TARGET2)
89DEF2DEPN	=$(MISC)$/$(SHL2TARGET).flt
90
91DEF2DES		=SlideShowTest
92
93# ==========================================================================
94
95.INCLUDE :	target.mk
96
97$(MISC)$/$(SHL2TARGET).flt: makefile.mk \
98							$(TARGET2).flt
99	+$(TYPE) $(TARGET2).flt > $@
100
101
102ALLTAR : $(MISC)/slideshow.component
103
104$(MISC)/slideshow.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
105        slideshow.component
106    $(XSLTPROC) --nonet --stringparam uri \
107        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
108        $(SOLARENV)/bin/createcomponent.xslt slideshow.component
109