2003-01-09 03:34:10 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libtool
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-03-23 22:46:51 +01:00
|
|
|
LIBTOOL_VERSION = 1.5.24
|
|
|
|
LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz
|
|
|
|
LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2009-03-23 22:46:51 +01:00
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
|
|
|
LIBTOOL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
2007-09-19 22:13:08 +02:00
|
|
|
endif
|
2005-09-30 22:46:29 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
define HOST_LIBTOOL_CUSTOM_INSTALL
|
2009-03-29 21:10:26 +02:00
|
|
|
install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/libtool.m4 \
|
|
|
|
$(STAGING_DIR)/usr/share/aclocal/libtool.m4
|
|
|
|
install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/ltdl.m4 \
|
|
|
|
$(STAGING_DIR)/usr/share/aclocal/ltdl.m4
|
2009-11-01 23:40:02 +01:00
|
|
|
endef
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
HOST_LIBTOOL_POST_INSTALL_HOOKS += HOST_LIBTOOL_CUSTOM_INSTALL
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,libtool))
|
|
|
|
$(eval $(call AUTOTARGETS,package,libtool,host))
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-11-01 23:40:02 +01:00
|
|
|
# variables used by other packages
|
|
|
|
LIBTOOL:=$(HOST_DIR)/usr/bin/libtool
|