board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / classpath / classpath.mk
blob47658c29e3c73983e5f8b66c600c52832861ea10
1 ################################################################################
3 # classpath
5 ################################################################################
7 CLASSPATH_VERSION = 0.99
8 CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
9 CLASSPATH_CONF_OPTS = \
10 --disable-examples \
11 --disable-rpath \
12 --disable-Werror \
13 --disable-gconf-peer \
14 --disable-gjdoc \
15 --enable-tools
17 # classpath assumes qt runs on top of X11, but we
18 # don't support qt4 on X11
19 CLASSPATH_CONF_OPTS += --disable-qt-peer
20 CLASSPATH_DEPENDENCIES = host-pkgconf
21 CLASSPATH_LICENSE = GPLv2+ with exception
22 CLASSPATH_LICENSE_FILES = COPYING
24 # Needs ALSA pcm and sequencer (midi) support
25 # pcm is always on for alsa-lib
26 ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
27 CLASSPATH_CONF_OPTS += --enable-alsa
28 CLASSPATH_DEPENDENCIES += alsa-lib
29 else
30 CLASSPATH_CONF_OPTS += --disable-alsa
31 endif
33 ifeq ($(BR2_PACKAGE_GMP),y)
34 CLASSPATH_CONF_OPTS += --enable-gmp --with-gmp="$(STAGING_DIR)/usr"
35 CLASSPATH_DEPENDENCIES += gmp
36 else
37 CLASSPATH_CONF_OPTS += --disable-gmp
38 endif
40 ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
41 CLASSPATH_CONF_OPTS += --enable-gtk-peer
42 CLASSPATH_DEPENDENCIES += libgtk2
44 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
45 CLASSPATH_CONF_OPTS += --enable-gstreamer-peer
46 CLASSPATH_DEPENDENCIES += gst-plugins-base
47 else
48 CLASSPATH_CONF_OPTS += --disable-gstreamer-peer
49 endif
51 else
52 CLASSPATH_CONF_OPTS += --disable-gtk-peer --disable-gstreamer-peer
53 endif
55 ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT)$(BR2_TOOLCHAIN_HAS_THREADS),yyy)
56 CLASSPATH_CONF_OPTS += --enable-xmlj
57 CLASSPATH_DEPENDENCIES += libxml2 libxslt
58 else
59 CLASSPATH_CONF_OPTS += --disable-xmlj
60 endif
62 $(eval $(autotools-package))