*** empty log message ***

This commit is contained in:
hyung-hwan 2007-04-10 08:04:52 +00:00
parent 22858459a6
commit 979431d415
3 changed files with 23 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: AwkApplet.java,v 1.4 2007-03-24 15:49:59 bacon Exp $ * $Id: AseAwkApplet.java,v 1.1 2007-04-10 08:01:34 bacon Exp $
*/ */
import java.applet.*; import java.applet.*;
@ -7,7 +7,7 @@ import java.awt.*;
import java.awt.event.*; import java.awt.event.*;
import java.net.URL; import java.net.URL;
public class AwkApplet extends Applet public class AseAwkApplet extends Applet
{ {
public void init () public void init ()
{ {
@ -29,7 +29,7 @@ public class AwkApplet extends Applet
private void run_awk () private void run_awk ()
{ {
Awk awk = null; AseAwk awk = null;
try try
{ {
@ -49,7 +49,7 @@ public class AwkApplet extends Applet
} }
awk = new Awk (); awk = new AseAwk ();
awk.parse (); awk.parse ();
awk.run (); awk.run ();
} }

View File

@ -1,5 +1,5 @@
# #
# $Id: makefile.in,v 1.17 2007-03-25 15:02:54 bacon Exp $ # $Id: makefile.in,v 1.18 2007-04-10 08:01:34 bacon Exp $
# #
CC = @CC@ CC = @CC@
@ -8,19 +8,34 @@ LDFLAGS = @LDFLAGS@ -L@abs_top_builddir@/@BUILDMODE@/lib
LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm LIBS = @LIBS@ -laseawk -lasecmn -laseutl -lm
MODE = @BUILDMODE@ MODE = @BUILDMODE@
JAVAC = @JAVAC@
JAR = @JAR@
CFLAGS_JNI = @CFLAGS_JNI@
JNI = @JNI@
OUT_DIR = ../../$(MODE)/bin OUT_DIR = ../../$(MODE)/bin
all: $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk all: build$(JNI)
build: $(OUT_DIR)/aseawk $(OUT_DIR)/aseawk_mini
buildjni: build $(OUT_DIR)/AseAwk.class $(OUT_DIR)/AseAwkApplet.class
$(OUT_DIR)/aseawk: $(OUT_DIR) $(OUT_DIR)/aseawk: $(OUT_DIR)
$(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ awk.c $(LDFLAGS) $(LIBS)
$(OUT_DIR)/miniawk: $(OUT_DIR) $(OUT_DIR)/aseawk_mini: $(OUT_DIR)
$(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS) $(CC) $(CFLAGS) -o $@ mini.c $(LDFLAGS) $(LIBS)
$(OUT_DIR)/AseAwk.class: $(OUT_DIR)
$(JAVAC) -classpath ../../.. -d $(OUT_DIR) AseAwk.java
$(OUT_DIR)/AseAwkApplet.class: $(OUT_DIR)
$(JAVAC) -classpath ../../.. -d $(OUT_DIR) AseAwkApplet.java
$(OUT_DIR): $(OUT_DIR):
mkdir -p $(OUT_DIR) mkdir -p $(OUT_DIR)
clean: clean:
rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/miniawk rm -rf $(OUT_DIR)/aseawk $(OUT_DIR)/aseawk_mini $(OUT_DIR)/AseAwk*.class