From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/classpath/examples/Makefile.jawt.in | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libjava/classpath/examples/Makefile.jawt.in (limited to 'libjava/classpath/examples/Makefile.jawt.in') diff --git a/libjava/classpath/examples/Makefile.jawt.in b/libjava/classpath/examples/Makefile.jawt.in new file mode 100644 index 000000000..aea41d4cb --- /dev/null +++ b/libjava/classpath/examples/Makefile.jawt.in @@ -0,0 +1,29 @@ +# @configure_input@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +includedir = @includedir@ +libdir = @libdir@ +pkglibdir = $(libdir)/@PACKAGE@ + +all: gnu/classpath/examples/jawt/DemoJAWT.class libDemoJAWT.so + @echo "RUN with:" + @echo " LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:.:$(pkglibdir) jamvm \\" + @echo " gnu.classpath.examples.jawt.DemoJAWT" + +gnu/classpath/examples/jawt/DemoJAWT.class: gnu/classpath/examples/jawt/DemoJAWT.java + gcj -C gnu/classpath/examples/jawt/DemoJAWT.java + +DemoJAWT.h: gnu/classpath/examples/jawt/DemoJAWT.class + gcjh -jni gnu.classpath.examples.jawt.DemoJAWT -o DemoJAWT.h + +libDemoJAWT.so: gnu/classpath/examples/jawt/DemoJAWT.c DemoJAWT.h + gcc -g -O0 -Wall -I. -I/usr/X11R6/include -L. -L/usr/X11R6/lib \ + -I$(includedir) -L$(pkglibdir) \ + -lX11 -ljawtgnu -shared -o libDemoJAWT.so \ + gnu/classpath/examples/jawt/DemoJAWT.c + +clean: + rm -f DemoJAWT.h + rm -f gnu/classpath/examples/jawt/DemoJAWT*.class + rm -f libDemoJAWT.so -- cgit v1.2.3