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 |
|
---|
4 | SUB_DEPTH = ..
|
---|
5 | include $(KBUILD_PATH)/subheader.kmk
|
---|
6 |
|
---|
7 | OTHERS += netx
|
---|
8 | BLDDIRS += $(netx_0_OUTDIR)
|
---|
9 |
|
---|
10 | BUILD_PROPERTIES = $(netx_0_OUTDIR)/net/sourceforge/jnlp/build.properties
|
---|
11 | BLDDIRS += $(dir $(BUILD_PROPERTIES))
|
---|
12 |
|
---|
13 | OTHER_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 |
|
---|
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
|
---|
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 |
|
---|
38 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
39 |
|
---|
40 | #$(error --$(PATH_OUT))
|
---|
Note:
See
TracBrowser
for help on using the repository browser.