Print this page
OS-3330 NTP should ship with CTF data
OS-3331 OpenLLDP should ship with CTF data
Split |
Close |
Expand all |
Collapse all |
--- old/./Makefile.targ
+++ new/./Makefile.targ
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at COPYING
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at COPYING.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 # Copyright (c) 2012, Joyent, Inc.
22 22 #
23 23
24 24 all_autoconf: $(BUILD32:yes=all_autoconf_32) $(BUILD64:yes=all_autoconf_64)
25 25
26 26 all_autoconf_32: $(AUTOCONF_OUT.32)
27 27 (cd $(OBJ.32); \
28 28 env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES) $(ALL_TGT))
29 29
30 30 all_autoconf_64: $(AUTOCONF_OUT.64)
31 31 (cd $(OBJ.64); \
32 32 env - PATH=$(PATH) $(MAKE) $(PARALLEL) $(OVERRIDES.64) $(ALL_TGT))
33 33
34 34 install_autoconf: $(BUILD32:yes=install_autoconf_32) \
35 35 $(BUILD64:yes=install_autoconf_64)
36 36
37 37 install_autoconf_32: all
38 38 mkdir -p $(DESTDIR)
39 39 (cd $(OBJ.32); \
40 40 env - PATH=$(PATH) \
41 41 $(MAKE) $(install_PARALLEL) $(OVERRIDES) DESTDIR=$(DESTDIR) install)
42 42
43 43 install_autoconf_64: all
44 44 mkdir -p $(DESTDIR)
45 45 (cd $(OBJ.64); \
46 46 env - PATH=$(PATH) \
47 47 $(MAKE) $(install_PARALLEL) $(OVERRIDES.64) DESTDIR=$(DESTDIR) \
48 48 install)
49 49
50 50 $(AUTOCONF_OUT.32): $(VER.32)/configure | $(OBJ.32)
51 51 (cd $(OBJ.32); \
52 52 env - PATH=$(PATH) $(AUTOCONF_ENV) \
53 53 $(SEPARATE_BUILD:yes=../$(VER.32)/)./configure $(AUTOCONF_OPTS.32))
54 54
55 55 $(AUTOCONF_OUT.64): $(VER.64)/configure | $(OBJ.64)
56 56 (cd $(VER.64); \
57 57 env - PATH=$(PATH) $(AUTOCONF_ENV.64) \
58 58 $(SEPARATE_BUILD:yes=../$(VER.64)/)./configure $(AUTOCONF_OPTS.64))
59 59
60 60 $(VER.32)/$(UNPACK_SENTINEL): $(TARBALL)
61 61 -rm -rf $(VER.32) $(OBJ.32)
62 62 mkdir -p .unpack32
63 63 gtar x -C .unpack32 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
64 64 $(APPLY_PATCHES.32)
65 65 mv -f .unpack32/$(VER) ./$(VER.32)
66 66 -rmdir .unpack32
67 67 $(FROB_SENTINEL.32)
68 68 touch $(VER.32)/$(UNPACK_SENTINEL)
69 69
70 70 $(VER.64)/$(UNPACK_SENTINEL): $(TARBALL)
71 71 -rm -rf $(VER.64) $(OBJ.64)
72 72 mkdir -p .unpack64
73 73 gtar x -C .unpack64 $(TARBALL_COMPRESS) --no-same-owner -f $(TARBALL)
74 74 $(APPLY_PATCHES.64)
75 75 mv -f .unpack64/$(VER) ./$(VER.64)
76 76 -rmdir .unpack64
77 77 $(FROB_SENTINEL.64)
↓ open down ↓ |
77 lines elided |
↑ open up ↑ |
78 78 touch $(VER.64)/$(UNPACK_SENTINEL)
79 79
80 80 $(VER.32).build: $(VER.32)/$(UNPACK_SENTINEL)
81 81 mkdir -p "$@"
82 82
83 83 $(VER.64).build: $(VER.64)/$(UNPACK_SENTINEL)
84 84 mkdir -p "$@"
85 85
86 86 clean:
87 87 -rm -rf $(VER) $(VER.32) $(VER.64) .unpack32 .unpack64 $(CLEANFILES) \
88 - $(VER.32)strap $(VER.64)strap $(OBJ.32) $(OBJ.64)
88 + $(VER.32)strap $(VER.64)strap $(OBJ.32) $(OBJ.64) $(CTF.32) $(CTF.64)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX