fix for 90573 git-svn-id: svn://10.0.0.236/trunk@99224 18797224-902f-48f8-a5cc-f745e15eee43
67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
#!gmake
|
|
#
|
|
# The contents of this file are subject to the Netscape 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/NPL/
|
|
#
|
|
# 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 Netscape
|
|
# Communications Corporation. Portions created by Netscape are
|
|
# Copyright (C) 1999 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Igor Kushnirskiy <idk@eng.sun.com>
|
|
#
|
|
|
|
|
|
DEPTH = ..\..\..\..
|
|
topsrcdir = ..\..\..\..
|
|
srcdir = .
|
|
VPATH = .
|
|
|
|
MAKE_OBJ_TYPE=DLL
|
|
MODULE=javaSample
|
|
COMPONENT=1
|
|
DLLNAME=$(MODULE)
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
XPIDLSRCS = \
|
|
.\bcIJavaSample.idl \
|
|
$(NULL)
|
|
|
|
OBJS = .\$(OBJDIR)\bcJavaSample.obj
|
|
LLIBS=$(LLIBS) $(LIBNSPR) $(DIST)\lib\xpcom.lib
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
include ..\config\rules.mak
|
|
|
|
bcJavaSample.jar.comp: manifest bcIJavaSample.class bcJavaSample.class
|
|
$(JDKHOME)\bin\jar cvfm bcJavaSample.jar.comp manifest *.class
|
|
|
|
|
|
.java.class:
|
|
$(JDKHOME)\bin\javac -classpath .;..\classes;$(DEPTH)\dist\classes $<
|
|
|
|
bcIJavaSample.java : bcIJavaSample.idl
|
|
|
|
install-component: bcJavaSample.jar.comp bcJavaSample.jar.info $(DLL)
|
|
copy bcJavaSample.jar* $(DIST)\bin\components
|
|
copy $(DLL) $(DIST)\bin\components
|
|
copy bcIJavaSample.class $(DEPTH)\dist\classes
|
|
|
|
clobber-java:
|
|
-del *.class *.jar.comp
|
|
clobber:: clobber-java
|
|
rm -f "$(DIST)\bin\components\$(DLLNAME).dll"
|
|
rm -f "$(DIST)\bin\components\bcJavaSample.jar.*"
|
|
clobber_all:: clobber-java
|
|
install:: install-component
|