Changeset 360
- Timestamp:
- May 9, 2012, 11:52:50 PM (13 years ago)
- Location:
- trunk/icedtea-web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/icedtea-web/netx/Makefile.kmk ¶
r356 r360 10 10 BUILD_PROPERTIES = $(netx_0_OUTDIR)/net/sourceforge/jnlp/build.properties 11 11 BLDDIRS += $(dir $(BUILD_PROPERTIES)) 12 OTHER_CLEAN += $(BUILD_PROPERTIES) 12 13 13 OTHER_CLEAN += $(BUILD_PROPERTIES) $(netx_0_OUTDIR)/files.txt 14 MANIFEST = $(netx_0_OUTDIR)/netx.manifest 15 BLDDIRS += $(dir $(MANIFEST)) 16 OTHER_CLEAN += $(MANIFEST) 17 18 JAVASRCLIST += $(netx_0_OUTDIR)/javasrc.list 19 BLDDIRS += $(dir $(JAVASRCLIST)) 20 OTHER_CLEAN += $(JAVASRCLIST) $(JAVASRCLIST).rsp $(JAVASRCLIST).stamp 21 22 JARFILE = $(PATH_STAGE)/lib/netx.jar 23 BLDDIRS += $(dir $(JARFILE)) 24 OTHER_CLEAN += $(JARFILE) 14 25 15 26 $$(BUILD_PROPERTIES): $(PATH_ROOT)/build.properties.in | $$(call DIRDEP,$$(dir $$(@))) 16 27 sed "s/@RHINO_AVAILABLE@/$(if $(WITH_RHINO),true,false)/g" < $^ > $@ 17 28 18 netx: $$(BUILD_PROPERTIES) | $$(call DIRDEP,$$(netx_0_OUTDIR)) 19 find $(PATH_SUB_CURRENT) -name '*.java' | sort > $(netx_0_OUTDIR)/files.txt 20 ifndef WITH_RHINO 21 sed -i '/RhinoBasedPacEvaluator/ d' $(netx_0_OUTDIR)/files.txt 22 endif 29 $$(MANIFEST): $(PATH_ROOT)/netx.manifest.in | $$(call DIRDEP,$$(dir $$(@))) 30 sed "s/@PACKAGE_NAME@/$(PACKAGE_NAME)/g; \ 31 s/@FULL_VERSION@/$(FULL_VERSION)/g; " < $^ > $@ 32 33 $$(JAVASRCLIST): $(MAKEFILE) | $$(call DIRDEP,$$(dir $$(@))) 34 @echo 'JAVASRC = \' > $@ 35 find $(PATH_SUB_CURRENT) -name '*.java' \ 36 $(if $(WITH_RHINO),,! -name '*RhinoBasedPacEvaluator*') \ 37 -printf '%p \\\n' >> $@ 38 39 $$(JAVASRCLIST).stamp: $$(JAVASRC) | $$(call DIRDEP,$$(dir $$(@))) 40 $(call MSG_COMPILE,netx,$(words $?) sources,$@,JAVA) 41 @echo $? > $(JAVASRCLIST).rsp 23 42 $(PATH_BOOTSTRAP_JDK)/bin/javac $(IT_JAVACFLAGS) \ 24 43 -d "$(netx_0_OUTDIR)" \ 25 44 -sourcepath "$(PATH_SUB_CURRENT)" \ 26 45 -bootclasspath "$(BOOTSTRAP_JDK_RUNTIME)" \ 27 @$(netx_0_OUTDIR)/files.txt 46 @"$(JAVASRCLIST).rsp" 47 @touch "$@" 48 49 $$(JARFILE): $$(BUILD_PROPERTIES) $$(MANIFEST) $$(JAVASRCLIST).stamp 28 50 (cd $(PATH_SUB_CURRENT)/net/sourceforge/jnlp/resources; \ 29 51 for files in $$(find . -path ./.svn -prune -o -type f -print); \ … … 34 56 cp -a $(PATH_SUB_CURRENT)/net/sourceforge/jnlp/runtime/pac-funcs.js \ 35 57 $(netx_0_OUTDIR)/net/sourceforge/jnlp/runtime 58 (cd $(netx_0_OUTDIR); \ 59 $(PATH_BOOTSTRAP_JDK)/bin/jar cfm $(JARFILE) \ 60 $(MANIFEST) javax/jnlp net) 36 61 62 netx: $$(JARFILE) | $$(call DIRDEP,$$(netx_0_OUTDIR)) 37 63 38 64 include $(FILE_KBUILD_SUB_FOOTER) 39 65 40 #$(error --$(PATH_OUT))66 -include $(JAVASRCLIST) -
TabularUnified trunk/icedtea-web/plugin/icedteanp/Makefile.kmk ¶
r357 r360 31 31 $(PATH_ROOT)/extra/OS.cc 32 32 33 # Unsorted stuff from Makefile.in 33 OTHERS += liveconnect 34 BLDDIRS += $(liveconnect_0_OUTDIR) 34 35 35 #@ENABLE_PLUGIN_TRUE@ICEDTEAPLUGIN_CLEAN = clean-IcedTeaPlugin 36 #@ENABLE_PLUGIN_TRUE@LIVECONNECT_DIR = netscape sun/applet 37 #@ENABLE_PLUGIN_TRUE@PLUGIN_DIR = $(abs_top_builddir)/plugin/icedteanp 38 #@ENABLE_PLUGIN_TRUE@PLUGIN_SRCDIR = $(abs_top_srcdir)/plugin/icedteanp 39 #@ENABLE_PLUGIN_TRUE@LIVECONNECT_SRCS = $(PLUGIN_SRCDIR)/java 40 #@ENABLE_PLUGIN_TRUE@ICEDTEAPLUGIN_TARGET = $(PLUGIN_DIR)/IcedTeaPlugin.so stamps/liveconnect-dist.stamp 41 #@ENABLE_PLUGIN_TRUE@PLUGIN_PKGS = sun.applet netscape.security netscape.javascript 36 JAVASRCLIST += $(liveconnect_0_OUTDIR)/javasrc.list 37 BLDDIRS += $(dir $(JAVASRCLIST)) 38 OTHER_CLEAN += $(JAVASRCLIST) $(JAVASRCLIST).rsp $(JAVASRCLIST).stamp 42 39 43 #@ENABLE_PLUGIN_TRUE@ ${INSTALL_PROGRAM} $(PLUGIN_DIR)/IcedTeaPlugin.so $(DESTDIR)$(libdir) 44 #@ENABLE_PLUGIN_TRUE@ ${INSTALL_DATA} $(abs_top_builddir)/liveconnect/lib/classes.jar $(DESTDIR)$(datadir)/$(PACKAGE_NAME)/plugin.jar 40 JARFILE = $(PATH_STAGE)/lib/plugin.jar 41 BLDDIRS += $(dir $(JARFILE)) 42 OTHER_CLEAN += $(JARFILE) 45 43 46 #@ENABLE_PLUGIN_TRUE@stamps/plugin-tests.stamp: $(PLUGIN_TEST_SRCS) stamps/plugin.stamp 47 #@ENABLE_PLUGIN_TRUE@ mkdir -p plugin/tests/LiveConnect 48 #@ENABLE_PLUGIN_TRUE@ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \ 49 #@ENABLE_PLUGIN_TRUE@ -d plugin/tests/LiveConnect \ 50 #@ENABLE_PLUGIN_TRUE@ -classpath liveconnect/lib/classes.jar \ 51 #@ENABLE_PLUGIN_TRUE@ $(PLUGIN_TEST_SRCS) ; 52 #@ENABLE_PLUGIN_TRUE@ $(BOOT_DIR)/bin/jar cf plugin/tests/LiveConnect/PluginTest.jar \ 53 #@ENABLE_PLUGIN_TRUE@ plugin/tests/LiveConnect/*.class ; 54 #@ENABLE_PLUGIN_TRUE@ cp -pPR $(SRC_DIR_LINK) $(abs_top_srcdir)/plugin/tests/LiveConnect/*.{js,html} \ 55 #@ENABLE_PLUGIN_TRUE@ plugin/tests/LiveConnect ; 56 #@ENABLE_PLUGIN_TRUE@ echo "Done. Now launch \"firefox file://`pwd`/index.html\"" ; 57 #@ENABLE_PLUGIN_TRUE@ mkdir -p stamps 58 #@ENABLE_PLUGIN_TRUE@ touch stamps/plugin-tests.stamp 44 $$(JAVASRCLIST): $(MAKEFILE) | $$(call DIRDEP,$$(dir $$(@))) 45 @echo 'JAVASRC = \' > $@ 46 find $(PATH_SUB_CURRENT) -name '*.java' \ 47 -printf '%p \\\n' >> $@ 48 49 $$(JAVASRCLIST).stamp: $$(JAVASRC) | $$(call DIRDEP,$$(dir $$(@))) 50 $(call MSG_COMPILE,liveconnect,$(words $?) sources,$@,JAVA) 51 @echo $? > $(JAVASRCLIST).rsp 52 $(PATH_BOOTSTRAP_JDK)/bin/javac $(IT_JAVACFLAGS) \ 53 -d "$(liveconnect_0_OUTDIR)" \ 54 -sourcepath "$(PATH_SUB_CURRENT)/icedteanp/java" \ 55 -bootclasspath "$(BOOTSTRAP_JDK_RUNTIME);$(PATH_STAGE)/lib/netx.jar" \ 56 @"$(JAVASRCLIST).rsp" 57 @touch "$@" 58 59 $$(JARFILE): $$(JAVASRCLIST).stamp 60 (cd $(liveconnect_0_OUTDIR); \ 61 $(PATH_BOOTSTRAP_JDK)/bin/jar cf $(JARFILE) \ 62 netscape sun/applet) 63 64 liveconnect: $$(JARFILE) | $$(call DIRDEP,$$(liveconnect_0_OUTDIR)) 59 65 60 66 include $(FILE_KBUILD_SUB_FOOTER) 67 68 -include $(JAVASRCLIST)
Note:
See TracChangeset
for help on using the changeset viewer.