| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.sys.mk,v 1.168 2008/09/26 18:23:09 apb Exp $ | | 1 | # $NetBSD: bsd.sys.mk,v 1.169 2008/10/05 20:20:55 apb Exp $ |
2 | # | | 2 | # |
3 | # Build definitions used for NetBSD source tree builds. | | 3 | # Build definitions used for NetBSD source tree builds. |
4 | | | 4 | |
5 | .if !defined(_BSD_SYS_MK_) | | 5 | .if !defined(_BSD_SYS_MK_) |
6 | _BSD_SYS_MK_=1 | | 6 | _BSD_SYS_MK_=1 |
7 | | | 7 | |
8 | .if defined(WARNS) | | 8 | .if defined(WARNS) |
9 | .if ${WARNS} > 0 | | 9 | .if ${WARNS} > 0 |
10 | CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith | | 10 | CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith |
11 | #CFLAGS+= -Wmissing-declarations -Wredundant-decls -Wnested-externs | | 11 | #CFLAGS+= -Wmissing-declarations -Wredundant-decls -Wnested-externs |
12 | # Add -Wno-sign-compare. -Wsign-compare is included in -Wall as of GCC 3.3, | | 12 | # Add -Wno-sign-compare. -Wsign-compare is included in -Wall as of GCC 3.3, |
13 | # but our sources aren't up for it yet. Also, add -Wno-traditional because | | 13 | # but our sources aren't up for it yet. Also, add -Wno-traditional because |
14 | # gcc includes #elif in the warnings, which is 'this code will not compile | | 14 | # gcc includes #elif in the warnings, which is 'this code will not compile |
| @@ -110,28 +110,26 @@ HOST_CXX?= c++ | | | @@ -110,28 +110,26 @@ HOST_CXX?= c++ |
110 | HOST_CXXFLAGS?= -O | | 110 | HOST_CXXFLAGS?= -O |
111 | | | 111 | |
112 | HOST_CPP?= cpp | | 112 | HOST_CPP?= cpp |
113 | HOST_CPPFLAGS?= | | 113 | HOST_CPPFLAGS?= |
114 | | | 114 | |
115 | HOST_LD?= ld | | 115 | HOST_LD?= ld |
116 | HOST_LDFLAGS?= | | 116 | HOST_LDFLAGS?= |
117 | | | 117 | |
118 | HOST_AR?= ar | | 118 | HOST_AR?= ar |
119 | HOST_RANLIB?= ranlib | | 119 | HOST_RANLIB?= ranlib |
120 | | | 120 | |
121 | HOST_LN?= ln | | 121 | HOST_LN?= ln |
122 | | | 122 | |
123 | HOST_SED?= sed | | | |
124 | | | | |
125 | .if !empty(HOST_CYGWIN) | | 123 | .if !empty(HOST_CYGWIN) |
126 | HOST_SH?= /usr/bin/bash | | 124 | HOST_SH?= /usr/bin/bash |
127 | .else | | 125 | .else |
128 | HOST_SH?= sh | | 126 | HOST_SH?= sh |
129 | .endif | | 127 | .endif |
130 | | | 128 | |
131 | ELF2ECOFF?= elf2ecoff | | 129 | ELF2ECOFF?= elf2ecoff |
132 | MKDEP?= mkdep | | 130 | MKDEP?= mkdep |
133 | OBJCOPY?= objcopy | | 131 | OBJCOPY?= objcopy |
134 | OBJDUMP?= objdump | | 132 | OBJDUMP?= objdump |
135 | PAXCTL?= paxctl | | 133 | PAXCTL?= paxctl |
136 | STRIP?= strip | | 134 | STRIP?= strip |
137 | | | 135 | |