Commit Graph

364 Commits

Author SHA1 Message Date
Ruslan Ermilov
9f1207d517 Install sys/security/lomac/*.h to /usr/include/security/lomac/.
Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.

PR:		docs/29534

Install sys/netatm/*/*.h to /usr/include/netatm/*/.

Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>.  Three years is enough to be aware of
the change, and these weren't visible in the SHARED=symlinks
case.

Back out include/Makefile,v 1.160 that was a null change anyway
due to the bug in the path, and we now don't want to install
these headers because they would otherwise be invisible in the
SHARED=symlinks case.

Don't install IPFILTER headers.  Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.

Resurrect SHARED=symlinks in Makefile.inc1.

PR:		bin/28002

Prodded by:	bde
MFC after:	2 weeks
2002-03-26 16:05:14 +00:00
Ruslan Ermilov
7a43a96ab0 Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217
with the NO_IPFILTER make.conf(5) knob.

(So that we can "make the-rest-of-the-world" again.)
2002-03-21 09:15:39 +00:00
Doug Ambrisko
0d6fcb5c0e Fix bugs in the structure for rx_frame by making gap length one byte and
a packed array so sizeof work.  This broke RFMON mode and passing
up 802.11 packets.

The Linux emulation code was derived from the open source Linux driver to
maintain compatibility.

LEAP support is added, hints from Richard Johnson.  I've verified this
locally with PC350v42510.img firmware.  More bug fixing from Marco to
fix long passwords.

Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep
so it doesn't look like your system died during a flash update.

Install header files in /usr/include/dev/an

Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol.
This way you can manage 2 keys a little easier.  Map the home mode into
key 5.  Enhance ifconfig to dump the various configured SSIDs.  I use
a bunch of different ones and roam between them.  Use the syntax similar
to the WEP keys to deal with setting difference SSIDs.

Bump up up the Card capabilities RID since they added 2 bytes to it
in the latest firmware.  Thankfully we changed it from a terminal
failure so the card still worked but the driver whined.

Some cleanup patches from Marco Molteni.

Submitted by:	Richard Johnson <raj@cisco.com>
		Marco Molteni <molter@tin.it>
		and myself
Various checks: David Wolfskill <david@catwhisker.org>
Reviewed by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Approved by:	Brooks Davis <brooks@freebsd.org>
		Warner Losh <imp@freebsd.org>
Obtained from:	Linux emulation API's from Aironet driver.
2001-12-31 22:01:44 +00:00
Ruslan Ermilov
a7aaf57e4a FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from:	NetBSD
2001-12-17 13:59:35 +00:00
Brian Feldman
125c50cdeb Install devfs includes. 2001-12-17 13:38:58 +00:00
Sheldon Hearn
85519b003a Add bmake glue for src/contrib/smbfs and connect userland smbfs
support to the build.

The MFC reminder below is subject to <re@FreeBSD.org> approval
prior to 4.5-RELEASE.

Reviewed by:	bp, fjoe
MFC:	1 week
2001-12-14 11:41:22 +00:00
Alexey Zelkin
20ad349dbb Get rid of unsed since rev 1.109 of lib/Makefile WANT_CSRG_LIBM define.
We'll never install math.h wrapped by this define since msun's math.h
is using, so it should be removed from the source tree at some point
(after merge of useful stuff to msun's math.h which is installing now
to /usr/include)

Reviewed by:    bde
2001-12-11 16:38:33 +00:00
Brian Feldman
13d98e8c66 Introduce readpassphrase(3), a superset of getpass(3). This
comes originally from Todd Miller.

Obtained from:	OpenBSD
2001-11-20 15:15:42 +00:00
Brian Feldman
bd0489873c Install LOMAC includes from the new directory. 2001-11-20 14:37:07 +00:00
Brian Feldman
3d383bb3f6 Install LOMAC public headers.
Sponsored by:	DARPA, NAI Labs (CBOSS project)
2001-11-19 05:10:50 +00:00
Mike Barcroft
0ac2d551f2 o Add new header <sys/stdint.h>.
o Make <stdint.h> a symbolic link to <sys/stdint.h>.
o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99.
o Remove <sys/inttypes.h>.
o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h
  to reflect new location of integer types in <sys/stdint.h>.
o Remove previously symbolicly linked <inttypes.h>, instead create a
  new file.
o Add MD headers <machine/_inttypes.h> from NetBSD.
o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and
  include <machine/_inttypes.h> in <inttypes.h>, to fill in the
  remaining requirements for <inttypes.h>.
o Add additional integer types in <machine/ansi.h> and
  <machine/limits.h> which are included via <sys/stdint.h>.

Partially obtain from:	NetBSD
Tested on:		alpha, i386
Discussed on:		freebsd-standards@bostonradio.org
Reviewed by:		bde, fenner, obrien, wollman
2001-11-02 18:05:43 +00:00
David E. O'Brien
6d14a7bf04 Back out WIP that snuck in with revs 1.15[23]. 2001-10-01 21:09:21 +00:00
David E. O'Brien
757eeda04b *** empty log message *** 2001-10-01 08:43:58 +00:00
Peter Wemm
9119623471 Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
Ruslan Ermilov
8203d6510c Sort FILES. 2001-09-06 07:27:03 +00:00
Alexey Zelkin
cc30da9d14 add monetary.h as per POSIX requirement 2001-09-05 18:50:56 +00:00
Peter Wemm
766ea92b74 Revise wording of osreldate.h vs kernel warning to make it clear that it
is a userland-only header.
2001-06-17 01:20:25 +00:00
Ruslan Ermilov
d28011e556 Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostly
to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes
for cabs() and cabsl() in <math.h>.

Reimplemented cabs() and cabsl() using new complex numbers types and
moved prototypes from <math.h> to <complex.h>.
2001-06-13 15:16:30 +00:00
Jonathan Lemon
86663b4425 Fix previous commit which inadverdently deleted a section. 2001-06-07 05:04:53 +00:00
Jonathan Lemon
88d74af548 Relocate IPFilter from sys/netinet to sys/contrib/ipfilter. 2001-06-07 04:06:21 +00:00
Joerg Wunsch
4dd07260ca Round #2 of the sys/isa/ic/ => sys/dev/ic/ move: install sys/dev/ic
as /usr/include/dev/ic.
2001-06-04 21:15:05 +00:00
Poul-Henning Kamp
c3154730b9 Remove MFS. 2001-05-29 20:26:51 +00:00
Ruslan Ermilov
8a8402d3a5 - sys/n[tw]fs moved to sys/fs/n[tw]fs
- /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
2001-05-26 11:57:45 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Ruslan Ermilov
c260831833 Backout (almost) revision 1.137 changes.
Removal of LSYMSUBDIRS was a regression.

The purpose of LSYMSUBDIRS is to export only those /sys headers in the
SHARED=symlinks case that are also visible in the SHARED=copies case.

Requested by:	bde
2001-05-23 16:49:02 +00:00
Ruslan Ermilov
6949472556 Argh, unbreak SHARED=copied case. 2001-05-23 15:28:53 +00:00
Ruslan Ermilov
99d300a1ec - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.
2001-05-23 09:42:29 +00:00
Ruslan Ermilov
7ec00975de Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS. 2001-05-21 12:37:04 +00:00
Brian Somers
4be854757b Back out previous commit. digiio.h has moved to /usr/include/sys 2001-05-19 09:29:12 +00:00
Brian Somers
cf7134be6c Install /sys/dev/digi/digiio.h as /usr/include/dev/digi/digiio.h
I use the (new) DEVFILES variable rather than LSUBDIRS because
only the public interface (digiio.h) should be installed.
2001-05-17 01:42:34 +00:00
Ruslan Ermilov
c424b7d0c6 Install wchar.h and wctype.h.
Forgotten by:	tshiozak
2001-05-16 11:38:18 +00:00
David E. O'Brien
385789f562 Add elf.h header back, its existance is an SVR4-ELF tradition.
Our ELF hints bits are still a seperate file.

Requested by:	jdp
2001-05-06 16:39:57 +00:00
David E. O'Brien
5e6220d9d0 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
Boris Popov
6c9f45bdde Actually install include/fs/smbfs and include/netsmb directories. 2001-04-11 09:00:09 +00:00
Alfred Perlstein
8360efbd6c Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 12:50:13 +00:00
Peter Wemm
44cde775ae Be extra certain that "#include <osreldate.h>" must not be used in
kernel code.
2001-02-18 20:44:06 +00:00
Alexey Zelkin
2eeaef6eea add langinfo.h 2001-02-08 17:14:28 +00:00
Peter Wemm
0b06558520 Move MD <machine/if_wavelan_ieee.h> to MI <dev/wi/if_wavelan_ieee.h> 2001-01-09 00:50:45 +00:00
Sheldon Hearn
3e27dc3164 Remove struct.h, which has been punted into the Attic. 2001-01-03 12:35:39 +00:00
Brian Somers
ebe53e9e4e Add netnatm to LDIRS
Submitted by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-10-16 07:00:18 +00:00
Jeroen Ruigrok van der Werven
8cf0402e5d Welcome stdbool.h. A header file from the ANSI C99 specification.
It defines the boolean values.
2000-09-16 07:28:44 +00:00
Andrey A. Chernov
40a9e71856 Use MTREE_FOLLOWS_SYMLINKS option
This is part of whole subsystem fixing

Reviewed by:	imp
2000-09-15 08:08:04 +00:00
Ruslan Ermilov
3e8d5c239e There is no reason to clobber ${DESTDIR}/usr/include/{isofs,ufs,dev}
in SHARED=copies case since all symbolic links previously created by
SHARED=symlinks install have already been removed to that point.

PR:		misc/21150
2000-09-14 12:12:23 +00:00
Peter Wemm
9bb715b7fd I have not tested this to completion yet, but this appears to fix world.
Add nsswitch.h to the list of includes installed.
2000-09-07 00:10:02 +00:00
Jacques Vidrine
248aee623c Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from:	NetBSD
2000-09-06 18:16:48 +00:00
Dag-Erling Smørgrav
1250db8139 Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.
The man pages need some adjustments.

PR:		12960, 12962
Submitted by:	James Howard <howardjp@wam.umd.edu>
Obtained from:	OpenBSD
2000-08-31 15:56:15 +00:00
John Baldwin
0e8911b395 Revert gratuitous whitespace changes from revisions 1.111 and 1.112. 2000-08-17 07:51:48 +00:00
Marcel Moolenaar
11017a687b Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
2000-07-23 16:33:00 +00:00
Andrey A. Chernov
043ada1051 Add -L to mtree 2000-07-16 08:19:49 +00:00
Jun-ichiro itojun Hagino
23ba01423e add getifaddrs(3) from bsdi. this is a magic function which lets you grab
interface addresses in a portable manner, without headache of SIOCGIFCONF
or sysctl.  it is in bsdi/openbsd/netbsd already.
from kame tree (actually, mandatory for latest kame tree).
2000-07-05 02:13:17 +00:00
Alfred Perlstein
64566a3e2a bring in binary search tree code.
Obtained from: NetBSD
2000-07-01 06:55:11 +00:00
Peter Wemm
f612e24f9e Install /usr/include/dev/ppbus as well as dev/usb 2000-05-19 22:08:18 +00:00
Jonathan Lemon
83a15ece20 Revert previous commit, and remove the <event.h> symlink. As this is
a system-specific extension, not a standardized interface, it should
be located with the sys/ includes.

Requested by:	wollman
2000-04-18 17:00:22 +00:00
Jonathan Lemon
6fad667de2 Create <event.h> -> <sys/event.h> link that I forgot earlier.
Reminded by:	ache
2000-04-16 22:31:49 +00:00
Ruslan Ermilov
3021afb53e The idea always was that `make copies' should undo the
`make symlinks' job, but it got broken in rev 1.109.

Restore the correct behaviour.
2000-04-06 07:33:29 +00:00
Peter Wemm
4ba5197729 Sigh. Really fix it this time. It seems the first time through the
run it would modify the source tree, causing it to fail the second
time around. Sigh.
2000-01-26 17:38:51 +00:00
Peter Wemm
400dc95012 Fix world breakage (kdump, truss) causes by rev 1.107 (adding dev/usb).
It was creating ${.OBJDIR}/${MACHINE}/usr/include/dev -> .../sys/dev
and mkioctls would descend that and saw *all* of src/sys/dev/*/*.h,
not just dev/usb/*.h.  It then choked on the dpt includes.
2000-01-26 17:12:09 +00:00
Nick Hibma
fcc56d9930 Install the USB include files in /usr/include/dev/usb.
We should still sort out some way of avoiding the clutter. Not all files
should be there.

Prompted by:   Louis A. Mamakos <louie@TransSys.COM>
2000-01-25 09:24:23 +00:00
Marcel Moolenaar
15f3c66cd2 Revert previous commit.
Requested by: bde
1999-12-09 09:35:36 +00:00
Marcel Moolenaar
02cca88299 Remove support for symlinks instead of copies. This also avoids
using mtree. Space is being saved by other means.
1999-12-08 13:47:30 +00:00
Peter Wemm
5af7944d91 Create a symlink for <machine/joystick.h>, like soundcard.h 1999-12-05 21:34:09 +00:00
Semen Ustimenko
5bf4211543 Added ntfs subdir to be filled. 1999-12-03 20:22:45 +00:00
Jonathan Lemon
fd9ec25aaa Add missing netinet6.
Detected by:	make world
1999-11-05 18:49:00 +00:00
Julian Elischer
4cf49a4355 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
Boris Popov
f24bb3a4b3 Make libncp actually compiled.
Reviewed by:	mdodd
1999-10-14 06:40:46 +00:00
Peter Wemm
56638eb686 Complete move of kvm.h to lib/libkvm so it's self contained. 1999-10-04 14:59:37 +00:00
Marcel Moolenaar
e1a1647870 Link ucontext.h to sys/ucontext.h
Pointed out by: bde
1999-10-03 15:12:26 +00:00
Peter Wemm
c08e808e2a Only install backwards compat symlink for <machine/soundcard.h> if using
the default SHARED=copies, otherwise the kernel source tree gets modified
if /usr/include/machine is a symlink to the source tree (which is not the
case by default).  Nothing in our src tree uses <machine/soundcard.h>.

Pointed out by:	bde
1999-09-05 07:58:28 +00:00
Peter Wemm
df791b1e94 Install a symlink for <machine/soundcard.h> -> <sys/soundcard.h> rather
than having stubs.  (OK'ed by dfr)
1999-09-04 15:44:44 +00:00
Peter Wemm
a4add9a9b1 $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
Poul-Henning Kamp
7f29144bc9 Nuke old copies of /usr/include/timepps.h 1999-03-22 12:58:15 +00:00
Poul-Henning Kamp
8b2de66177 Remove <timepps.h> here as well.
You will need to manually rip it from /usr/include if it gives you any
trouble.
1999-03-11 15:12:28 +00:00
Dmitrij Tejblum
f7393eced7 Install <sys/aio.h> as <aio.h>. 1999-01-17 22:35:09 +00:00
John Polstra
1c3cb5788b Instead of a wrapper <linker_set.h>, use a symlink to
<sys/linker_set.h>.

Submitted by:	bde
1999-01-14 19:52:38 +00:00
John Polstra
a528ae5332 Add a wrapper <linker_set.h> for <sys/linker_set.h>, so that
userland programs can use linker sets.
1999-01-14 05:53:54 +00:00
Doug Rabson
b7f762137a Implement fpsetmask() and other fp*() functions. Programs should use
#include <ieeefp.h>

to access these functions instead of the i386 specific

	#include <machine/floatingpoint.h>

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-12-23 11:50:52 +00:00
Dmitrij Tejblum
68626e8df3 Install <sys/inttypes.h> as <inttypes.h>. 1998-12-19 00:21:13 +00:00
Bruce Evans
996997fdef Don't even think about using a sysctl to build osreldate.h, since this
breaks cross-builds.  Just depend on ${.CURDIR}/../sys/conf/newvers.sh
existing.

Don't override the (correct) defaults for the depend, lint or tags target.

In LDIRS: fixed order-rot.  Don't comment out dead networking directories;
remove them.
1998-10-17 15:52:48 +00:00
Andrey A. Chernov
d0de224af2 back out h2ph from here, Bruce found another proper place 1998-10-02 13:00:58 +00:00
Andrey A. Chernov
3514e2d635 Add h2ph call to afterinstall target
Error code ignored to allow building without perl installed
1998-10-02 00:49:43 +00:00
Poul-Henning Kamp
3f8c45065e (this is an extract from src/share/examples/atm/README)
===================================
                HARP  |  Host ATM Research Platform
                ===================================

                              HARP 3

What is this stuff?
-------------------
The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center,
Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed
the Host ATM Research Platform (HARP) software, which allows IP hosts to
communicate over ATM networks using standard protocols.  It is intended to
be a high-quality platform for IP/ATM research.

HARP provides a way for IP hosts to connect to ATM networks.  It supports
standard methods of communication using IP over ATM.  A host's standard IP
software sends and receives datagrams via a HARP ATM interface.  HARP provides
functionality similar to (and typically replaces) vendor-provided ATM device
driver software.

HARP includes full source code, making it possible for researchers to
experiment with different approaches to running IP over ATM.  HARP is
self-contained; it requires no other licenses or commercial software packages.

HARP implements support for the IETF Classical IP model for using IP over ATM
networks, including:

   o IETF ATMARP address resolution client
   o IETF ATMARP address resolution server
   o IETF SCSP/ATMARP server
   o UNI 3.1 and 3.0 signalling protocols
   o Fore Systems's SPANS signalling protocol

What's supported
----------------
The following are supported by HARP 3:

   o ATM Host Interfaces
        - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters
        - FORE Systems, Inc. PCA-200E ATM PCI Adapters
        - Efficient Networks, Inc. ENI-155p ATM PCI Adapters

   o ATM Signalling Protocols
        - The ATM Forum UNI 3.1 signalling protocol
        - The ATM Forum UNI 3.0 signalling protocol
        - The ATM Forum ILMI address registration
        - FORE Systems's proprietary SPANS signalling protocol
        - Permanent Virtual Channels (PVCs)

   o IETF "Classical IP and ARP over ATM" model
        - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5"
        - RFC 1577, "Classical IP and ARP over ATM"
        - RFC 1626, "Default IP MTU for use over ATM AAL5"
        - RFC 1755, "ATM Signaling Support for IP over ATM"
        - RFC 2225, "Classical IP and ARP over ATM"
        - RFC 2334, "Server Cache Synchronization Protocol (SCSP)"
        - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt,
                "A Distributed ATMARP Service Using SCSP"

   o ATM Sockets interface
        - The file atm-sockets.txt contains further information

What's not supported
--------------------
The following major features of the above list are not currently supported:

        o UNI point-to-multipoint support
        o Driver support for Traffic Control/Quality of Service
        o SPANS multicast and MPP support
        o SPANS signalling using Efficient adapters

This software was developed under the sponsorship of the Defense Advanced
Research Projects Agency (DARPA).

Reviewed (lightly) by:	phk
Submitted by:	Network Computing Services, Inc.
1998-09-15 11:44:44 +00:00
Justin T. Gibbs
78e7747291 Add new cam include hierarchy. 1998-09-15 10:22:37 +00:00
KATO Takenori
c2c43bd135 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:13:55 +00:00
John Polstra
cfa4d73988 Add a new library function getobjformat(). It checks all the
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format.  This
consolidates some code that was starting to be duplicated in more
and more places.

Use the new function in ldconfig.

Note: I don't think that gcc should use getobjformat(), even though
it could.  The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.
1998-09-09 01:21:25 +00:00
Alexander Langer
0c20d79391 Added iso646.h as defined by the Single UNIX Specification, version 2. 1998-08-01 13:42:12 +00:00
Peter Wemm
a28ce30ec5 Install arpa/nameser_compat.h 1998-06-11 08:56:40 +00:00
Poul-Henning Kamp
8afeddf0a8 This is a prototype implementation of the draft-mogul-pps-api-##.txt
paper.

It will be updated along with the draft and possible subsequent
standard.

The ppbus based pps driver is updated to implement this API.
1998-06-07 19:44:22 +00:00
Eivind Eklund
3933c622cd Move __FreeBSD_version from src/sys/conf/newvers.sh to
src/sys/sys/param.h, to facilitate access from the kernel.  This make
it possible to do outside kernel development and have it actually work
properly.
1998-05-21 19:21:46 +00:00
Peter Dufault
8a6472b723 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
John Birrell
d60d35ddf1 My sched.h is getting walloped by Peter Dufault's. Nuke mine. Sorry. 1998-03-08 21:36:41 +00:00
John Birrell
dc79e6f23b Add a POSIX sched header. pthread_yield() in draft 4 becomes
sched_yield() in the final draft (10). This header contains the
prototype. Other things in here are "future".
1998-03-08 02:17:26 +00:00
Peter Dufault
917e476dad Reviewed by: msmith, bde long ago
POSIX.4 headers and sysctl variables.  Nothing should change
unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
1998-03-04 10:27:00 +00:00
Bruce Evans
59bd6ec5a0 Uncommit the generated file key_prot.h. Install it from where it
is generated.  It must be installed in both /usr/include/rpc/ and
/usr/include/rpcsvc/ for historical reasons.  The generated version
was once missing ANSI prototypes because the wrong flags were passed
to rpcgen, but that is fixed now.  The committed version had `#pragma
indent' which gratuitously broke K&R support.  Apart from this, all
versions before and after this commit are identical.
1998-02-13 03:10:28 +00:00
John Polstra
0fbd9e9828 Remove the include of <dlfcn.h> from crt0.c; it is not needed now
that the dl* trampolines have been moved into libc.

Move dlfcn.h from src/lib/csu/i386 into src/include.  Nothing in
src/lib/csu/i386 uses it any more.
1998-02-11 04:57:25 +00:00
Warner Losh
7e291b9c9c kill ufs/lfs so that make installworld completes successfully. 1998-01-31 05:54:54 +00:00
Jordan K. Hubbard
8510110314 unborkify osreldate.h install (change \ to / - someone was in DOS mode! ;) 1998-01-02 09:39:12 +00:00
Steve Price
953757afd3 Install osreldate.h from ${.OBJDIR}.
Submitted by:	Bruce Evans <bde@zeta.org.au>
1998-01-01 23:17:05 +00:00
Mark Murray
bd00bedcd6 Reinsert telnet.h into the list of files installed into include/arpa/
I suspect a commit of mine had this (bogusly).
1997-10-03 18:10:35 +00:00
Mark Murray
2ca29c4475 Changes for KTH KerberosIV.
telent.h is installed from libtelnet, not the include dir.
1997-09-28 09:12:04 +00:00
Bruce Evans
3b6f5a5bdd Removed installhdrs target. It was an unnecessary complication. 1997-09-16 10:52:59 +00:00
Peter Wemm
c4ea5f72e6 SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes
sys/poll.h).  Just provide a link, it's close enough. :-)  In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
1997-09-14 03:32:44 +00:00
Bruce Evans
cfca13bf11 Don't traverse subdirectories twice for normal installs. 1997-08-21 18:40:04 +00:00
John-Mark Gurney
4604167e0a fix a problem with headers not being installed properly... basicly the
installhdrs target was not being propagated to the subdirs...

also fix rpcsvc's Makefile to have a installhdrs target to install the
headers..
1997-08-21 09:29:49 +00:00
Peter Wemm
ef75e7acaa split beforeinstall hook up so that the header install stuff is reachable
without risking invoking ${SHARED}.
1997-08-18 06:28:47 +00:00
Satoshi Asami
3b29be9bb9 Use relative symlinks so they work even when ${DESTDIR} is not empty.
Reviewed by:	jkh, bde
1997-07-31 11:32:25 +00:00
Mike Smith
cf44448e71 Add stringlist functions from NetBSD. (required for the new ftp(1)
Obtained from:	NetBSD
1997-06-25 08:04:52 +00:00
Jordan K. Hubbard
b97151f21b Go to SHARED=copies by default.
Agreed-upon by:	lots-o-folks.
1997-06-05 21:20:58 +00:00
Bill Paul
1ec6937fdc Add new files in include/rpc. 1997-05-28 04:46:38 +00:00
John Polstra
5851a3655a Fill out the ELF header files to make them more or less complete.
Fix a macro name that was misspelled both in brandelf.c and
imgact_elf.h.
1997-05-21 23:07:31 +00:00
Peter Wemm
3672faea8d Build osreldate.h at build time rather than install time. This fixes
a breakage with 'make reinstall' on a read-only source tree.
1997-05-12 09:50:19 +00:00
David Nugent
26b2d5c033 Removed login_cap.h, now moved to src/lib/libutil. 1997-05-10 12:50:03 +00:00
Satoshi Asami
d206682bfd Don't try to install f2c'h now that it's installed from
/usr/src/usr.bin/f2c. :)
1997-04-25 09:58:24 +00:00
Bruce Evans
5f9b5b67b8 Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.
1997-03-09 07:12:37 +00:00
Bruce Evans
4eaa194dcd Install headers for isofs/cd9660 and msdosfs. The mount utilities need
them now that <sys/mount.h> no longer declares filesytem-specific mount
args structs.

Renamed some macros to be less ufs-centric.

Fixed order of mkdirs.  The order has been broken since the backwards
`.for' loop bug was fixed in `make' on 1996/09/21.
1997-03-02 14:06:24 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Søren Schmidt
66f27e5c7d Add the forgotten login_cap.h 1997-01-04 20:40:34 +00:00
Jordan K. Hubbard
89eac9644c Geeze, I'm really off-target on my Makefile hacking tonite. Guess I'll
go to bed. :-)  Revert this change which would have broken the ${DESTDIR}
relative link when chrooted.

Pointed-Out-To-My-Embarassment-By: bde
1996-12-30 07:38:51 +00:00
Jordan K. Hubbard
cb9de2a646 Add some missing ${DESTDIR}s here. 1996-12-30 04:52:54 +00:00
Jordan K. Hubbard
cf3c4df72d Add back netns 1996-10-17 18:44:56 +00:00
Bruce Evans
976cca3578 Fixed CLEANFILES. osreldate was missing.
Cleaned up LDIRS line.
1996-09-20 13:42:26 +00:00
Adam David
a2480c3cfd install rpc header files 1996-09-01 17:54:25 +00:00
Peter Wemm
1133312c37 echo -> ${ECHO}
do the rm -rf and ln -s in two seperate commands to allow a fork/exec
without a "sh -c" in the middle.

Submitted by: bde
1996-08-30 19:37:14 +00:00
Peter Wemm
56de53f256 Clean up include Makefile:
- use .for loops instead of shell for loops. This means we can be
   shown what is happening while it's going, rather than some pacifier
   "echo" statement.
 - use "${INSTALL} -C", nuke the "cmp -s" hack
 - for "copies" mode,  the include files are no longer touched each time
   the world is built. (ie: no rm -rf.  symlinks are removed, mtree builds
   the new dirs or confirms the existing ones)
 - osreldate.h is build in the local dir and conditionally installed,
   rather than built in /usr/include and either renamed or deleted.
1996-08-29 19:57:48 +00:00
Julian Elischer
0f7d684755 Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).

I've created a new header (pthread_np.h) for the non-POSIX stuff.

The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.

also:

Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.

also:

I should have sent this diff with the pthread(3) man page.
It allows people to type

make -DWANT_LIBC_R world

to get libc_r built with the rest of the world. I put this in the
pthread(3) man page.  The default is still not to build libc_r.


also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
1996-08-20 08:22:01 +00:00
Wolfram Schneider
7b2dfbf801 Create FreeBSD copyright (c comment) for OS version 1996-08-04 22:34:23 +00:00
Andrey A. Chernov
149fed7719 Add netatalk symlink, ifconfig not compiled in other case 1996-07-09 15:48:20 +00:00
Garrett Wollman
c72c7259e5 Add `netkey' to list of kernel directories to include in /usr/include. 1996-06-15 18:05:36 +00:00
Poul-Henning Kamp
c9c3e92c95 Install pccard includes. 1996-06-04 21:30:35 +00:00
Garrett Wollman
2f8ed7833f Don't install netns, it doesn't exist any more. 1996-02-14 15:17:53 +00:00
Garrett Wollman
d24ceb93d8 Don't install netccitt and netiso, they are going away. 1996-02-06 20:42:46 +00:00
Mike Pritchard
c2dc2eab50 Add a missing "chmod 755 /usr/include/ufs" when copies of the include
files are installed instead of symlinks.
1996-01-23 15:56:43 +00:00
Julian Elischer
f70177e76e Reviewed by: julian and (hsu?)
Submitted by:	 John Birrel(L?)

changes for threadsafe operations
1996-01-22 00:02:33 +00:00
Mark Murray
985200a17e Removed reference to missing mp.h in comment. We have GNU MP now. 1995-11-12 19:29:08 +00:00
Julian Elischer
2ef81f4909 Submitted by: john hay
add a link in /usr/include to /sys/netipx
1995-10-27 06:51:02 +00:00
Bruce Evans
48cfb668fc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
Garrett Wollman
cffeb06206 Don't install bogus tzfile.h. In fact, don't install any tzfile.h. 1995-08-05 20:24:32 +00:00
Rodney W. Grimes
38d29ffcd6 Remove NOOBJ, we now need it.
Remove JUST_TELL_ME hack, let the newvers.sh output fall into the
obj dir, and add CLEANFILES= to clean up after it.
1995-07-13 10:04:11 +00:00
Rodney W. Grimes
5e92b09f4f Add a sprinkling of ${.CURDIR} to some paths so that this works
in the presence of an obj dir (though NOOBJ is set now, that shall
change in the near future.)
1995-07-13 09:57:34 +00:00
Jordan K. Hubbard
03060874ed Add a necessary include file for the catgets* routines.
Obtained from: NetBSD
1995-03-30 12:47:56 +00:00
Jordan K. Hubbard
7f5473b3cc add strhash.h for libc's new string hashing function. 1995-03-26 10:12:53 +00:00
Poul-Henning Kamp
d7e1495a33 A little fix related to libm/msun migration.
Reviewed by:	phk
Submitted by:	rgrimes
1995-03-22 07:29:58 +00:00
Poul-Henning Kamp
afb8c020f0 Create osreldate.h from sys/conf/newvers.sh if we an find it. This
should take a completely ridiculous reboot out of the "make release"
process...
1995-03-19 07:25:17 +00:00
Rodney W. Grimes
07cf92fa27 Temporarily add mkdir/chown of /usr/include/${LUDIR} so that things
are consistent with the mtree file.  These and all other mkdir/chown/
chmod calls shall be removed in a future version of this file.
1995-03-18 07:03:51 +00:00
Andrey A. Chernov
89247e2d78 Add malloc.h for better SYSV/Linux compatibility like most
providers (like SUN f.e.) does.
malloc.h have comment about its SYSVism
1994-11-15 13:42:20 +00:00
Paul Traina
49ccad71de Clean up install rules 1994-11-01 09:19:50 +00:00
Andreas Schulz
bef25be89c Delete the clean and cleandir target and let the bsd.prog.mk do the
work. Error was with the private clean/cleandir pair, the obj under
include/rpcsvc doesn't get cleaned out.
1994-10-31 00:42:20 +00:00
L Jonas Olsson
a5a29f816e Install f2c.h for FORTRAN support.
Obtained from: netlib.att.com
1994-10-26 18:35:40 +00:00
Bruce Evans
508bd973c1 Don't install symlink frame.h -> machine/frame.h. <frame.h> is nonstandard
and unused.
1994-10-03 04:15:54 +00:00
Paul Traina
620377c466 Only reinstall osreldate.h if necessary 1994-09-29 21:29:22 +00:00
Paul Traina
26d43d5130 skey.h has moved elsewhere 1994-09-29 21:17:49 +00:00
Bruce Evans
458c5c89e7 Install osreldate.h with the correct owner, group and mode. It is still
created at install time and not compared with the current version, so
it can't be installed using install and the timestamp of the target gets
clobbered.
1994-09-15 20:07:18 +00:00
Bruce Evans
218cd6b6e1 Don't install math.h if WANT_MSUN is defined. lib/msun has its own
math.h with many extensions.
1994-09-08 10:36:30 +00:00
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Paul Richards
d90963f5e4 Added skey.h to Makefile and reformatted the list a bit.
Reviewed by:
Submitted by:
1994-08-20 12:00:06 +00:00
Garrett Wollman
9ae159169a Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
Garrett Wollman
437c3dee7c Make sure that rpcsvc headers actually get installed. 1994-08-07 22:29:20 +00:00
Garrett Wollman
02474d6701 histedit.h is now installed from here, not from libedit. 1994-08-04 20:49:28 +00:00
Garrett Wollman
dba7a33ecc Install RPC headers from include, like they always should have been. 1994-08-04 20:39:34 +00:00
Garrett Wollman
a68c32c7b3 Added glueo build rpcsvc stuff, and install floatingpoint.h. 1994-08-04 19:04:38 +00:00
Rodney W. Grimes
ee9183faff Add link.h to list of headers to install. 1994-05-28 09:37:33 +00:00
Rodney W. Grimes
3a7b365fa1 Make comments about what is missing the same as in other makefiles.
Remove the commented out stuff about X11 as the system sources should
not be doing anything with X11.
1994-05-28 06:17:33 +00:00
Rodney W. Grimes
fb502a37dc Update the Makefile to work correctly when copying and/or symlinking
/usr/include.

Make comment about mp.h missing and remove it from the list of files.
Fix installation of ufs include files as this is now a tree ufs/{ffs,lfs,
mfs,ufs}.

Make setting of SHARED optional by makeing it SHARED?=.

Comment out installation of X11 includes since it does not work
for XFree86 until we get XFree86 to install as /usr/X11.

Update _PATH_UNIX to be /kernel.  Remove /usr/{contrib,old}/bin from
_PATH_STDPATH.
1994-05-26 13:48:52 +00:00
Rodney W. Grimes
59deaec541 BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00