Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: release-201208…
Fetching contributors…

Cannot retrieve contributors at this time

file 79 lines (68 sloc) 2.422 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at COPYING
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at COPYING.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2012, Joyent, Inc.
#

all_autoconf: $(BUILD32:yes=all_autoconf_32) $(BUILD64:yes=all_autoconf_64)

all_autoconf_32: $(AUTOCONF_OUT.32)
(cd $(VER.32); env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES))

all_autoconf_64: $(AUTOCONF_OUT.64)
(cd $(VER.64); env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES.64))

install_autoconf: $(BUILD32:yes=install_autoconf_32) \
    $(BUILD64:yes=install_autoconf_64)

install_autoconf_32: all
mkdir -p $(DESTDIR)
(cd $(VER.32); \
env - PATH=$(PATH) \
$(MAKE) $(install_PARALLEL) $(OVERRIDES) DESTDIR=$(DESTDIR) install)

install_autoconf_64: all
mkdir -p $(DESTDIR)
(cd $(VER.64); \
env - PATH=$(PATH) \
$(MAKE) $(install_PARALLEL) $(OVERRIDES.64) DESTDIR=$(DESTDIR) \
install)

$(AUTOCONF_OUT.32): $(VER.32)/configure
(cd $(VER.32); \
env - PATH=$(PATH) $(AUTOCONF_ENV) \
./configure $(AUTOCONF_OPTS))

$(AUTOCONF_OUT.64): $(VER.64)/configure
(cd $(VER.64); \
env - PATH=$(PATH) $(AUTOCONF_ENV.64) \
./configure $(AUTOCONF_OPTS.64))

$(VER.32)/$(UNPACK_SENTINEL): $(TARBALL)
-rm -rf $(VER.32)
mkdir -p .unpack32
gtar x -C .unpack32 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
$(APPLY_PATCHES.32)
mv -f .unpack32/$(VER) ./$(VER.32)
-rmdir .unpack32
$(FROB_SENTINEL.32)
touch $(VER.32)/$(UNPACK_SENTINEL)

$(VER.64)/$(UNPACK_SENTINEL): $(TARBALL)
-rm -rf $(VER.64)
mkdir -p .unpack64
gtar x -C .unpack64 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
$(APPLY_PATCHES.64)
mv -f .unpack64/$(VER) ./$(VER.64)
-rmdir .unpack64
$(FROB_SENTINEL.64)
touch $(VER.64)/$(UNPACK_SENTINEL)

clean:
-rm -rf $(VER) $(VER.32) $(VER.64) .unpack32 .unpack64 $(CLEANFILES)
Something went wrong with that request. Please try again.