summaryrefslogtreecommitdiffstats
path: root/sys/modules/svr4/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFtbemd:imp2010-08-231-1/+1
| | | | | | | | | Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is the source code location of the machine, the latter the binary output. In general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless we're tesitng for a specific target. The isn't even moot for i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86, although a specific cleanup for that likely would be needed...
* After r193232 rt_tables in vnet.h are no longer indirectly dependent onbz2009-06-081-1/+1
| | | | | | | | | the ROUTETABLES kernel option thus there is no need to include opt_route.h anymore in all consumers of vnet.h and no longer depend on it for module builds. Remove the hidden include in flowtable.h as well and leave the two explicit #includes in ip_input.c and ip_output.c.
* Remove opt_mac.h generation for various kernel modules that no longerrwatson2009-06-061-1/+1
| | | | | | require it. Submitted by: pjd
* Burn TTY ioctl bridges in compat layers.ed2009-05-081-1/+1
| | | | | | | | | I really don't want any pieces of code to include ioctl_compat.h, so let the ibcs2 and svr4 compat leave sgtty alone. If they want to support sgtty, they should emulate it on top of termios, not sgtty. The code has been marked with BURN_BRIDGES for a long time. ibcs2 and svr4 are not really popular pieces of code anyway.
* Fix a few problems related to building modules in /sys/modules (notn_hibma2009-02-121-0/+2
| | | | | | | | | | checked whether this applies to builds in /sys/*/compile/* as well): - Create empty opt_*.h files were missing - Hook up svr4 to the build. It compiles fine here, so no reason to disconnect it in the Makefile. were missing - Hook up svr4 to the build. It compiles fine here, so no reason to disconnect it in the Makefile.
* Allow COMPAT_SVR4 to be built without COMPAT_43.ed2008-09-151-6/+1
| | | | | | | | | | | | | | It seems we only depend on COMPAT_43 to implement the send() and recv() routines. We can easily implement them using sendto() and recvfrom(), just like we do inside our very own C library. I wasn't able to really test it, apart from simple compilation testing. I've heard rumours that COMPAT_SVR4 is broken inside execve() anyway. It's still worth to fix this, because I suspect we'll get rid of COMPAT_43 somewhere in the future... Reviewed by: rdivacky Discussed with: jhb
* Per email to arch@ a little while ago (that was greeted with silence),imp2008-09-011-2/+2
| | | | | prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
* Housekeeping. Update for maintainers who have handed in their commit bitsmarkm2006-07-011-2/+0
| | | | or (in my case) no longer feel that oversight is necessary.
* opt_vmpage.h is no longer needed here because it is not included byalc2006-01-261-1/+1
| | | | vm_page.h.
* Let modules use the kernel's opt_*.h files if built along withyar2005-10-141-0/+2
| | | | | | | | | | | | | | the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64
* Add opt_mac.h to dependencies for svr4 module, since I'm about torwatson2002-08-121-5/+5
| | | | | | | commit the MAC checks for it. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* genassym depends on the presence of common variables, disable the usemsmith2002-01-101-1/+1
| | | | of -fno-common in this case.
* Removed mentions of TARGET_ARCH from non-cross places.ru2001-10-041-3/+1
|
* Zap obsolete (died with LKM) EXPORT_SYMS variablepeter2001-02-041-1/+0
|
* Zap some bad examples:peter2001-02-041-3/+2
| | | | | | opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
* Use a consistent style and one much closer to the rest of /usr/srcobrien2001-01-061-6/+6
|
* Decommission the svr4(8) shell script, which has been pointless sincesheldonh2000-11-291-6/+0
| | | | | | | | | | our kernel module system learned how to handle dependencies. Providing a whole bunch of shell scripts that do nothing but load a similarly named kernel loadable module is out of vogue. The svr4(8) manual page has been replaced with a much better svr4(4) page.
* Don't install manpages.obrien2000-10-081-3/+0
| | | | They are being moved elsewhere, and they are causing problems being here.
* Only install secondary components if the destination directory exists.obrien2000-10-041-0/+4
| | | | This may be a WIP, but `make release' needs it sooner than later.
* Cleanup after repo copy of sys/svr4 to sys/compat/svr4.obrien2000-08-311-1/+1
|
* Use the genassym script here too. The linux and svr4 modules were broken.bde2000-06-031-1/+4
|
* Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofpeter2000-05-271-1/+1
| | | | encoding the relative path.
* Support non-i386 architectures.obrien2000-05-101-1/+3
|
* Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.peter2000-05-041-1/+1
| | | | | | | This means that the kernel can be totally self contained now and is not dependent on the last buildworld to update /usr/share/mk. This might also make it easier to build 5.x kernels on 4.0 boxes etc, assuming gensetdefs and config(8) are updated.
* . add manpage for svr4(8)phantom2000-01-101-2/+2
| | | | . s/freebsd/FreeBSD
* Cleaned up options handling:bde2000-01-091-9/+4
| | | | | | - don't generate unusable headers or #defines. - removed duplicate opt_svr4.h in CLEANFILES. - removed bogus dependency of svr4.h on options headers.
* Compile svr4_genassym.c with ordinary ${CFLAGS}. The (small) need forbde2000-01-091-4/+3
| | | | | | | | | | | | -U_KERNEL became negative when all all the genassym.c's were converted to be cross-built. Use "genassym ... > ${.TARGET}", not "genassym -o $@ ...", so that genassym(1) doesn't need to support -o. Removed duplicate -D_KERNEL from CFLAGS. Removed triplicate -D_KERNEL from flags for compiling svr4_locore.s.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-3/+3
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Use genassym(1) and <sys/assym.h> to generate assembler symbols.marcel1999-12-231-8/+3
|
* Add opt_svr4.h to SRCS. This fixes make depend.marcel1999-12-081-1/+1
|
* SVR4 emulator source files now take their compilation options fromnewton1999-12-081-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | opt_global.h and opt_svr4.h, instead of from the command line. This brings them in-line with most of the rest of the kernel. svr4_ioctl.c has also failed to compile with debugging for a while now; fixed by adding systm.h and socketvar. Some svr4 source files are automatically generated from syscalls.master; these have been committed as consequential changes, otherwise everyone will have to "make svr4_sysent.c". Changes: sys/svr4/svr4.h include opt_global.h and opt_svr4.h sys/svr4/svr4_ioctl.c include svr4.h, sys/systm.h and sys/socketvar.h sys/svr4/svr4_ipc.c include svr4.h sys/svr4/svr4_resource.c include svr4.h sys/svr4/svr4_socket.c include svr4.h sys/svr4/svr4_ttold.c include svr4.h sys/svr4/syscalls.master include svr4.h sys/svr4/svr4_syscallnames.c dependent on syscalls.master sys/svr4/svr4_sysent.c dependent on syscalls.master sys/svr4/svr4_syscall.h dependent on syscalls.master sys/svr4/svr4_proto.h dependent on syscalls.master sys/modules/svr4/Makefile create opt_global.h and opt_svr4.h
* Removed special rules for building and cleaning device interface filesbde1999-11-281-5/+1
| | | | | and empty options files. The rules are now generated automatically in bsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
* Install {ibcs2,svr4}.sh in /usr/sbin and not in /usr/bin.obrien1999-09-051-1/+1
| | | | related to PR: 13545
* Add MAINTAINER linenewton1999-09-011-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Honor ${LDFLAGS} for building svr4_genassym. This is part of fixingbde1999-02-061-5/+3
| | | | | | | | | | | | | | | | | | | | | world breakage (mainly for cross-world cases). The world Makefile attempts to build tools static so that nonexistent or wrong shared libraries and interpreters don't get used. This is broken anyway since the world Makefile doesn't know about svr4_genassym. Force building svr4_genassym static. This is part of "fixing" aout-to-elf-build breakage. aout-to-elf-build abuses NOTOOLS to avoid rebuilding all the aout tools. This saves time and avoids some complications. However, it breaks all the internal tools -- they get linked to target libraries which might not work. Cases where the host can run the target's static libraries are "fixed" by encrufting all Makefiles that build internal tools to build the tools static. Don't add .depend to CLEANFILES -- it just breaks the separation of `make cleandepend' from `make clean'. Removed some superflous explicit dependencies.
* Emulator KLD for SysVR4 executables grabbed from NetBSD.newton1999-01-301-0/+51
See http://www.freebsd.org/~newton/freebsd-svr4 for limitations, capabilities, history and TO-DO list.
OpenPOWER on IntegriCloud