1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# xapp_xload 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunXAPP_XLOAD_VERSION = 1.1.4 8*4882a593SmuzhiyunXAPP_XLOAD_SOURCE = xload-$(XAPP_XLOAD_VERSION).tar.xz 9*4882a593SmuzhiyunXAPP_XLOAD_SITE = http://xorg.freedesktop.org/releases/individual/app 10*4882a593SmuzhiyunXAPP_XLOAD_LICENSE = MIT 11*4882a593SmuzhiyunXAPP_XLOAD_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunXAPP_XLOAD_DEPENDENCIES = xlib_libXaw $(TARGET_NLS_DEPENDENCIES) 13*4882a593SmuzhiyunXAPP_XLOAD_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults 14*4882a593SmuzhiyunXAPP_XLOAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) 15*4882a593Smuzhiyun 16*4882a593Smuzhiyunifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) 17*4882a593Smuzhiyun# musl doesn't have rwhod.h, but xload can replace it with stubs 18*4882a593SmuzhiyunXAPP_XLOAD_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -DRLOADSTUB" 19*4882a593Smuzhiyunendif 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunifeq ($(BR2_SYSTEM_ENABLE_NLS),) 22*4882a593SmuzhiyunXAPP_XLOAD_CONF_ENV += ac_cv_search_gettext=no 23*4882a593Smuzhiyunendif 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun$(eval $(autotools-package)) 26