summaryrefslogtreecommitdiffstats
path: root/gcj
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-06-22 05:53:06 +0000
committerHavoc Pennington <hp@redhat.com>2003-06-22 05:53:06 +0000
commit93b5a19c9f0979b5f227760af2ce5a0d076521f9 (patch)
tree1704ae1cbebdfacc0ca5d7c98e9c90bf55b27fd3 /gcj
parent8e99e853a7abbb5344240c35b66853eeaedca48e (diff)
2003-06-22 Havoc Pennington <hp@pobox.com>
* mono/*, gcj/*, configure.in, Makefile.am: Check in makefiles and subdirs for mono and gcj bindings. Neither binding actually exists, just trying to get through all the build and other boring bits.
Diffstat (limited to 'gcj')
-rw-r--r--gcj/.cvsignore13
-rw-r--r--gcj/Hello.java6
-rw-r--r--gcj/Makefile.am5
3 files changed, 24 insertions, 0 deletions
diff --git a/gcj/.cvsignore b/gcj/.cvsignore
new file mode 100644
index 00000000..e250e085
--- /dev/null
+++ b/gcj/.cvsignore
@@ -0,0 +1,13 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+dbus-test
+*.bb
+*.bbg
+*.gcov
+*.da
+dbus-arch-deps.h
+.dbus-keyrings
diff --git a/gcj/Hello.java b/gcj/Hello.java
new file mode 100644
index 00000000..b7a10180
--- /dev/null
+++ b/gcj/Hello.java
@@ -0,0 +1,6 @@
+
+class Hello {
+ public static void main(String[] args) {
+ System.out.println("Hello World!"); //Display the string.
+ }
+} \ No newline at end of file
diff --git a/gcj/Makefile.am b/gcj/Makefile.am
new file mode 100644
index 00000000..8381afe6
--- /dev/null
+++ b/gcj/Makefile.am
@@ -0,0 +1,5 @@
+noinst_PROGRAMS=hello
+
+hello_SOURCES=Hello.java
+
+hello_LDFLAGS=--main=Hello