added AseAwkApplet.js to makefile.in and build.xml

This commit is contained in:
hyung-hwan 2007-11-20 08:13:43 +00:00
parent 408c28cf9a
commit e19ac0c344
2 changed files with 7 additions and 2 deletions

View File

@ -61,6 +61,7 @@
<delete dir="${bindir}/META-INF" verbose="true" /> <delete dir="${bindir}/META-INF" verbose="true" />
<copy file="test/awk/AseAwkApplet.html" todir="${destdir}" /> <copy file="test/awk/AseAwkApplet.html" todir="${destdir}" />
<copy file="test/awk/AseAwkApplet.js" todir="${destdir}" />
</target> </target>
<target name="clean" description="clean up"> <target name="clean" description="clean up">

View File

@ -26,7 +26,7 @@ all: build$(JNI)
build: $(TMP_DIR) $(OUT_DIR_BIN) $(OUT_DIR_BIN)/aseawk $(OUT_DIR_BIN)/aseawk_mini $(OUT_DIR_BIN)/aseawk++ build: $(TMP_DIR) $(OUT_DIR_BIN) $(OUT_DIR_BIN)/aseawk $(OUT_DIR_BIN)/aseawk_mini $(OUT_DIR_BIN)/aseawk++
buildjni: build $(OUT_DIR_BIN)/aseawk.jar $(OUT_DIR)/AseAwkApplet.html buildjni: build $(OUT_DIR_BIN)/aseawk.jar $(OUT_DIR)/AseAwkApplet.html $(OUT_DIR)/AseAwkApplet.js
$(OUT_DIR_BIN)/aseawk: awk.c $(OUT_DIR_BIN)/aseawk: awk.c
$(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS)
@ -54,6 +54,9 @@ $(TMP_DIR)/AseAwkApplet.class: AseAwkApplet.java
$(OUT_DIR)/AseAwkApplet.html: AseAwkApplet.html $(OUT_DIR)/AseAwkApplet.html: AseAwkApplet.html
cp -pf AseAwkApplet.html $(OUT_DIR) cp -pf AseAwkApplet.html $(OUT_DIR)
$(OUT_DIR)/AseAwkApplet.js: AseAwkApplet.js
cp -pf AseAwkApplet.js $(OUT_DIR)
$(OUT_DIR_BIN): $(OUT_DIR_BIN):
mkdir -p $(OUT_DIR_BIN) mkdir -p $(OUT_DIR_BIN)
@ -61,5 +64,6 @@ $(TMP_DIR):
mkdir -p $(TMP_DIR) mkdir -p $(TMP_DIR)
clean: clean:
rm -rf $(OUT_DIR_BIN)/aseawk $(OUT_DIR_BIN)/aseawk_mini $(OUT_DIR_BIN)/aseawk++ $(OUT_DIR_BIN)/aseawk.jar $(OUT_DIR)/AseAwkApplet.html $(TMP_DIR)/*.class rm -rf $(OUT_DIR_BIN)/aseawk $(OUT_DIR_BIN)/aseawk_mini $(OUT_DIR_BIN)/aseawk++
rm -rf $(OUT_DIR_BIN)/aseawk.jar $(OUT_DIR)/AseAwkApplet.html $(OUT_DIR)/AseAwkApplet.js $(TMP_DIR)/*.class