Root/tools/mklibs/Makefile

1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=mklibs
10PKG_VERSION:=0.1.29
11
12PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
14PKG_MD5SUM:=7f35dfdbde249a090199829c1a1222d8
15
16HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mklibs
17
18include $(INCLUDE_DIR)/host-build.mk
19
20HOST_CFLAGS += -I$(CURDIR)/include
21
22define Host/Install
23       $(INSTALL_BIN) \
24               $(HOST_BUILD_DIR)/src/mklibs.py \
25               $(HOST_BUILD_DIR)/src/mklibs-copy.py \
26               $(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
27               $(STAGING_DIR_HOST)/bin/
28endef
29
30define Host/Clean
31       rm -f $(STAGING_DIR_HOST)/bin/mklibs*
32endef
33
34$(eval $(call HostBuild))
35

Archive Download this file



interactive