1 #############################################################
5 #############################################################
6 AUTOCONF_SOURCE
:=autoconf-2.57.
tar.bz2
7 AUTOCONF_SITE
:=ftp
://ftp.gnu.org
/gnu
/autoconf
9 AUTOCONF_DIR
:=$(BUILD_DIR
)/autoconf-2.57
10 AUTOCONF_BINARY
:=autoconf
11 AUTOCONF_TARGET_BINARY
:=usr
/bin
/autoconf
13 $(DL_DIR
)/$(AUTOCONF_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(AUTOCONF_SITE
)/$(AUTOCONF_SOURCE
)
16 autoconf-source
: $(DL_DIR
)/$(AUTOCONF_SOURCE
)
18 $(AUTOCONF_DIR
)/.unpacked
: $(DL_DIR
)/$(AUTOCONF_SOURCE
)
19 $(AUTOCONF_CAT
) $(DL_DIR
)/$(AUTOCONF_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(AUTOCONF_DIR
)/.unpacked
22 $(AUTOCONF_DIR
)/.configured
: $(AUTOCONF_DIR
)/.unpacked
23 (cd
$(AUTOCONF_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) EMACS
="no" \
25 CFLAGS
="$(TARGET_CFLAGS)" \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
34 --libexecdir
=/usr
/lib \
36 --datadir=/usr
/share \
37 --localstatedir
=/var \
41 touch
$(AUTOCONF_DIR
)/.configured
43 $(AUTOCONF_DIR
)/bin
/$(AUTOCONF_BINARY
): $(AUTOCONF_DIR
)/.configured
44 $(MAKE
) CC
=$(TARGET_CC
) -C
$(AUTOCONF_DIR
)
46 $(TARGET_DIR
)/$(AUTOCONF_TARGET_BINARY
): $(AUTOCONF_DIR
)/bin
/$(AUTOCONF_BINARY
)
48 prefix=$(TARGET_DIR
)/usr \
49 exec_prefix=$(TARGET_DIR
)/usr \
50 bindir=$(TARGET_DIR
)/usr
/bin \
51 sbindir
=$(TARGET_DIR
)/usr
/sbin \
52 libexecdir
=$(TARGET_DIR
)/usr
/lib \
53 datadir=$(TARGET_DIR
)/usr
/share \
54 sysconfdir
=$(TARGET_DIR
)/etc \
55 localstatedir
=$(TARGET_DIR
)/var \
56 libdir=$(TARGET_DIR
)/usr
/lib \
57 infodir=$(TARGET_DIR
)/usr
/info \
58 mandir=$(TARGET_DIR
)/usr
/man \
59 includedir=$(TARGET_DIR
)/usr
/include \
60 -C
$(AUTOCONF_DIR
) install;
61 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
62 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
64 autoconf
: uclibc
$(TARGET_DIR
)/$(AUTOCONF_TARGET_BINARY
)
67 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(AUTOCONF_DIR
) uninstall
68 -$(MAKE
) -C
$(AUTOCONF_DIR
) clean
71 rm -rf
$(AUTOCONF_DIR
)
This page took 0.051227 seconds and 5 git commands to generate.