xref: /aoo41x/main/avmedia/source/java/makefile.mk (revision 9e937a48)
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
24# Builds the Java Canvas implementation.
25
26PRJNAME = avmedia
27PRJ     = ..$/..
28TARGET  = avmedia
29PACKAGE = avmedia
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE: settings.mk
34
35.IF "$(GUIBASE)"=="javamedia"
36
37JAVAFILES  = \
38    Manager.java            \
39    Player.java             \
40    PlayerWindow.java       \
41    WindowAdapter.java      \
42    MediaUno.java           \
43    FrameGrabber.java       \
44    x11$/SystemWindowAdapter.java
45
46JARFILES        = jurt.jar unoil.jar ridl.jar juh.jar java_uno.jar jmf.jar
47JAVACLASSFILES  = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:s/.java//).class)
48
49JARTARGET               = $(TARGET).jar
50JARCOMPRESS             = TRUE
51CUSTOMMANIFESTFILE      = manifest
52
53.ENDIF     # "$(GUIBASE)"=="javamedia"
54
55# --- Targets ------------------------------------------------------
56
57.INCLUDE: target.mk
58
59ALLTAR : $(MISC)/avmedia.jar.component
60
61$(MISC)/avmedia.jar.component .ERRREMOVE : \
62        $(SOLARENV)/bin/createcomponent.xslt avmedia.jar.component
63    $(XSLTPROC) --nonet --stringparam uri \
64        '$(COMPONENTPREFIX_BASIS_JAVA)avmedia.jar' -o $@ \
65        $(SOLARENV)/bin/createcomponent.xslt avmedia.jar.component
66