OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [examples/] [Makefile.jawt.in] - Rev 781

Compare with Previous | Blame | View Log

# @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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.