Commit Graph

1100 Commits

Author SHA1 Message Date
wiz
61ddcbc141 Adapt CATDEPS/HTMLDEPS for groff-1.19. 2003-06-30 18:49:05 +00:00
wiz
ee660f962d Add NROFF. 2003-06-30 18:48:52 +00:00
drochner
03caf45b83 For consistency, use "-R" instead of "-Wl,-rpath" to pass
a runtime search path to the linker.
2003-06-27 17:30:16 +00:00
drochner
a915fb6b1e Use ${CC} instead of ${LD} to build shared objects.
(g)cc has all the knowledge which startfiles/libgcc to
use, so we don't need to duplicate all that here.

Externally visible change:
Shared objects are linked against libgcc_pic.a now
(if the in-tree gcc2 is used). This fixes problems with
dlopen()'ed objects referencing libgcc functions not used
(thus not linked in) by the main program.
2003-06-27 17:27:11 +00:00
drochner
672eca1975 provide a variable pointing to the directory where
the gcc provided crt*.o are located
2003-06-27 17:13:27 +00:00
tshiozak
e376aa8308 Citrus iconv support(3)
add host tools : mkcsmapper and mkesdb
  mkcsmapper - coded character set mapping table compiler
  mkesdb - encoding scheme database compiler
2003-06-26 06:30:07 +00:00
tron
085b2ab641 Fix "clean" rule to honor "CLEANFILES" variable. 2003-06-24 09:49:07 +00:00
itojun
ded3919389 define LIBEVENT 2003-06-13 04:04:18 +00:00
provos
5522c1a3bb add LIBEVENT 2003-06-12 23:26:19 +00:00
wiz
a233f087fe Add missing } for rev. 1.43. 2003-06-11 18:05:40 +00:00
wiz
cdf5450a15 Also recognize cpp files as C++ files for CYGWIN case. 2003-06-11 17:32:45 +00:00
christos
d30f98df35 recognize .cpp as c++ files. 2003-06-11 17:24:55 +00:00
msaitoh
535480c5be catch signal 1,2,3,13 and 15 to clean /tmp/_dependXXX 2003-06-11 04:56:58 +00:00
thorpej
000836e000 If EXTERNAL_TOOLCHAIN is defined, allow the compiler to define the
location of crt{begin,end}{,S}.o and libgcc.a.  Encapsulate all of
this logic into the new bsd.gcc.mk, and use it in bsd.prog.mk and
bsd.lib.mk.
2003-05-31 20:33:15 +00:00
thorpej
22791b9867 Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.
2003-05-30 18:43:23 +00:00
wiz
53588c2a8b Back this out until I know why it does not work. 2003-05-27 21:43:32 +00:00
wiz
43075c01c6 Use && instead of ; to only overwrite a file if the corresponding sed worked (from christos).
Add .cpp rules.
2003-05-27 19:32:18 +00:00
wiz
f338b31357 Add .cpp dependency rules. 2003-05-27 19:30:45 +00:00
wiz
135b433e9c s/${ECHO}/@echo/, since we don't define ECHO in share/mk. 2003-05-26 12:38:59 +00:00
lukem
76a3147d38 Remove dependency on ${RPCGEN}:
*	Unnecessarily causes lib/librpcsvc (etc) to be rebuilt every time
	rpcgen is updated.
    *	No other "generated" file (.l, .y, ...) depends upon its tool
    	like this
    *	As <bsd.own.mk> wasn't being pulled in, the tools/ version
    	wasn't being used, so a lot of times the dependency was wrong.

Fixes [toolchain/11568] by Bernd Ernesti.
2003-05-19 07:19:10 +00:00
lukem
4ae3ede358 Only determine TARGET_ENDIANNESS if it's not already defined. 2003-05-18 08:19:03 +00:00
lukem
65e312f75f Add ${TOOL_DB}; db(1) as a (host) tool.
Note: this is the first tool using a "TOOL_" prefix in the make(1) variable;
other similar "non-standard" variable names will be converted in the future.
2003-05-18 08:09:25 +00:00
lukem
03a26b2c80 make this a no-op if HOSTPROG is defined 2003-05-18 07:36:23 +00:00
dbj
f1e0ecadf7 remove dependencies on ${LIBC} ${LIBM} and ${LIBTERMCAP} static libraries
from host tool targets.  Commits fix from PR toolchain/21495
2003-05-14 00:24:06 +00:00
christos
b024767c0c Fix _HOST_CYGWIN lossage. 2003-05-08 20:39:00 +00:00
salo
1b089357bd Whitespace. 2003-05-08 18:59:06 +00:00
christos
e9672445c0 Hacks for limited command and environment space (John Gordon) 2003-05-08 13:34:07 +00:00
christos
61987b916a Deal with CYGWIN's sh screwage. 2003-05-08 13:02:09 +00:00
fvdl
6fd55b60ac Add -mcmodel=kernel to CFLAGS for amd64. 2003-05-07 22:36:06 +00:00
yamt
7fb7b24fed make RPC_XDRFILES depend on files in right directory. 2003-05-07 13:41:22 +00:00
fvdl
cfb43ff372 Default to -O2 for x86_64. 2003-05-04 12:05:50 +00:00
scw
ee96a063f1 Build shared libraries by default on sh5. They seem stable enough now. 2003-04-29 14:59:02 +00:00
fvdl
ee5c723638 Correct previous. MACHINE is amd64. MACHINE_ARCH is x86_64. 2003-04-27 10:15:01 +00:00
tron
ef4a5d5fc9 x86_64 -> amd64 2003-04-27 10:10:28 +00:00
fvdl
e937aee3c1 another x86_64 -> amd64 2003-04-26 20:55:40 +00:00
fvdl
0945a6df17 x86_64 -> amd64 2003-04-26 19:02:50 +00:00
matt
275eeea6c9 The __wrap_* symbols need to become local symbols. If you have module
x which is dependent y but they both have __wrap_foo, if the __wrap_foo
is not localized, you will get linker truncation messages.
2003-04-23 18:34:20 +00:00
christos
2b009f6aa8 fix lossage caused by previous commit. 2003-04-22 12:55:26 +00:00
christos
6fab16d795 PR/6257: Izumi Tsutsui: bsd.lib.mk should set target only if LIB is defined. 2003-04-20 21:57:17 +00:00
thorpej
9d788d6da1 Provide the MKPICLIB value in bsd.own.mk, rather than bsd.lib.mk. It
is sometimes necessary for non-library Makefiles to determine if _pic
libraries are being built.

Problem pointed out by Havard Eidnes.
2003-04-11 22:40:31 +00:00
thorpej
44d9add676 If MACHINE_ARCH is powerpc and we HAVE_GCC3, add crtsaveres.o to the
endfile spec.
2003-03-30 00:35:07 +00:00
fvdl
bb218b78eb gcc for x86_64 should be safe enough these days to enable -O by default. 2003-03-29 22:12:06 +00:00
christos
9453ca1e91 add x86 to the cleanfiles for i386 and x86_64 (Hi Frank!) 2003-03-27 17:05:14 +00:00
pooka
d223236902 add file as a host tool 2003-03-25 23:35:48 +00:00
thorpej
b48666e01a Add a HEXDUMP host tool. 2003-03-07 01:21:56 +00:00
fvdl
9f9a0457aa Add more special cases to create include directory symlinks, for archs
that take include files from a subdir != ${MACHINE_ARCH} (ew).
2003-02-27 11:09:59 +00:00
uwe
c18a5386dc Typo in comment. 2003-02-22 04:46:08 +00:00
matt
f65e1190f5 When making a LKM for powerpc, add function trampolines to undefined
functions.  This makes LKMs functional for powerpc.
2003-02-19 19:03:41 +00:00
thorpej
14dfb2cab0 Add LIBPTHREAD, LIBPTHREAD_DB, and LIBRT. 2003-01-24 02:06:37 +00:00
scw
3402e518ba The sh5 toolchain works fine with -O2 now. 2003-01-21 09:19:01 +00:00