fix for 82925 git-svn-id: svn://10.0.0.236/trunk@95972 18797224-902f-48f8-a5cc-f745e15eee43
63 lines
1.8 KiB
Plaintext
63 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) 1998 Netscape Communications Corporation. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
|
|
DEPTH=..\..\..\..\..\..
|
|
topsrcdir = $(DEPTH)
|
|
srcdir = .
|
|
VPATH = .
|
|
|
|
MODULE = MThreadContext
|
|
MAKE_OBJ_TYPE =DLL
|
|
DLLNAME =$(MODULE)
|
|
DLL =.\$(OBJDIR)\$(DLLNAME).dll
|
|
COMPONENT = 1
|
|
|
|
JAVAI = iMThreadContext.java \
|
|
iMThreadComponent.java
|
|
|
|
JAVA_SRC = ExecutionThread.java
|
|
|
|
XPIDLSRCS = \
|
|
.\iMThreadContext.idl \
|
|
.\iMThreadComponent.idl\
|
|
$(NULL)
|
|
|
|
CPP_OBJS = \
|
|
.\$(OBJDIR)\MThreadContext.obj \
|
|
.\$(OBJDIR)\MThreadContextFactory.obj \
|
|
$(NULL)
|
|
|
|
LLIBS =$(LLIBS) $(LIBNSPR) $(DIST)\lib\xpcom.lib
|
|
|
|
include <$(topsrcdir)\config\rules.mak>
|
|
|
|
javai:
|
|
echo $(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes -d $(DEPTH)\dist\classes $(JAVAI) $(JAVA_SRC)
|
|
$(JDKHOME)\bin\javac -classpath $(DEPTH)\dist\classes -d $(DEPTH)\dist\classes $(JAVAI) $(JAVA_SRC)
|
|
|
|
install:: $(DLL) javai
|
|
$(MAKE_INSTALL) $(DLL) $(DIST)\bin\components
|
|
|
|
clobber::
|
|
del /f $(DIST)\bin\components\$(DLLNAME).dll
|
|
del /f $(DIST)\bin\components\$(DLLNAME).xpt
|
|
del /f $(DIST)\..\classes\org\mozilla\xpcom\iMThreadComponent.class
|
|
del /f $(DIST)\..\classes\org\mozilla\xpcom\iMThreadContext.class |