xref: /AOO41X/main/avmedia/util/makefile.mk (revision 2407af082dace66c1b57237797ea1e24af5fe607)
1*2407af08SAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
3*2407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*2407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*2407af08SAndrew Rist#  distributed with this work for additional information
6*2407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*2407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*2407af08SAndrew Rist#  "License"); you may not use this file except in compliance
9*2407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
11*2407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
13*2407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*2407af08SAndrew Rist#  software distributed under the License is distributed on an
15*2407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
17*2407af08SAndrew Rist#  specific language governing permissions and limitations
18*2407af08SAndrew Rist#  under the License.
19cdf0e10cSrcweir#
20*2407af08SAndrew Rist#**************************************************************
21*2407af08SAndrew Rist
22*2407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweirPRJNAME=avmedia
26cdf0e10cSrcweirTARGET=avmedia
27cdf0e10cSrcweirGEN_HID=TRUE
28cdf0e10cSrcweirGEN_HID_OTHER=TRUE
29cdf0e10cSrcweir
30cdf0e10cSrcweir# --- Settings ----------------------------------
31cdf0e10cSrcweir
32cdf0e10cSrcweir.INCLUDE :  	settings.mk
33cdf0e10cSrcweir
34cdf0e10cSrcweir# --- Resources ---------------------------------
35cdf0e10cSrcweir
36cdf0e10cSrcweirRESLIB1NAME=$(TARGET)
37cdf0e10cSrcweirRESLIB1IMAGES=$(PRJ)$/res
38cdf0e10cSrcweirRESLIB1SRSFILES=			\
39cdf0e10cSrcweir	$(SRS)$/viewer.srs		\
40cdf0e10cSrcweir	$(SRS)$/framework.srs
41cdf0e10cSrcweir
42cdf0e10cSrcweir# --- Files -------------------------------------
43cdf0e10cSrcweir
44cdf0e10cSrcweirLIB1TARGET=$(SLB)$/$(TARGET).lib
45cdf0e10cSrcweirLIB1FILES=\
46cdf0e10cSrcweir	$(SLB)$/viewer.lib		\
47cdf0e10cSrcweir	$(SLB)$/framework.lib
48cdf0e10cSrcweir
49cdf0e10cSrcweir# ==========================================================================
50cdf0e10cSrcweir
51cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(DLLPOSTFIX)
52cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET)
53cdf0e10cSrcweirSHL1STDLIBS=$(UNOTOOLSLIB) $(TOOLSLIB) $(CPPULIB) $(CPPUHELPERLIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(SVTOOLLIB) $(SVLLIB) $(SFXLIB) $(VOSLIB)
54cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
55cdf0e10cSrcweirSHL1LIBS=$(SLB)$/$(TARGET).lib
56cdf0e10cSrcweir
57cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
58cdf0e10cSrcweirDEF1DEPN=$(MISC)$/$(SHL1TARGET).flt $(LIB1TARGET)
59cdf0e10cSrcweirDEF1DES=Avmedia
60cdf0e10cSrcweirDEFLIB1NAME	=$(TARGET)
61cdf0e10cSrcweir
62cdf0e10cSrcweir# --- Targets ----------------------------------
63cdf0e10cSrcweir
64cdf0e10cSrcweir.INCLUDE : target.mk
65cdf0e10cSrcweir
66cdf0e10cSrcweir.IF "$(depend)"==""
67cdf0e10cSrcweir$(MISC)$/$(SHL1TARGET).flt: makefile.mk
68cdf0e10cSrcweir	@echo ------------------------------
69cdf0e10cSrcweir	@echo Making: $@
70cdf0e10cSrcweir	@echo _Impl>$@
71cdf0e10cSrcweir	@echo WEP>>$@
72cdf0e10cSrcweir	@echo LIBMAIN>>$@
73cdf0e10cSrcweir	@echo LibMain>>$@
74cdf0e10cSrcweir	@echo CT>>$@
75cdf0e10cSrcweir.ENDIF
76cdf0e10cSrcweir
77cdf0e10cSrcweirALLTAR : $(MISC)/avmedia.component
78cdf0e10cSrcweir
79cdf0e10cSrcweir$(MISC)/avmedia.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
80cdf0e10cSrcweir        avmedia.component
81cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
82cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
83cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt avmedia.component
84