From ed0f34efba369c36ffc4562f6ead125a52a93742 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 8 Jul 1999 13:57:16 +0000 Subject: [PATCH] added makefile git-svn-id: https://svn.code.sf.net/p/jode/code/branches/stable@1055 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/bytecode/.cvsignore | 2 ++ jode/jode/bytecode/Makefile.am | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 jode/jode/bytecode/.cvsignore create mode 100644 jode/jode/bytecode/Makefile.am diff --git a/jode/jode/bytecode/.cvsignore b/jode/jode/bytecode/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/jode/jode/bytecode/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/jode/jode/bytecode/Makefile.am b/jode/jode/bytecode/Makefile.am new file mode 100644 index 0000000..322a226 --- /dev/null +++ b/jode/jode/bytecode/Makefile.am @@ -0,0 +1,46 @@ +## Input file for automake to generate the Makefile.in used by configure + +JAR = @JAR@ +JAVAC = @JAVAC@ +JIKES = @JIKES@ +CLASSPATH = @CLASSPATH@ +CLASSLIB = @CLASSLIB@ +BUILD_CLASSPATH = $(top_srcdir):$(top_builddir):$(CLASSPATH):$(CLASSLIB) + +MY_JAVA_FILES = \ + BinaryInfo.java \ + BytecodeInfo.java \ + ClassFormatException.java \ + ClassInfo.java \ + ConstantPool.java \ + FieldInfo.java \ + GrowableConstantPool.java \ + Handler.java \ + InnerClassInfo.java \ + Instruction.java \ + LineNumber.java \ + LocalVariableInfo.java \ + MethodInfo.java \ + Opcodes.java \ + Reference.java \ + SearchPath.java + +noinst_DATA = $(MY_JAVA_FILES:.java=.class) +EXTRA_DIST = $(MY_JAVA_FILES) + +if HAVE_JIKES + +@QUOTE@-include $(top_builddir)/jode/.java.deps + +%.class: %.java + $(JIKES) -classpath $(BUILD_CLASSPATH):$(CLASSLIB) +M=$(top_builddir)/jode/.java.deps -d $(top_builddir) $< + +else + +%.class: %.java + $(JAVAC) -classpath $(BUILD_CLASSPATH):$(CLASSLIB) -depend -d $(top_builddir) $< + +endif + +clean-local: + @rm -f *.class