Commit Graph

2181 Commits

Author SHA1 Message Date
skrll
b88df2aff1 Add -mlong-calls to hppa module builds. 2013-08-06 06:08:39 +00:00
matt
7239678e01 Add GNU_ARCH for earmv4eb, earmv5, earmv5eb, earmv6, earmv6hf, earmv6eb,
earmv6hfeb, earmv7, earmv7hf
2013-08-06 05:46:26 +00:00
matt
c5d26c67ea Simplify the earm tests 2013-08-05 15:33:07 +00:00
matt
41fa6563ce Add 3 more MACHINE_ARCH: earmv4 earmv7eb earmv7hfeb
The latter are for cortex big-endian which uses a different binary format
than previous arm big endian platforms.
2013-08-05 00:21:50 +00:00
adam
d048c62b15 Fixed a typo 2013-08-03 19:31:26 +00:00
skrll
c4b75127d1 Switch hppa to USE_COMPILERCRTSTUFF=no 2013-07-27 11:13:57 +00:00
matt
920e58b8b9 Use m5407--netbsdelf for coldfire (Why not just use m5407--netbsd? Because
gas will think that's a.out since internally it expands it to m68--netbsd
and that matches a.out)
2013-07-19 16:52:44 +00:00
pooka
370de4e409 Enable opt-out from shlib mapfile creation. Not all linkers (namely
the solaris one) support such fancy features.

no default functional change
2013-07-19 11:43:18 +00:00
matt
7640d05364 Test BSD makefile about coldfire.
XXX still hate m68k--netbsdelf-coldfire
2013-07-18 22:06:09 +00:00
martin
62c0de7a28 Disable -Wconversion for gcc older than 4.5 2013-07-17 19:24:56 +00:00
christos
b0420de909 Add -Wconversion for WARNS > 5 2013-07-16 17:48:52 +00:00
matt
d01d30fa5a When linking shared libraries, produce a map file. 2013-07-16 02:58:19 +00:00
martin
52a1560729 Switch sparc and sparc64 to USE_COMPILERCRTSTUFF=no 2013-07-11 06:58:30 +00:00
matt
138c29fa6c MIPS now uses USE_COMPILERCRTSUTFF=no 2013-06-25 01:17:29 +00:00
matt
4e11eec173 For VAX, enable USE_COMPILERCRTSTUFF = no
Sort the arm ELF2AOUT sections to be removed.
2013-06-25 00:33:09 +00:00
tsutsui
ccf0f70064 Invoke tools/binstall/mkmanifest for Cygwin via ${HOST_SH}.
Fixes builds using source sets that drop executable bits.
2013-06-14 16:10:02 +00:00
mrg
0ca6164e56 rename (new) xorg_drivers to xorg_server -- platforms that build the
actual Xorg server (aka "xfree86 server").

move the list of these platforms from xorg-server/Makefile.common to
bsd.own.mk, so that we can access it easily in distrib.

this should fix most of the current build failures.
2013-06-12 21:35:29 +00:00
mrg
224424a849 add a new MKXORG_DRIVERS that defaults to yes on MKXORG platforms
besides acorn26.  useful for sets, and avoids overloading the
value of XFREE86_SERVERS.
2013-06-10 05:02:38 +00:00
mrg
b2836e59b2 make .pc files depend upon configure files if they exist. this
will force them to be rebuilt when the version has changed.
this fixes one of the most often broken parts of update builds
after a version update.
2013-06-05 23:14:13 +00:00
mrg
43546c5b7b define X11SRCDIR.xorg-docs. 2013-06-05 07:41:56 +00:00
mrg
2419004b57 update to xorg-server 1.10.6. 2013-06-03 07:39:07 +00:00
mbalmer
d7a7f8507d New variable MKX11MOTIF to enable building libGLw with Motif support.
Defaults to 'no'.
2013-06-02 11:02:40 +00:00
mrg
f8cebe2a9e add LIBX11_XCB; unfortunately since the library is named with a -
in it, we have to use an ugly hard coded assignment for now.
(could be cleaned up with more make variable magic i'm sure.)
2013-05-31 06:48:43 +00:00
matt
af8f0546ca Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.
2013-05-03 16:05:11 +00:00
matt
86313270f0 Use !empty(MACHINE_ARCH:Mearm*) instead of ${MACHINE_ARCH:Mearm*} != "" 2013-05-03 15:55:21 +00:00
matt
9244b4d1cb Allow use of a different by using KLINK_MACHINE instead.
If it's not set, KLINK_MACHINE is set to ${MACHINE}
2013-05-02 04:14:28 +00:00
joerg
c7fbe15f37 MKLIBCXX and MKLIBSTDCXX 2013-04-28 04:44:21 +00:00
joerg
2fa1d2471b Introduce MKLIBSTDCXX, defaulting to yes. 2013-04-28 04:05:37 +00:00
joerg
ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
matt
ba99357d47 Default MKCOMPAT to no for earm 2013-04-27 08:42:44 +00:00
riastradh
f85ea5612a Move addition of -g to CSHLIBFLAGS later in bsd.lib.mk.
It is now past any conditionals where its emptiness or nonemptiness can
influence the decision of what objects get built.

Fixes MKDEBUG=yes build on vax (PR 47700).
2013-04-22 22:16:14 +00:00
christos
247331174c Install shlibdir debug links 2013-04-11 01:27:47 +00:00
christos
287e82f1db add new libevent2 libraries. 2013-04-11 01:27:46 +00:00
uebayasi
b6c0c53d2c Fix dependency handling of UUDECODE_FILES (e.g. libexec/ld.aout_so on i386).
The .uue rule is defined to make "foo.xxx.uue" -> "foo.xxx".  When
UUDECODE_FILES_RENAME_* is also applied, the .uue rule tries to make "foo",
not "foo.xxx".  This results in that "foo.xxx" is never made and always
"foo.xxx.uue" -> "foo" is made.

Define dependency for intermediate files.

Avoid unnecessary rebuild and reinstall.  (Consume 70K in obj directory.)
2013-04-06 15:39:19 +00:00
christos
5fc19dec20 fix mkdebug for private libraries.
while here, centralize the strip variable handling per type of object.
2013-04-04 21:15:15 +00:00
christos
07a6c80766 ldopts should be before ldadd like everywhere else. 2013-04-04 21:14:36 +00:00
christos
fc08ea7529 fix groff html generation 2013-03-21 02:04:17 +00:00
christos
131c9e0b6e handle NOMANDOC in the html case too 2013-03-21 01:48:14 +00:00
yamt
eb29b1d4e9 don't make ctfconvert remove original debug info 2013-03-06 11:19:08 +00:00
christos
b5a766a4fb Add a rule to rebuild dependency files that contain stale entries automatically. 2013-03-05 21:59:01 +00:00
pooka
44e3d14dbc Make "make DBG=-g -O2" for a library once again produce a shared library
with debugging symbols (irregardless of .debug).
2013-03-05 21:16:24 +00:00
christos
aa3d3ee6d3 MKDEPINCLUDES support. 2013-03-05 02:02:07 +00:00
joerg
db135d737c Add infrastructure for building MCLinker. 2013-02-27 21:25:05 +00:00
jmmv
704facb580 Autogenerate Kyuafiles next to Atffiles when MKKYUA is set.
This is suboptimal: the current high-level definitions of test programs
in the Makefiles do not carry enough information to support all the
features of Kyuafiles.  For example, it is not possible to register test
programs that do *not* use the ATF libraries, which is something that
has been frequently requested around here; nor it is possible to attach
arbitrary metadata to test programs from the Makefile, which is handy
particularly for ATF-less test programs.

For these reasons, consider this a transitional step.

Note that, with this change, you should now be able to use the 'kyua'
tool to run the tests in /usr/tests.
2013-02-23 22:01:51 +00:00
jmmv
5b7eb38d00 Stop assuming that test programs and directories are the same thing during
Atffile generation.

This is needed to be able to generate Kyuafiles (coming later), as these
clearly differentiate between the definition of test programs and the
recursion into other subdirectories (or files).

In particular: rename ATFFILE_EXTRA_TPS to ATFFILE_EXTRA_SUBDIRS and
change the logic in bsd.test.mk to keep track of subdirectories aside from
_TESTS when creating the Atffile.
2013-02-23 21:20:14 +00:00
christos
5a9353fcc0 Add a hook to create a manifest file if needed under cygwin 2013-02-17 00:36:00 +00:00
jmmv
7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv
3bd42d5026 Add ATFFILE_EXTRA_TPS.
The new ATFFILE_EXTRA_TPS variable can hold a set of test programs or
subdirectories to be added to the generated Atffile, without needing these
to be built by the current Makefile.

This is to be used in conjunction with MK* knobs and external/ so that
a 3rd-party component can place its tests in the corresponding tests/
directory and have the parent Atffile recognize them.

An alternative would be to use 'tp-glob' in the Atffile and list the names
of the directories/tests that may or may not exist.  However, this would
require providing manually-crafted Atffiles -- and because the majority are
auto-generated, there would be some confusion.
2013-02-16 15:00:44 +00:00
jmmv
88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
christos
fbf6778a1b Since the libraries are produced with different MK flags than the programs,
we check for existance of the files instead of the MK flags.
2013-02-14 03:02:47 +00:00