classpath.mk 3.7 KB

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