зеркало из https://github.com/mozilla/pjs.git
66 строки
2.0 KiB
Plaintext
66 строки
2.0 KiB
Plaintext
#
|
|
# The contents of this file are subject to the Mozilla Public
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.mozilla.org/MPL/
|
|
#
|
|
# Software distributed under the License is distributed on an "AS
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
# implied. See the License for the specific language governing
|
|
# rights and limitations under the License.
|
|
#
|
|
# The Original Code is mozilla.org code.
|
|
#
|
|
# The Initial Developer of the Original Code is Sun Microsystems,
|
|
# Inc. Portions created by Sun are
|
|
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
JAVA_OR_NSJVM=1
|
|
NO_CAFE=1
|
|
|
|
DEPTH=..\..\..\..
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
include <jmf_defs.mak>
|
|
|
|
JAR_JMP_CLASSES = .
|
|
|
|
!ifdef JAVA_OR_NSJVM
|
|
JDIRS = $(JAR_JMP_CLASSES)
|
|
!endif
|
|
|
|
JAVAC_PROG=$(JDKHOME)\bin\javac
|
|
JAVAC_FLAGS=-classpath $(CLASSPATH);$(JAVA_DESTPATH);$(JMF_CLASSPATH) -d $(JAVA_DESTPATH)
|
|
|
|
include <$(DEPTH)\config\javarules.mak>
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
clean::
|
|
del $(DEPTH)\dist\classes\*Player*.*
|
|
|
|
!ifdef CLASSPATH
|
|
JAVAC_CLASSPATH=$(JAVAC_CLASSPATH);$(CLASSPATH)
|
|
!endif
|
|
|
|
install:: manifest buildRun
|
|
copy manifest $(DEPTH)\dist\classes
|
|
cd $(DEPTH)\dist\classes
|
|
$(JDKHOME)\bin\jar cvfm JMPlayer.jar manifest *Player*.*
|
|
del manifest
|
|
cd $(MOZ_SRC)\mozilla\java\plugins\examples\MediaPlayer
|
|
copy $(DEPTH)\dist\classes\JMPlayer.jar $(DIST)\bin\plugins
|
|
del $(DEPTH)\dist\classes\JMPlayer.jar
|
|
|
|
buildRun:
|
|
@echo +++ Creating runJMP.bat. Use this to run the browser.
|
|
rm -f runJMP.bat
|
|
@echo set CLASSPATH=$(JMF_CLASSPATH);$(CLASSPATH);$(JAVA_DESTPATH) >> runJMP.bat
|
|
!ifdef MOZ_DEBUG
|
|
@echo $(MOZ_SRC)\mozilla\dist\win32_d.obj\bin\mozilla "file:///$(MOZ_SRC)/mozilla/java/plugins/examples/MediaPlayer/samples/samples.html" >> runJMP.bat
|
|
!else
|
|
@echo $(MOZ_SRC)\mozilla\dist\win32_o.obj\bin\mozilla "file:///$(MOZ_SRC)/mozilla/java/plugins/examples/MediaPlayer/samples/samples.html" >> runJMP.bat
|
|
!endif
|