add missing Kconfig symbols
[openwrt/svn-archive/archive.git] / tools / libuuid / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=util-linux-ng
11 PKG_VERSION:=2.18
12 PKG_MD5SUM:=aff22adfff1bf39cd3f13371b95a3d3a
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 define Host/Configure
21 $(call Host/Configure/Default, \
22 --disable-shared \
23 --enable-static \
24 --disable-rpath \
25 --disable-tls \
26 --disable-mount \
27 --disable-fsck \
28 --enable-libuuid \
29 --disable-uuidd \
30 --disable-libblkid \
31 --disable-libmount \
32 --disable-nls \
33 --disable-rpath \
34 --disable-arch \
35 --disable-agetty \
36 --disable-cramfs \
37 --disable-switch \
38 --disable-pivot \
39 --disable-fallocate \
40 --disable-unshare \
41 --disable-elvtune \
42 --disable-init \
43 --disable-kill \
44 --disable-last \
45 --disable-mesg \
46 --disable-partx \
47 --disable-raw \
48 --disable-rename \
49 --disable-reset \
50 --disable-login-utils \
51 --disable-schedutils \
52 --disable-wall \
53 --disable-write \
54 --disable-chsh-only-listed \
55 --disable-login-chown-vcs \
56 --disable-login-stat-mail \
57 --disable-pg-bell \
58 --disable-require-password \
59 --disable-fs-paths-default \
60 --disable-fs-paths-extra \
61 --disable-use-tty-group \
62 --disable-makeinstall-chown \
63 --disable-makeinstall-setuid \
64 --without-libiconv-prefix \
65 --without-libintl-prefix \
66 --without-ncurses \
67 --without-slang \
68 --without-utempter \
69 --without-pam \
70 --without-selinux \
71 --without-audit \
72 )
73 endef
74
75 define Host/Compile
76 $(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src
77 endef
78
79 define Host/Install
80 $(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src install
81 endef
82
83 define Host/Clean
84 -$(MAKE) -C $(HOST_BUILD_DIR)/shlibs/uuid/src uninstall
85 endef
86
87 $(eval $(call HostBuild))