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