source: trunk/icedtea-web/netx/Makefile.kmk@ 357

Last change on this file since 357 was 356, checked in by dmik, 13 years ago

icedtea-web: Fix netx makefile to make it build.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1## @file
2#
3
4SUB_DEPTH = ..
5include $(KBUILD_PATH)/subheader.kmk
6
7OTHERS += netx
8BLDDIRS += $(netx_0_OUTDIR)
9
10BUILD_PROPERTIES = $(netx_0_OUTDIR)/net/sourceforge/jnlp/build.properties
11BLDDIRS += $(dir $(BUILD_PROPERTIES))
12
13OTHER_CLEAN += $(BUILD_PROPERTIES) $(netx_0_OUTDIR)/files.txt
14
15$$(BUILD_PROPERTIES): $(PATH_ROOT)/build.properties.in | $$(call DIRDEP,$$(dir $$(@)))
16 sed "s/@RHINO_AVAILABLE@/$(if $(WITH_RHINO),true,false)/g" < $^ > $@
17
18netx: $$(BUILD_PROPERTIES) | $$(call DIRDEP,$$(netx_0_OUTDIR))
19 find $(PATH_SUB_CURRENT) -name '*.java' | sort > $(netx_0_OUTDIR)/files.txt
20ifndef WITH_RHINO
21 sed -i '/RhinoBasedPacEvaluator/ d' $(netx_0_OUTDIR)/files.txt
22endif
23 $(PATH_BOOTSTRAP_JDK)/bin/javac $(IT_JAVACFLAGS) \
24 -d "$(netx_0_OUTDIR)" \
25 -sourcepath "$(PATH_SUB_CURRENT)" \
26 -bootclasspath "$(BOOTSTRAP_JDK_RUNTIME)" \
27 @$(netx_0_OUTDIR)/files.txt
28 (cd $(PATH_SUB_CURRENT)/net/sourceforge/jnlp/resources; \
29 for files in $$(find . -path ./.svn -prune -o -type f -print); \
30 do \
31 $(INSTALL_DATA) -D $${files} \
32 $(netx_0_OUTDIR)/net/sourceforge/jnlp/resources/$${files}; \
33 done)
34 cp -a $(PATH_SUB_CURRENT)/net/sourceforge/jnlp/runtime/pac-funcs.js \
35 $(netx_0_OUTDIR)/net/sourceforge/jnlp/runtime
36
37
38include $(FILE_KBUILD_SUB_FOOTER)
39
40#$(error --$(PATH_OUT))
Note: See TracBrowser for help on using the repository browser.