| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.171 2011/07/07 07:33:40 mrg Exp $ | | 1 | # $NetBSD: Makefile,v 1.172 2011/07/07 07:37:17 matt Exp $ |
2 | # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 | | 2 | # from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91 |
3 | | | 3 | |
4 | .include <bsd.own.mk> | | 4 | .include <bsd.own.mk> |
5 | | | 5 | |
6 | SUBDIR= csu | | 6 | SUBDIR= csu |
7 | | | 7 | |
8 | .if (${MKGCC} != "no") | | 8 | .if (${MKGCC} != "no") |
9 | . if ${HAVE_GCC} == 4 | | 9 | . if ${HAVE_GCC} == 4 |
10 | . if (${USE_COMPILERCRTSTUFF} == "yes") | | 10 | . if (${USE_COMPILERCRTSTUFF} == "yes") |
11 | SUBDIR+= ../gnu/lib/crtstuff4 | | 11 | SUBDIR+= ../gnu/lib/crtstuff4 |
12 | . endif | | 12 | . endif |
13 | SUBDIR+= ../gnu/lib/libgcc4 | | 13 | SUBDIR+= ../gnu/lib/libgcc4 |
14 | . else | | 14 | . else |
| @@ -68,30 +68,28 @@ SUBDIR+= ../external/mit/lua/lib | | | @@ -68,30 +68,28 @@ SUBDIR+= ../external/mit/lua/lib |
68 | | | 68 | |
69 | SUBDIR+= ../external/public-domain/xz/lib | | 69 | SUBDIR+= ../external/public-domain/xz/lib |
70 | | | 70 | |
71 | SUBDIR+= ../gnu/lib/libmalloc | | 71 | SUBDIR+= ../gnu/lib/libmalloc |
72 | | | 72 | |
73 | .if (${MKGCC} != "no") | | 73 | .if (${MKGCC} != "no") |
74 | . if ${HAVE_GCC} == 4 | | 74 | . if ${HAVE_GCC} == 4 |
75 | SUBDIR+= ../gnu/lib/libobjc4 | | 75 | SUBDIR+= ../gnu/lib/libobjc4 |
76 | . else | | 76 | . else |
77 | SUBDIR+= ../external/gpl3/gcc/lib/libobjc | | 77 | SUBDIR+= ../external/gpl3/gcc/lib/libobjc |
78 | . endif | | 78 | . endif |
79 | .endif | | 79 | .endif |
80 | | | 80 | |
81 | . if ${HAVE_GCC} >= 45 | | 81 | .if ${HAVE_GCC} >= 45 |
82 | SUBDIR+= ../external/lgpl3/gmp/lib/libgmp .WAIT | | 82 | SUBDIR+= ../external/lgpl3/gmp/lib/libgmp |
83 | SUBDIR+= ../external/lgpl3/mpfr/lib/libmpfr .WAIT | | | |
84 | SUBDIR+= ../external/lgpl2/mpc/lib/libmpc | | | |
85 | .endif | | 83 | .endif |
86 | | | 84 | |
87 | # | | 85 | # |
88 | # Libraries that depend upon any listed previously | | 86 | # Libraries that depend upon any listed previously |
89 | # (and those that depend upon these [and ...]) | | 87 | # (and those that depend upon these [and ...]) |
90 | # | | 88 | # |
91 | #==================== 1st library dependency barrier ==================== | | 89 | #==================== 1st library dependency barrier ==================== |
92 | SUBDIR+= .WAIT | | 90 | SUBDIR+= .WAIT |
93 | | | 91 | |
94 | SUBDIR+= libcurses # depends on libterminfo | | 92 | SUBDIR+= libcurses # depends on libterminfo |
95 | SUBDIR+= libdm # depends on libprop | | 93 | SUBDIR+= libdm # depends on libprop |
96 | SUBDIR+= libedit # depends on libterminfo | | 94 | SUBDIR+= libedit # depends on libterminfo |
97 | SUBDIR+= libquota # depends on libprop and librpcsvc | | 95 | SUBDIR+= libquota # depends on libprop and librpcsvc |
| @@ -123,26 +121,30 @@ SUBDIR+= ../external/gpl2/lvm2/lib # dep | | | @@ -123,26 +121,30 @@ SUBDIR+= ../external/gpl2/lvm2/lib # dep |
123 | SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz | | 121 | SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz |
124 | .endif | | 122 | .endif |
125 | | | 123 | |
126 | .if (${MKGCC} != "no" && ${MKCXX} != "no") | | 124 | .if (${MKGCC} != "no" && ${MKCXX} != "no") |
127 | . if ${HAVE_GCC} == 4 | | 125 | . if ${HAVE_GCC} == 4 |
128 | SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm | | 126 | SUBDIR+= ../gnu/lib/libstdc++-v3_4 # depends on libm |
129 | SUBDIR+= ../gnu/lib/libsupc++4 | | 127 | SUBDIR+= ../gnu/lib/libsupc++4 |
130 | . else | | 128 | . else |
131 | SUBDIR+= ../external/gpl3/gcc/lib/libstdc++-v3 | | 129 | SUBDIR+= ../external/gpl3/gcc/lib/libstdc++-v3 |
132 | SUBDIR+= ../external/gpl3/gcc/lib/libsupc++ | | 130 | SUBDIR+= ../external/gpl3/gcc/lib/libsupc++ |
133 | . endif | | 131 | . endif |
134 | .endif | | 132 | .endif |
135 | | | 133 | |
| | | 134 | .if ${HAVE_GCC} >= 45 |
| | | 135 | SUBDIR+= ../external/lgpl3/mpfr/lib/libmpfr |
| | | 136 | .endif |
| | | 137 | |
136 | #==================== 2nd library dependency barrier ==================== | | 138 | #==================== 2nd library dependency barrier ==================== |
137 | SUBDIR+= .WAIT | | 139 | SUBDIR+= .WAIT |
138 | | | 140 | |
139 | SUBDIR+= libform # depends on libcurses | | 141 | SUBDIR+= libform # depends on libcurses |
140 | | | 142 | |
141 | .if (${MKKERBEROS} != "no") | | 143 | .if (${MKKERBEROS} != "no") |
142 | SUBDIR+= ../crypto/external/bsd/heimdal/lib # depends on libcrypto | | 144 | SUBDIR+= ../crypto/external/bsd/heimdal/lib # depends on libcrypto |
143 | # libedit, libterminfo, | | 145 | # libedit, libterminfo, |
144 | .endif | | 146 | .endif |
145 | | | 147 | |
146 | SUBDIR+= libmenu # depends on libcurses | | 148 | SUBDIR+= libmenu # depends on libcurses |
147 | SUBDIR+= libradius # depends on libcrypto if (${MKCRYPTO} != "no") | | 149 | SUBDIR+= libradius # depends on libcrypto if (${MKCRYPTO} != "no") |
148 | SUBDIR+= librump # depends on librumpuser | | 150 | SUBDIR+= librump # depends on librumpuser |
| @@ -151,26 +153,30 @@ SUBDIR+= librump # depends on librumpus | | | @@ -151,26 +153,30 @@ SUBDIR+= librump # depends on librumpus |
151 | SUBDIR+= ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz | | 153 | SUBDIR+= ../crypto/external/bsd/openssh/lib # depends on libcrypto, libz |
152 | SUBDIR+= ../crypto/external/bsd/netpgp/lib # depends on libcrypto, ... | | 154 | SUBDIR+= ../crypto/external/bsd/netpgp/lib # depends on libcrypto, ... |
153 | .endif | | 155 | .endif |
154 | | | 156 | |
155 | SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto | | 157 | SUBDIR+= ../external/bsd/bind/lib # depends on libcrypto |
156 | SUBDIR+= ../external/bsd/fetch/lib # depends on libssl | | 158 | SUBDIR+= ../external/bsd/fetch/lib # depends on libssl |
157 | | | 159 | |
158 | .if (${MKLDAP} != "no") | | 160 | .if (${MKLDAP} != "no") |
159 | SUBDIR+= ../external/bsd/openldap/lib # depends on libcrypto, ... | | 161 | SUBDIR+= ../external/bsd/openldap/lib # depends on libcrypto, ... |
160 | .endif | | 162 | .endif |
161 | | | 163 | |
162 | SUBDIR+= librumphijack | | 164 | SUBDIR+= librumphijack |
163 | | | 165 | |
| | | 166 | .if ${HAVE_GCC} >= 45 |
| | | 167 | SUBDIR+= ../external/lgpl2/mpc/lib/libmpc |
| | | 168 | .endif |
| | | 169 | |
164 | #==================== 3rd library dependency barrier ==================== | | 170 | #==================== 3rd library dependency barrier ==================== |
165 | SUBDIR+= .WAIT | | 171 | SUBDIR+= .WAIT |
166 | | | 172 | |
167 | SUBDIR+= librumpdev # depends on librump | | 173 | SUBDIR+= librumpdev # depends on librump |
168 | SUBDIR+= librumpnet # depends on librump | | 174 | SUBDIR+= librumpnet # depends on librump |
169 | SUBDIR+= librumpvfs # depends on librump | | 175 | SUBDIR+= librumpvfs # depends on librump |
170 | | | 176 | |
171 | #==================== 4th library dependency barrier ==================== | | 177 | #==================== 4th library dependency barrier ==================== |
172 | SUBDIR+= .WAIT | | 178 | SUBDIR+= .WAIT |
173 | | | 179 | |
174 | SUBDIR+= libukfs # depends on librumpvfs, librump | | 180 | SUBDIR+= libukfs # depends on librumpvfs, librump |
175 | | | 181 | |
176 | #==================== 5th library dependency barrier ==================== | | 182 | #==================== 5th library dependency barrier ==================== |