Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 80 lines (69 sloc) 2.462 kb
9946ff0e » wesolows
2012-06-01 smartos-live#67 Support compiling cpp with gcc.
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
8 #
9 # You can obtain a copy of the license at COPYING
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at COPYING.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2012, Joyent, Inc.
22 #
23
24 all_autoconf: $(BUILD32:yes=all_autoconf_32) $(BUILD64:yes=all_autoconf_64)
25
26 all_autoconf_32: $(AUTOCONF_OUT.32)
27 (cd $(VER.32); env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES))
28
29 all_autoconf_64: $(AUTOCONF_OUT.64)
30 (cd $(VER.64); env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES.64))
31
32 install_autoconf: $(BUILD32:yes=install_autoconf_32) \
33 $(BUILD64:yes=install_autoconf_64)
34
35 install_autoconf_32: all
36 mkdir -p $(DESTDIR)
37 (cd $(VER.32); \
38 env - PATH=$(PATH) \
0d21b662 » jjelinek
2012-07-16 OS-1388 illumos-extra node build failure
39 $(MAKE) $(install_PARALLEL) $(OVERRIDES) DESTDIR=$(DESTDIR) install)
9946ff0e » wesolows
2012-06-01 smartos-live#67 Support compiling cpp with gcc.
40
41 install_autoconf_64: all
42 mkdir -p $(DESTDIR)
43 (cd $(VER.64); \
44 env - PATH=$(PATH) \
0d21b662 » jjelinek
2012-07-16 OS-1388 illumos-extra node build failure
45 $(MAKE) $(install_PARALLEL) $(OVERRIDES.64) DESTDIR=$(DESTDIR) \
46 install)
9946ff0e » wesolows
2012-06-01 smartos-live#67 Support compiling cpp with gcc.
47
48 $(AUTOCONF_OUT.32): $(VER.32)/configure
49 (cd $(VER.32); \
50 env - PATH=$(PATH) $(AUTOCONF_ENV) \
3dfd6c5b » wesolows
2013-01-10 OS-1332 openssl build system needs conversion
51 ./configure $(AUTOCONF_OPTS.32))
9946ff0e » wesolows
2012-06-01 smartos-live#67 Support compiling cpp with gcc.
52
53 $(AUTOCONF_OUT.64): $(VER.64)/configure
54 (cd $(VER.64); \
55 env - PATH=$(PATH) $(AUTOCONF_ENV.64) \
56 ./configure $(AUTOCONF_OPTS.64))
57
58 $(VER.32)/$(UNPACK_SENTINEL): $(TARBALL)
59 -rm -rf $(VER.32)
60 mkdir -p .unpack32
61 gtar x -C .unpack32 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
62 $(APPLY_PATCHES.32)
63 mv -f .unpack32/$(VER) ./$(VER.32)
64 -rmdir .unpack32
65 $(FROB_SENTINEL.32)
66 touch $(VER.32)/$(UNPACK_SENTINEL)
67
68 $(VER.64)/$(UNPACK_SENTINEL): $(TARBALL)
69 -rm -rf $(VER.64)
70 mkdir -p .unpack64
71 gtar x -C .unpack64 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
72 $(APPLY_PATCHES.64)
73 mv -f .unpack64/$(VER) ./$(VER.64)
74 -rmdir .unpack64
75 $(FROB_SENTINEL.64)
76 touch $(VER.64)/$(UNPACK_SENTINEL)
77
78 clean:
6938e49d » rmustacc
2012-10-23 OS-1639 illumos-extra should build with -zassert-deflib
79 -rm -rf $(VER) $(VER.32) $(VER.64) .unpack32 .unpack64 $(CLEANFILES) \
80 $(VER.32)strap $(VER.64)strap
Something went wrong with that request. Please try again.