37705cfeaab1aec5f7ed68e124c743afdf5da6a7
[cacao.git] / src / native / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # $Id: Makefile.am 1655 2004-12-02 16:51:20Z carolyn $
4
5 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
6
7 SUBDIRS = tools include vm
8
9 # include NO_REGEN_CLASSES, CLASSES and AWT_CLASSES
10 include $(srcdir)/classes.am
11
12 noinst_LIBRARIES = libnative.a
13
14 libnative_a_SOURCES = \
15         jni.c \
16         native.c
17
18 native.c: nativetable.inc nativecalls.inc
19
20 if USE_GTK_PEER
21 AWT_HEADERS_TOUCH_FILE = $(srcdir)/include/awtheaders-generated
22 endif
23
24 nativetable.inc: $(top_srcdir)/src/classpath/lib/bootstrap.zip $(top_srcdir)/config.h $(srcdir)/include/headers-generated $(AWT_HEADERS_TOUCH_FILE)
25         CLASSPATH=$(top_srcdir)/src/classpath/lib/bootstrap.zip \
26         $(top_srcdir)/src/native/tools/gennativetable \
27         $(NO_REGEN_CLASSES) \
28         $(CLASSES) \
29         $(AWT_CLASSES) \
30         > nativetable.inc
31
32
33 ## Local variables:
34 ## mode: Makefile
35 ## indent-tabs-mode: t
36 ## c-basic-offset: 4
37 ## tab-width: 8
38 ## compile-command: "automake --add-missing"
39 ## End: