added target to make java classes on windows

This commit is contained in:
sdv%sparc.spb.su 2000-03-13 23:03:07 +00:00
parent 092098261a
commit 4293bc7c5b
2 changed files with 8 additions and 11 deletions

View File

@ -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

View File

@ -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>