mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
added target to make java classes on windows
This commit is contained in:
parent
092098261a
commit
4293bc7c5b
@ -88,16 +88,18 @@ LCFLAGS = \
|
||||
# These are the libraries we need to link with to create the dll
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\img32$(VERSION_NUMBER).lib \
|
||||
$(DIST)\lib\util.lib \
|
||||
$(DIST)\lib\plc3.lib \
|
||||
$(DIST)\lib\jsdom.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
include <$(DEPTH)\config\config.mak>
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
export:: classes
|
||||
|
||||
#XXX - assume that DOM2 java-bindings are in CLASSPATH
|
||||
classes:
|
||||
@echo "Making java classes ..."
|
||||
$(JAVAHOME)\bin\javac -d $(JAVA_DESTPATH) *.java
|
||||
|
||||
install:: $(DLL)
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
||||
|
@ -26,7 +26,7 @@ DIRS = jni
|
||||
JAVAHOME=$(JDKHOME)
|
||||
DEFINES=-D_IMPL_NS_WEB -DWIN32_LEAN_AND_MEAN
|
||||
!ifdef JAVA_DOM_OJI_ENABLE
|
||||
DEFINES+= -DJAVA_DOM_OJI_ENABLE
|
||||
DEFINES=$(DEFINES) -DJAVA_DOM_OJI_ENABLE
|
||||
!endif
|
||||
MODULE=javadom
|
||||
IS_COMPONENT=1
|
||||
@ -73,11 +73,6 @@ LLIBS= \
|
||||
$(JAVAHOME)\lib\jvm.lib \
|
||||
!endif
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\img32$(VERSION_NUMBER).lib \
|
||||
$(DIST)\lib\util.lib \
|
||||
$(DIST)\lib\plc3.lib \
|
||||
$(DIST)\lib\jsdom.lib \
|
||||
$(DIST)\lib\js3250.lib \
|
||||
$(LIBNSPR)
|
||||
|
||||
include <$(DEPTH)\config\config.mak>
|
||||
|
Loading…
Reference in New Issue
Block a user