mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 20:01:22 -05:00
2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-qt.lo. * configure.ac (QT_AWT): Remove conditional. Do not add gnu/java/awt/peer/qt to standard.omit. * classpath/native/jni/qt-peer/Makefile.am: Install libqtpeer.so in GCJ's versioned library directory. * classpath/gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load libqtpeer.so unconditionally. * gij.cc (main): Do not re-exec gij. * Makefile.am: Remove lib-gnu-java-awt-peer-qt.lo build logic. (gij_LDFLAGS): Point -rpath at GCJ's versioned library directory when linking gij. From-SVN: r114473
87 lines
2.2 KiB
Makefile
87 lines
2.2 KiB
Makefile
# Qt AWT backend for Classpath
|
|
#
|
|
|
|
## GCJ LOCAL: install this library in GCJ's versioned library
|
|
## directory
|
|
gcc_version := $(shell cat $(top_srcdir)/../../gcc/BASE-VER)
|
|
gcjversionedlibdir = $(libdir)/gcj-$(gcc_version)
|
|
gcjversionedlib_LTLIBRARIES = libqtpeer.la
|
|
|
|
AM_LDFLAGS = @CLASSPATH_MODULE@ @QT_LIBS@
|
|
AM_CPPFLAGS = @CLASSPATH_INCLUDES@
|
|
|
|
AM_CXXFLAGS = @QT_CFLAGS@
|
|
|
|
libqtpeer_la_MOC = \
|
|
slotcallbacks.moc.h
|
|
|
|
slotcallbacks.moc.h: slotcallbacks.cpp
|
|
$(MOC) -o slotcallbacks.moc.h $(srcdir)/slotcallbacks.cpp
|
|
|
|
nodist_libqtpeer_la_SOURCES = \
|
|
$(libqtpeer_la_MOC)
|
|
|
|
libqtpeer_la_SOURCES = \
|
|
buttonevent.h \
|
|
componentevent.cpp \
|
|
componentevent.h \
|
|
containers.h \
|
|
eventmethods.h \
|
|
keybindings.cpp \
|
|
keybindings.h \
|
|
mainqtthread.cpp \
|
|
mainthreadinterface.cpp \
|
|
mainthreadinterface.h \
|
|
nativewrapper.cpp \
|
|
nativewrapper.h \
|
|
qmatrix.cpp \
|
|
qpainterpath.cpp \
|
|
qpen.cpp \
|
|
qtaudioclip.cpp \
|
|
qtbuttonpeer.cpp \
|
|
qtcanvaspeer.cpp \
|
|
qtcheckboxpeer.cpp \
|
|
qtchoicepeer.cpp \
|
|
qtcomponent.cpp \
|
|
qtcomponent.h \
|
|
qtcomponentpeer.cpp \
|
|
qtdialogpeer.cpp \
|
|
qtembeddedwindowpeer.cpp \
|
|
qtfiledialogpeer.cpp \
|
|
qtfont.h \
|
|
qtfontmetrics.cpp \
|
|
qtfontpeer.cpp \
|
|
qtframepeer.cpp \
|
|
qtgraphics.cpp \
|
|
qtgraphics.h \
|
|
qtimage.cpp \
|
|
qtimage.h \
|
|
qtlabelpeer.cpp \
|
|
qtlistpeer.cpp \
|
|
qtmenubarpeer.cpp \
|
|
qtmenucomponentpeer.cpp \
|
|
qtmenuitempeer.cpp \
|
|
qtmenupeer.cpp \
|
|
qtpanelpeer.cpp \
|
|
qtpopupmenupeer.cpp \
|
|
qtscreendevice.cpp \
|
|
qtscrollbarpeer.cpp \
|
|
qtscrollpanepeer.cpp \
|
|
qtstrings.cpp \
|
|
qtstrings.h \
|
|
qttextareapeer.cpp \
|
|
qttextfieldpeer.cpp \
|
|
qttoolkit.cpp \
|
|
qtvolatileimage.cpp \
|
|
qtwindowpeer.cpp \
|
|
slotcallbacks.cpp \
|
|
slotcallbacks.h
|
|
|
|
## GCJ LOCAL: encode the library path and use GCJ's library version
|
|
libqtpeer_la_LDFLAGS = -rpath $(gcjversionedlibdir) \
|
|
-version-info `grep -v '^\#' $(top_srcdir)/../libtool-version`
|
|
|
|
BUILT_SOURCES = $(libqtpeer_la_MOC)
|
|
|
|
CLEANFILES = so_locations $(BUILT_SOURCES)
|