xref: /aoo41x/main/slideshow/util/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..
29
30PRJNAME=slideshow
31TARGET=slideshow
32ENABLE_EXCEPTIONS=TRUE
33
34# --- Settings -----------------------------------------------------------
35
36.INCLUDE :	settings.mk
37
38# --- Common ----------------------------------------------------------
39
40.IF "$(VERBOSE)"=="TRUE"
41CDEFS+=-DVERBOSE
42.ENDIF
43
44SHL1DLLPRE=
45LIB1TARGET=$(SLB)$/$(TARGET).lib
46LIB1FILES=\
47	$(SLB)$/transitions.lib	\
48	$(SLB)$/activities.lib	\
49	$(SLB)$/animationnodes.lib	\
50	$(SLB)$/shapes.lib \
51	$(SLB)$/slide.lib \
52	$(SLB)$/engine.lib
53
54SHL1TARGET=$(TARGET).uno
55
56SHL1STDLIBS= $(TOOLSLIB) \
57			 $(CPPULIB) \
58			 $(SALLIB) \
59			 $(VCLLIB) \
60			 $(COMPHELPERLIB) \
61			 $(CPPUHELPERLIB) \
62			 $(BASEGFXLIB) \
63			 $(CANVASTOOLSLIB) \
64			 $(CPPCANVASLIB) \
65			 $(UNOTOOLSLIB) \
66			 $(SVTOOLLIB) \
67			 $(AVMEDIALIB)
68
69SHL1IMPLIB=i$(TARGET)
70SHL1LIBS=$(SLB)$/$(TARGET).lib
71SHL1DEF=$(MISC)$/$(SHL1TARGET).def
72
73SHL1VERSIONMAP=$(SOLARENV)/src/component.map
74
75DEF1NAME=$(SHL1TARGET)
76DEF1EXPORTFILE=exports.dxp
77
78# ==========================================================================
79
80TARGET2=slideshowtest
81LIB2TARGET=$(SLB)$/$(TARGET2).lib
82LIB2FILES=$(LIB1FILES)
83
84SHL2TARGET=$(TARGET2)$(DLLPOSTFIX)
85SHL2IMPLIB=i$(TARGET2)
86SHL2STDLIBS= $(SHL1STDLIBS)
87
88SHL2DEF=$(MISC)$/$(SHL2TARGET).def
89SHL2LIBS=$(SLB)$/$(TARGET2).lib
90
91DEF2NAME	=$(SHL2TARGET)
92DEF2LIBNAME = $(TARGET2)
93DEF2DEPN	=$(MISC)$/$(SHL2TARGET).flt
94
95DEF2DES		=SlideShowTest
96
97# ==========================================================================
98
99.INCLUDE :	target.mk
100
101$(MISC)$/$(SHL2TARGET).flt: makefile.mk \
102							$(TARGET2).flt
103	+$(TYPE) $(TARGET2).flt > $@
104
105
106ALLTAR : $(MISC)/slideshow.component
107
108$(MISC)/slideshow.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
109        slideshow.component
110    $(XSLTPROC) --nonet --stringparam uri \
111        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
112        $(SOLARENV)/bin/createcomponent.xslt slideshow.component
113