xref: /aoo41x/main/avmedia/util/makefile.mk (revision 549fe914)
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=..
29PRJNAME=avmedia
30TARGET=avmedia
31GEN_HID=TRUE
32GEN_HID_OTHER=TRUE
33
34# --- Settings ----------------------------------
35
36.INCLUDE :  	settings.mk
37
38# --- Resources ---------------------------------
39
40RESLIB1NAME=$(TARGET)
41RESLIB1IMAGES=$(PRJ)$/res
42RESLIB1SRSFILES=			\
43	$(SRS)$/viewer.srs		\
44	$(SRS)$/framework.srs
45
46# --- Files -------------------------------------
47
48LIB1TARGET=$(SLB)$/$(TARGET).lib
49LIB1FILES=\
50	$(SLB)$/viewer.lib		\
51	$(SLB)$/framework.lib
52
53# ==========================================================================
54
55SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
56SHL1IMPLIB=i$(TARGET)
57SHL1STDLIBS=$(UNOTOOLSLIB) $(TOOLSLIB) $(CPPULIB) $(CPPUHELPERLIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(SVTOOLLIB) $(SVLLIB) $(SFXLIB) $(VOSLIB)
58SHL1DEF=$(MISC)$/$(SHL1TARGET).def
59SHL1LIBS=$(SLB)$/$(TARGET).lib
60
61DEF1NAME=$(SHL1TARGET)
62DEF1DEPN=$(MISC)$/$(SHL1TARGET).flt $(LIB1TARGET)
63DEF1DES=Avmedia
64DEFLIB1NAME	=$(TARGET)
65
66# --- Targets ----------------------------------
67
68.INCLUDE : target.mk
69
70.IF "$(depend)"==""
71$(MISC)$/$(SHL1TARGET).flt: makefile.mk
72	@echo ------------------------------
73	@echo Making: $@
74	@echo _Impl>$@
75	@echo WEP>>$@
76	@echo LIBMAIN>>$@
77	@echo LibMain>>$@
78	@echo CT>>$@
79.ENDIF
80
81ALLTAR : $(MISC)/avmedia.component
82
83$(MISC)/avmedia.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
84        avmedia.component
85    $(XSLTPROC) --nonet --stringparam uri \
86        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
87        $(SOLARENV)/bin/createcomponent.xslt avmedia.component
88