Commit Graph

1470 Commits

Author SHA1 Message Date
rpaulo
2e83915da9 Add variables for /libdata/firmware path. 2006-06-07 18:49:36 +00:00
mrg
0b591d2dfd delete support for USE_TOOLS_TOOLCHAIN and HAVE_GCC==2.
update the list of platforms that build for GCC4 (but do not switch
any of them yet.)
2006-06-02 22:21:34 +00:00
mrg
db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
christos
2cbaed172f Remove sendmail. 2006-05-30 00:42:29 +00:00
uwe
d5328b65a0 Enable -Wold-style-cast for sh3 now that its stadarg.h doesn't use LHS casts. 2006-05-22 00:43:04 +00:00
christos
0d1e2d0056 Remove -Wno-attribute for gcc4 2006-05-20 00:48:41 +00:00
lukem
a6538b604a LDFLAGS is for CC not LD. 2006-05-12 04:29:08 +00:00
mrg
8794aeca0e support CPPFLAG_ISYSTEMXX for GCC4. 2006-05-12 02:04:55 +00:00
mrg
38ef023f65 like we do for -Wno-traditional, remove -Wstrict-prototypes and
-Wmissing-prototypes from C++ since those are always requird for C++.
2006-05-12 02:03:35 +00:00
mrg
1ed40e7c8b add support for ${OBJCOPTS} and ${OBJCOPTS}.<lib|prog|fn>. 2006-05-11 23:47:34 +00:00
mrg
ae844d5313 turn on -Wno-pointer-sign for all kernel code. 2006-05-11 22:24:48 +00:00
mrg
8154510479 for now, turn on -fno-strict-aliasing for GCC4. 2006-05-11 00:46:57 +00:00
groo
ad8b178abb Add common/include to include path.
HI JASON!
2006-05-06 02:20:23 +00:00
uwe
e34bcd0c5a netwinder uses loadable server modules.
(Oops, forgot to commit this change along with other netwinder
X server commits.  Unbreaks builds.)
2006-04-17 12:50:51 +00:00
tls
3b526da7d6 bsd.lib.mk used MKDEBUG, but nothing defined it. Fix this. 2006-04-09 04:21:27 +00:00
christos
1c364e3284 Add MKDEBUG and the ability to build debugging versions of the libraries. 2006-04-09 01:52:06 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
christos
4e974b3144 Add a HAVE_GCC4 2006-04-01 20:20:28 +00:00
christos
45cfed2d83 make symlink types consistent. 2006-03-30 19:49:02 +00:00
jmc
603c15a57f Provide TOOL_GMAKE defintiion 2006-03-29 21:12:20 +00:00
jmc
ba3b1be79f Provide a default for USE_GCC4 (no currently) so it can be tested against 2006-03-29 21:03:39 +00:00
he
50ea083318 The -Wno-packed switch is a gcc3+ thing, so place it where it won't
be picked up by gcc 2.95.3.  Fixes build problem for vax.
2006-03-27 11:50:08 +00:00
dogcow
7c781162f5 Add -Wno-packed, in preparation for gcc4.1.x; unlike most of the other
warnings, it (at best) flags possible underoptimization, and not any
code defects.
2006-03-25 22:23:04 +00:00
christos
9e91483c3d There is always one more KRB4 thing to remove. (from Jukka Salmi) 2006-03-20 21:48:43 +00:00
christos
6b61cedf51 Remove krb4 variables and libraries (Jukka Salmi) 2006-03-20 21:27:31 +00:00
christos
c9a2b557c6 remove KRB4 libraries (Jukka Salmi) 2006-03-20 21:26:15 +00:00
christos
26c486a7c8 more Kerberos4 cleanup. 2006-03-20 21:25:31 +00:00
christos
5e46421102 Oops, I did not mean to commit that [turning on relative symlinks] 2006-03-20 18:18:41 +00:00
christos
85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
jwise
8bc0f5da0f Now that we have real build system support for syspkgs, remove someone's
half-implemented idea of building `syspkgs' (really a few giant blobs of the
same granularity of the old sets) using install(1).
2006-03-16 18:43:34 +00:00
dsl
286b8b3f54 Use ${OBJCOPY} -[xX] ${.TARGET} instead of getting the file written to
${.TARGET}.tmp and running ${LD} -[xX] ...
I don't believe there are any architectures where objcopy can't delete local
symbols.
2006-01-28 11:10:18 +00:00
christos
a8243f1c4c Add the world of libraries to the static pam build. Now static pam binaries
work.
2006-01-20 16:54:11 +00:00
christos
7f5f767e82 Compile all profiling sources with -DPROF -DGPROF, not just assembly sources. 2006-01-08 01:23:51 +00:00
perry
8ce6cbdcd6 add "S" to LINTFLAGS so that "inline" is accepted by lint 2005-12-25 18:34:23 +00:00
hubertf
768192ee9f Back out previous attempt at cleaning up the mess,
let someone else resolve this.

Requested by uwe.
2005-12-22 02:52:40 +00:00
hubertf
266577df3c At least try to be consistent about where to document (most...)
user-settable MKxxx and USE_xxx variables, and put them into mk.conf(5).
Sort alphabetically.

OK: christos, lukem
2005-12-21 04:25:54 +00:00
christos
48d8900cac For now, s/c99/gnu99/ for WARNS=4. This is so that alloca() is defined (and
possibly other built-in functions). Another solution would be to add:

    #ifdef __GNUC__
    #define alloca(a) __builtin_alloca(a)
    #else
    void *alloca(size_t);
    #endif

in stdlib.h, since we have assembly support for some architectures on
non-gcc environments, and we can add the rest.
2005-12-02 21:34:50 +00:00
spz
1802f2d1d7 Enable build.sh -x building for the usbtablet driver new in xsrc
distrib/sets/lists/xserver/md.* to list the additional files for XFree86
using ports
share/mk/bsd.x11.mk and x11/... for the actual building

Contributes to closing PR xsrc/23964
Reviewed by tron@NetBSD.org
2005-11-12 22:57:46 +00:00
macallan
09bc805fb6 Build XFree86 on NetBSD/sparc.
Tested on Krups and a SPARCbook 3GX
Works only with wscons kernels, currently there's official support on Krups
with igsfb and more or less official support for SPARCbooks with pnozz and
SPARCstations with cgsix.
2005-10-01 22:51:31 +00:00
jwise
3deae99425 Add proper support for using bsd.hostprog.mk to build c++-based host
programs -- doesn't affect current host tools build (groff is built the
Makefile.gnuhost way).

Provides {.cc,.cpp,.cxx,.C}.lo rule, associated variables, and HOSTPROG_CXX
support (mirroring PROG_CXX in bsd.prog.mk).

Tested with from-scratch `build.sh tools' and full system build.
2005-09-02 03:57:10 +00:00
lukem
aca67b86d3 Fix parallel build race in CONFIGSYMLINKS & CONFIGLINKS by
makeing configlinksinstall depend upon configfilesinstall.
2005-08-31 05:08:24 +00:00
skrll
784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
he
be72885616 Disable the C++ warning -Wold-style-cast for sh3 as well, because
that CPU's headers' va_start() uses a cast.

Discussed with christos.
2005-08-09 22:16:19 +00:00
he
1042d80dad Gcc 2.95.3 doesn't support the -Wabi warning flag, so don't try to use
it there.

The vax port's va_start() macro uses a cast, so for the moment disable
the -Wold-style-cast warning flag for the old GCC as well (as vax is
the only remaining port using this compiler).
2005-08-09 15:24:26 +00:00
christos
4d135558d7 Add CXXFLAGS for WARNS=2 2005-08-09 02:38:06 +00:00
christos
d818d83647 Add .m in the list of suffixes, otherwise including bsd.sys.mk in a Makefile
treats the .m.o:  suffix rule as a target. This broke typing 'make' in
${NETBSDSRC}/sys/kern.
2005-07-09 18:45:16 +00:00
peter
df0caa2637 Remove (pf)spamd. Its right to exist in NetBSD has been questioned since it
appeared and whether it's really part of pf or not is still unclear. Looking
at the other *BSDs it seems that they have left out spamd when importing pf,
and now we do that too. Also, the name conflicted with another more popular
used tool, after the rename to pfspamd it was left with completely unusable
documentation which apparently no-one wanted to fix.

A port of the latest spamd will be imported into pkgsrc soon.

Suggested by several people, no objections on last proposal on tech-userlevel.
2005-06-27 20:32:39 +00:00
dyoung
960c071724 Add definitions for the new "host tools " disklabel and fdisk.
Define TOOL_DISKLABEL and TOOL_FDISK.  Also introduce HOST_INSTALL_DIR
and HOST_INSTALL_SYMLINK.  These re-usable definitions help me to
install headers for disklabel and fdisk into ${TOOLDIR}/include/nbinclude/.
2005-06-12 19:31:25 +00:00
lukem
87b3e94478 Don't add -Wno-uninitialized to CFLAGS if WARNS > 0 and HAVE_GCC != no,
as gcc3 generates much less false positives for -Wuninitalized and I
have found genuine bugs with this warning enabled.
Tested by building a full release of NetBSD/i386.
2005-06-04 12:17:45 +00:00
christos
3088775912 We need a non-tool version of genassym. 2005-05-31 03:45:42 +00:00