Imported GNU Classpath 0.90
[official-gcc.git] / libjava / classpath / native / jni / gtk-peer / Makefile.am
blobf58f60d6d847d32c43423772d0648bea2711ab5a
1 ## GCJ LOCAL: don't install this library
2 noinst_LTLIBRARIES = libgtkpeer.la
4 # Gtk/Cairo JNI sources.
5 if GTK_CAIRO
6   gtk_cairo_c_source_files = \
7     gnu_java_awt_peer_gtk_GdkGraphics2D.c
8 else
9   gtk_cairo_c_source_files =
10 endif
12 libgtkpeer_la_SOURCES = $(gtk_cairo_c_source_files) \
13                         gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c \
14                         gnu_java_awt_peer_gtk_GdkFontPeer.c \
15                         gnu_java_awt_peer_gtk_GdkGraphics.c \
16                         gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c \
17                         gnu_java_awt_peer_gtk_GdkPixbufDecoder.c \
18                         gnu_java_awt_peer_gtk_GdkRobotPeer.c \
19                         gnu_java_awt_peer_gtk_GdkTextLayout.c \
20                         gnu_java_awt_peer_gtk_GtkButtonPeer.c \
21                         gnu_java_awt_peer_gtk_GtkCanvasPeer.c \
22                         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c \
23                         gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c \
24                         gnu_java_awt_peer_gtk_GtkCheckboxPeer.c \
25                         gnu_java_awt_peer_gtk_GtkChoicePeer.c \
26                         gnu_java_awt_peer_gtk_GtkClipboard.c \
27                         gnu_java_awt_peer_gtk_GtkComponentPeer.c \
28                         gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c \
29                         gnu_java_awt_peer_gtk_GtkFileDialogPeer.c \
30                         gnu_java_awt_peer_gtk_GtkFramePeer.c \
31                         gnu_java_awt_peer_gtk_GtkGenericPeer.c \
32                         gnu_java_awt_peer_gtk_GtkImage.c \
33                         gnu_java_awt_peer_gtk_GtkLabelPeer.c \
34                         gnu_java_awt_peer_gtk_GtkListPeer.c \
35                         gnu_java_awt_peer_gtk_GtkMenuBarPeer.c \
36                         gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c \
37                         gnu_java_awt_peer_gtk_GtkMenuItemPeer.c \
38                         gnu_java_awt_peer_gtk_GtkMenuPeer.c \
39                         gnu_java_awt_peer_gtk_GtkPanelPeer.c \
40                         gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c \
41                         gnu_java_awt_peer_gtk_GtkScrollbarPeer.c \
42                         gnu_java_awt_peer_gtk_GtkScrollPanePeer.c \
43                         gnu_java_awt_peer_gtk_GtkSelection.c \
44                         gnu_java_awt_peer_gtk_GtkTextAreaPeer.c \
45                         gnu_java_awt_peer_gtk_GtkTextFieldPeer.c \
46                         gnu_java_awt_peer_gtk_GtkToolkit.c \
47                         gnu_java_awt_peer_gtk_GtkWindowPeer.c \
48                         gthread-jni.c \
49                         gdkfont.h \
50                         gthread-jni.h \
51                         gtkcairopeer.h \
52                         gtk_jawt.c \
53                         gtkpeer.h
55 libgtkpeer_la_LIBADD = $(top_builddir)/native/jni/classpath/native_state.lo \
56                        $(top_builddir)/native/jni/classpath/jcl.lo
58 AM_LDFLAGS = @CLASSPATH_MODULE@ @GTK_LIBS@ @CAIRO_LIBS@ @FREETYPE2_LIBS@ \
59              @PANGOFT2_LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11 -lXtst
60 AM_CPPFLAGS = @CLASSPATH_INCLUDES@
62 # Just the WARNING_CFLAGS. We cannot use the strict flags since the gtk
63 # headers contain broken prototypes (by design, see gtkitemfactory.h).
64 AM_CFLAGS = @WARNING_CFLAGS@ @ERROR_CFLAGS@ \
65             @GTK_CFLAGS@ @CAIRO_CFLAGS@ @FREETYPE2_CFLAGS@ @PANGOFT2_CFLAGS@ \
66             @X_CFLAGS@