Commit Graph

52 Commits

Author SHA1 Message Date
pk 015fada66a Assign my copyrights to TNF. 1998-09-05 13:20:07 +00:00
mycroft d005dcbce0 Don't pull in param.h (and therefore don't pull in unistd.h). 1998-07-25 04:34:12 +00:00
lukem cc8d1d3968 use a common Makefile.csu.aout for the a.out ports 1997-10-27 01:03:39 +00:00
christos 88d2078c4f Revert previous change ${.ALLSRC} will contain .h files etc. 1997-10-23 21:42:54 +00:00
lukem 6bf85c9ba3 * use CPPFLAGS instead of CFLAGS for -D and -I options
* use COPTS instead of CFLAGS for -fPIC et al
* use ${COMPILE.c} instead of ${CC} ${CFLAGS} -c
* use FILES and FILESDIR to install pc532 objects (instead of install: rule) -
  this makes it consistent with the other a.out ports (arm32, i386, m68k, sparc)
1997-10-22 16:00:39 +00:00
lukem a60b842a81 use CPPFLAGS instead of CFLAGS 1997-10-21 23:59:18 +00:00
mycroft 2959c0da1f Move the RCS id after `start', so that `start' is once again the first thing
in the text segment.
1997-10-20 13:49:45 +00:00
lukem 6fffd559bd WARNSify (not yet tested on all platforms yet) 1997-10-09 12:29:21 +00:00
lukem 5b0e18c4e4 WARNSify 1997-10-09 07:07:14 +00:00
mikel 9dc08ab2a8 add parens for gcc -Wall 1997-06-19 06:02:06 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
christos 8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +00:00
mycroft f7bc1cda35 Tiny optimization in __syscall. 1996-12-07 23:31:07 +00:00
mycroft e8770b9c15 Oops; don't need sys/syscall.h. 1996-12-07 23:00:20 +00:00
mycroft a54c49b343 Set __ps_strings at startup. Move the argv/envp setup into a short assembler
prologue.  General cleanup.
1996-12-07 22:34:09 +00:00
thorpej 5042faf816 RCS id police. 1996-10-18 05:36:42 +00:00
thorpej 25f2d6465d Use ${INSTALL}. 1996-10-18 05:27:38 +00:00
pk a9c6e6dfa1 Make `make depend' work. For this, it was necessary to remove ${.ALLSRC}
from the build rules; it has been replaced with `${.CURDIR}/${SRCS}'.
Also, avoid "a.out" like <mk/bsd.lib.mk>.
1995-09-29 11:23:15 +00:00
pk 69ae425298 Build run-time code for use in static executables, called `scrt0.o'. 1995-06-05 01:57:04 +00:00
pk 846beea318 Factor out common code. 1995-06-03 13:16:03 +00:00
pk c64cecc457 Protoize (from Thorsten Lockert, PR #1070).
Some other cleanup.
1995-06-02 21:30:47 +00:00
mycroft 6ee8835631 Keep argv[0] in a register. 1995-05-17 15:55:26 +00:00
mycroft 3ad209c804 Calculate environ directly from argc and argv, rather than searcing down
the argument list.
1995-05-16 16:25:04 +00:00
mycroft 6d9a99f698 Use the new syscall method. 1995-01-17 06:09:43 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
mycroft 49f9da4a97 Clean up deleted files. 1994-05-14 06:33:11 +00:00
cgd b22a4fbae6 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:05 +00:00
cgd 79b8b4562d new way of invoking mmap. 1994-04-05 02:26:13 +00:00
cgd 00ae28f054 explicit cast off mmap offset to off_t 1994-03-28 05:26:00 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
cgd c882b54db3 kill bogus install -d's. the one for /usr/include/rpcsvc is still here. 1994-02-10 01:10:01 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
pk db1f5577e7 dl*() stubs 1994-01-28 21:51:52 +00:00
mycroft 2ac9b46bdd Allow ld.so to be QMAGIC. 1994-01-04 23:40:31 +00:00
pk 31ca12249f Clean out Sparc code. 1993-11-21 13:35:42 +00:00
pk 12094d064d Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.
1993-11-04 10:51:39 +00:00
pk 65fc5961b5 `ld -x -r crt0.o' defines __DYNAMIC as data. This we cannot use.
Disabled until I sort it out.
1993-10-24 01:34:24 +00:00
pk bd67a6f934 Enabled __DYNAMIC. 1993-10-23 00:47:15 +00:00
pk 4406f07dc2 Startup code supporting shared libraries.
NOTE: #ifdefs sparcs should be removed
1993-10-16 21:58:39 +00:00
deraadt 8cb4a5221c 8 spaces -> a tab 1993-08-10 08:35:59 +00:00
mycroft 7ea474ac33 Clean up automatic creation of /usr/lib. 1993-08-09 04:49:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
deraadt ac1c140b61 ok, all executables just got 16 bytes shorter. removed a bunch
of "nops" from the start of the crt.
1993-07-07 01:33:52 +00:00
glass b64b1fd758 added some support new err(3) shit needs 1993-04-30 23:09:06 +00:00
mycroft f909f1bb33 Use global value of CFLAGS. 1993-04-24 22:48:30 +00:00
cgd 630d08dbe3 make sure directory to install stuff exists before installing,
and copy libs rather than mv'ing them, on install
1993-04-09 09:39:34 +00:00
cgd 5d07e08579 added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)
1993-04-03 02:15:18 +00:00