mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
6c4baee48e
removed headers generated by javah updated makefiles
129 lines
3.8 KiB
Plaintext
Executable File
129 lines
3.8 KiB
Plaintext
Executable File
#!nmake
|
|
#
|
|
# 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=..\..\..
|
|
IGNORE_MANIFEST=1
|
|
|
|
DEFINES=-D_IMPL_NS_WEB -DWIN32_LEAN_AND_MEAN
|
|
MODULE=javadomjni
|
|
|
|
CPPSRCS= \
|
|
javaDOMGlobals.cpp \
|
|
javaDOMEventsGlobals.cpp \
|
|
nativeDOMProxyListener.cpp \
|
|
org_mozilla_dom_DOMAccessor.cpp \
|
|
org_mozilla_dom_AttrImpl.cpp \
|
|
org_mozilla_dom_CharacterDataImpl.cpp \
|
|
org_mozilla_dom_DocumentImpl.cpp \
|
|
org_mozilla_dom_DocumentTypeImpl.cpp \
|
|
org_mozilla_dom_DOMImplementationImpl.cpp \
|
|
org_mozilla_dom_ElementImpl.cpp \
|
|
org_mozilla_dom_EntityImpl.cpp \
|
|
org_mozilla_dom_NamedNodeMapImpl.cpp \
|
|
org_mozilla_dom_NodeImpl.cpp \
|
|
org_mozilla_dom_NodeListImpl.cpp \
|
|
org_mozilla_dom_NotationImpl.cpp \
|
|
org_mozilla_dom_ProcessingInstructionImpl.cpp \
|
|
org_mozilla_dom_TextImpl.cpp \
|
|
org_mozilla_dom_events_EventImpl.cpp \
|
|
org_mozilla_dom_events_MouseEventImpl.cpp \
|
|
org_mozilla_dom_events_UIEventImpl.cpp \
|
|
$(NULL)
|
|
|
|
CPP_OBJS= \
|
|
.\$(OBJDIR)\javaDOMGlobals.obj \
|
|
.\$(OBJDIR)\javaDOMEventsGlobals.obj \
|
|
.\$(OBJDIR)\nativeDOMProxyListener.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_DOMAccessor.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_AttrImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_CharacterDataImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_DocumentImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_DocumentTypeImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_DOMImplementationImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_ElementImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_EntityImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_NamedNodeMapImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_NodeImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_NodeListImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_NotationImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_ProcessingInstructionImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_TextImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_events_EventImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_events_UIEventImpl.obj \
|
|
.\$(OBJDIR)\org_mozilla_dom_events_MouseEventImpl.obj \
|
|
$(NULL)
|
|
|
|
JAVA_CLS= \
|
|
org.mozilla.dom.DOMAccessor \
|
|
org.mozilla.dom.AttrImpl \
|
|
org.mozilla.dom.CharacterDataImpl \
|
|
org.mozilla.dom.DocumentImpl \
|
|
org.mozilla.dom.DocumentTypeImpl \
|
|
org.mozilla.dom.DOMImplementationImpl \
|
|
org.mozilla.dom.ElementImpl \
|
|
org.mozilla.dom.EntityImpl \
|
|
org.mozilla.dom.NamedNodeMapImpl \
|
|
org.mozilla.dom.NodeImpl \
|
|
org.mozilla.dom.NodeListImpl \
|
|
org.mozilla.dom.NotationImpl \
|
|
org.mozilla.dom.ProcessingInstructionImpl \
|
|
org.mozilla.dom.TextImpl \
|
|
org.mozilla.dom.events.EventImpl \
|
|
org.mozilla.dom.events.MouseEventImpl \
|
|
org.mozilla.dom.events.UIEventImpl \
|
|
$(NULL)
|
|
|
|
|
|
LINCS=
|
|
|
|
MAKE_OBJ_TYPE = DLL
|
|
DLLNAME = javadomjni
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
LIBRARY_NAME=javadomimpl
|
|
|
|
LCFLAGS = \
|
|
$(LCFLAGS) \
|
|
$(DEFINES) \
|
|
$(NULL)
|
|
|
|
# These are the libraries we need to link with to create the dll
|
|
LLIBS= \
|
|
$(DIST)\lib\xpcom.lib \
|
|
$(LIBNSPR)
|
|
|
|
include <$(DEPTH)\config\config.mak>
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
JAVAH_PROG=$(JDKHOME)\bin\javah
|
|
JAVAH_FLAGS=-jni -classpath $(CLASSPATH);$(JAVA_DESTPATH)
|
|
|
|
export::
|
|
$(JAVAH_PROG) $(JAVAH_FLAGS) $(JAVA_CLS)
|
|
|
|
install:: $(DLL)
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
clobber::
|
|
rm -f $(DIST)\bin\$(DLLNAME).dll
|
|
rm -f $(DIST)\lib\$(DLLNAME).lib
|
|
rm -f org_*.h
|