*** empty log message ***

git-svn-id: svn://10.0.0.236/branches/JAVADEV_PR3_20001002@81136 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
2000-10-13 19:02:01 +00:00
parent 51aac1d5ff
commit 08ffe4e29e
5 changed files with 63 additions and 10 deletions

View File

@@ -25,9 +25,11 @@ include $(DEPTH)/config/autoconf.mk
include $(DEPTH)/config/config.mk
ifneq ($(PACKAGE_BUILD),)
PLUGLETS_DIR=$(DIST)/javadev/example
MISC_DIR=$(DIST)/javadev/misc
HTML_DIR=$(DIST)/javadev/html
JAVADEV=$(DIST)/javadev
PLUGLETS_DIR=$(JAVADEV)/example
MISC_DIR=$(JAVADEV)/misc
HTML_DIR=$(JAVADEV)/misc
INSTALL = $(DEPTH)/config/nsinstall -m 666
else
PLUGLETS_DIR=$(DIST)/bin/plugins
MISC_DIR=$(DIST)/bin/res/javadev/pluglets
@@ -41,27 +43,33 @@ $(PLUGLET).jar: $(CLASSES) manifest
.java.class:
$(JDKHOME)/bin/javac -classpath .:../../classes:$(CLASSPATH):JavaDOM.jar $<
clobber:
rm *.class *.jar
rm -f *.class *.jar
clean : clobber
ifneq ($(PLUGLET),)
INSTALL_DEPS += install_pluglet
endif
ifneq ($(HTML),)
EXPORT_DEPS += export_html
INSTALL_DEPS += install_html
endif
ifneq ($(MISC),)
EXPORT_DEPS += export_misc
INSTALL_DEPS += install_misc
endif
export: $(PLUGLET).jar $(EXPORT_DEPS)
install_pluglet: $(PLUGLET).jar
$(INSTALL) $(PLUGLET).jar $(PLUGLETS_DIR)
export_html :
install_html :
$(INSTALL) $(HTML) $(HTML_DIR)
export_misc :
install_misc :
$(INSTALL) $(MISC) $(MISC_DIR)
install: export
install: $(INSTALL_DEPS)
export: install

View File

@@ -29,6 +29,7 @@ DIRS= \
zip \
rtf \
dom \
demo \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,28 @@
#
# 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):
DEPTH= ../../../..
HTML=index.html
include ../../config/rules.mk
export:
cp pluglet_run.sh $(DEPTH)/bin

View File

@@ -0,0 +1,12 @@
<html>
<title>
Pluglets demo
</title>
<body>
<ul>
<li> <a href="test.html" target="new"> Test plulets </a>
<li> <a href="dom.html" target="new"> DOM viewer plulets </a>
<li> <a href="zip.html" target="new"> Zip viewer plulets </a>
</ul>
</body>
</thml>

View File

@@ -0,0 +1,4 @@
#!/bin/sh
LD_PRELOAD=libXm.so
export LD_PRELOAD
./mozilla resource:///res/javadev/pluglets/index.html