зеркало из https://github.com/mozilla/pjs.git
added target to make java classes on windows
This commit is contained in:
Родитель
abdd921231
Коммит
4a530bd8e0
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче