blob: cd9cc3565f50323a025623a146983bfe79e5b4ee [file] [log] [blame]
John Voltz0e2ac922008-03-06 18:02:19 +00001#############################################################
2#
3# classpath 0.96.1
4#
5#############################################################
John Voltzbd6b49f2008-04-24 16:48:20 +00006CLASSPATH_VERSION = 0.97.1
John Voltz0e2ac922008-03-06 18:02:19 +00007CLASSPATH_SOURCE = classpath-$(CLASSPATH_VERSION).tar.gz
Hamish Moffattaf510f42008-03-26 03:28:09 +00008CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
John Voltz0e2ac922008-03-06 18:02:19 +00009CLASSPATH_AUTORECONF = NO
10CLASSPATH_INSTALL_STAGING = YES
11CLASSPATH_INSTALL_TARGET = YES
12CLASSPATH_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
John Voltzbd6b49f2008-04-24 16:48:20 +000013CLASSPATH_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
14CLASSPATH_DIR_PREFIX = package/java
John Voltz0e2ac922008-03-06 18:02:19 +000015
16CLASSPATH_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
17 glib_cv_uscore=no ac_cv_func_strtod=yes \
18 ac_fsusage_space=yes fu_cv_sys_stat_statfs2_bsize=yes \
19 ac_cv_func_closedir_void=no ac_cv_func_getloadavg=no \
20 ac_cv_lib_util_getloadavg=no ac_cv_lib_getloadavg_getloadavg=no \
21 ac_cv_func_getgroups=yes ac_cv_func_getgroups_works=yes \
22 ac_cv_func_chown_works=yes ac_cv_have_decl_euidaccess=no \
23 ac_cv_func_euidaccess=no ac_cv_have_decl_strnlen=yes \
24 ac_cv_func_strnlen_working=yes ac_cv_func_lstat_dereferences_slashed_symlink=yes \
25 ac_cv_func_lstat_empty_string_bug=no ac_cv_func_stat_empty_string_bug=no \
26 vb_cv_func_rename_trailing_slash_bug=no ac_cv_have_decl_nanosleep=yes \
27 jm_cv_func_nanosleep_works=yes gl_cv_func_working_utimes=yes \
28 ac_cv_func_utime_null=yes ac_cv_have_decl_strerror_r=yes \
29 ac_cv_func_strerror_r_char_p=no jm_cv_func_svid_putenv=yes \
30 ac_cv_func_getcwd_null=yes ac_cv_func_getdelim=yes \
31 ac_cv_func_mkstemp=yes utils_cv_func_mkstemp_limitations=no \
32 utils_cv_func_mkdir_trailing_slash_bug=no ac_cv_func_memcmp_working=yes \
33 ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes \
34 ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes \
35 ac_cv_func_realloc_0_nonnull=yes jm_cv_func_gettimeofday_clobber=no \
36 gl_cv_func_working_readdir=yes jm_ac_cv_func_link_follows_symlink=no \
37 utils_cv_localtime_cache=no ac_cv_struct_st_mtim_nsec=no \
38 gl_cv_func_tzset_clobber=no gl_cv_func_getcwd_null=yes \
39 gl_cv_func_getcwd_path_max=yes ac_cv_func_fnmatch_gnu=yes \
40 am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
41 gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
42 ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
43 ac_use_included_regex=no gl_cv_c_restrict=no \
44 ac_cv_path_GLIB_GENMARSHAL=/usr/bin/glib-genmarshal \
45 ac_cv_prog_F77=no ac_cv_prog_CXX=no ac_cv_path_CUPS_CONFIG=no
46
47
48CLASSPATH_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
49 --build=$(GNU_HOST_NAME) --prefix=/usr \
50 --exec-prefix=/usr --bindir=/usr/bin \
51 --sbindir=/usr/sbin --libdir=/usr/lib \
52 --libexecdir=/usr/lib --sysconfdir=/etc \
53 --datadir=/usr/share --localstatedir=/var \
54 --includedir=/usr/include --mandir=/usr/man \
55 --infodir=/usr/info --enable-shared \
56 --enable-static \
57 --disable-glibtest --enable-explicit-deps=no \
58 --disable-debug PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
59 --disable-gconf-peer --disable-examples --disable-plugin
60
61CLASSPATH_DEPENDENCIES = uclibc png jpeg tiff
62
63ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
64 CLASSPATH_DEPENDENCIES+= alsa-lib
65 CLASSPATH_CONF_OPT+= --enable-alsa
66else
67 CLASSPATH_CONF_OPT+= --disable-alsa
68endif
69
70ifeq ($(BR2_PACKAGE_QTOPIA4),y)
71 CLASSPATH_DEPENDENCIES+= qtopia4
72 CLASSPATH_CONF_OPT+= --enable-qt-peer
73else
74 CLASSPATH_CONF_OPT+= --disable-qt-peer
75endif
76
77ifeq ($(BR2_PACKAGE_LIBGTK2),y)
78 CLASSPATH_DEPENDENCIES+= libgtk2
79 CLASSPATH_CONF_OPT+= --enable-gtk-peer
80else
81 CLASSPATH_CONF_OPT+= --disable-gtk-peer
82endif
83
84ifneq ($(BR2_PACKAGE_XSERVER_none),y)
85 CLASSPATH_DEPENDENCIES+= $(XSERVER)
86 CLASSPATH_CONF_OPT+= --with-x \
87 --x-includes=$(STAGING_DIR)/usr/include/X11 \
88 --x-libraries=$(STAGING_DIR)/usr/lib
89else
90 CLASSPATH_CONF_OPT+= --without-x
91endif
92
93
94
John Voltzbd6b49f2008-04-24 16:48:20 +000095$(eval $(call AUTOTARGETS,package/java,classpath))