head	1.15;
access;
symbols
	RELENG_6_4_0_RELEASE:1.13.2.1.8.1
	RELENG_6_4:1.13.2.1.0.8
	RELENG_6_4_BP:1.13.2.1
	RELENG_6_3_0_RELEASE:1.13.2.1
	RELENG_6_3:1.13.2.1.0.6
	RELENG_6_3_BP:1.13.2.1
	RELENG_6_2_0_RELEASE:1.13.2.1
	RELENG_6_2:1.13.2.1.0.4
	RELENG_6_2_BP:1.13.2.1
	RELENG_5_5_0_RELEASE:1.12
	RELENG_5_5:1.12.0.8
	RELENG_5_5_BP:1.12
	RELENG_6_1_0_RELEASE:1.13.2.1
	RELENG_6_1:1.13.2.1.0.2
	RELENG_6_1_BP:1.13.2.1
	RELENG_6_0_0_RELEASE:1.13
	RELENG_6_0:1.13.0.4
	RELENG_6_0_BP:1.13
	RELENG_6:1.13.0.2
	RELENG_6_BP:1.13
	RELENG_5_4_0_RELEASE:1.12
	RELENG_5_4:1.12.0.6
	RELENG_5_4_BP:1.12
	RELENG_4_11_0_RELEASE:1.1.2.3
	RELENG_4_11:1.1.2.3.0.10
	RELENG_4_11_BP:1.1.2.3
	RELENG_5_3_0_RELEASE:1.12
	RELENG_5_3:1.12.0.4
	RELENG_5_3_BP:1.12
	RELENG_5:1.12.0.2
	RELENG_5_BP:1.12
	RELENG_4_10_0_RELEASE:1.1.2.3
	RELENG_4_10:1.1.2.3.0.8
	RELENG_4_10_BP:1.1.2.3
	RELENG_5_2_1_RELEASE:1.11
	RELENG_5_2_0_RELEASE:1.11
	RELENG_5_2:1.11.0.4
	RELENG_5_2_BP:1.11
	RELENG_4_9_0_RELEASE:1.1.2.3
	RELENG_4_9:1.1.2.3.0.6
	RELENG_4_9_BP:1.1.2.3
	RELENG_5_1_0_RELEASE:1.11
	RELENG_5_1:1.11.0.2
	RELENG_5_1_BP:1.11
	RELENG_4_8_0_RELEASE:1.1.2.3
	RELENG_4_8:1.1.2.3.0.4
	RELENG_4_8_BP:1.1.2.3
	RELENG_5_0_0_RELEASE:1.10
	RELENG_5_0:1.10.0.2
	RELENG_5_0_BP:1.10
	RELENG_4_7_0_RELEASE:1.1.2.3
	RELENG_4_7:1.1.2.3.0.2
	RELENG_4_7_BP:1.1.2.3
	RELENG_4_6_2_RELEASE:1.1.2.1
	RELENG_4_6_1_RELEASE:1.1.2.1
	RELENG_4_6_0_RELEASE:1.1.2.1
	RELENG_4_6:1.1.2.1.0.6
	RELENG_4_6_BP:1.1.2.1
	RELENG_4_5_0_RELEASE:1.1.2.1
	RELENG_4_5:1.1.2.1.0.4
	RELENG_4_5_BP:1.1.2.1
	RELENG_4_4_0_RELEASE:1.1.2.1
	RELENG_4_4:1.1.2.1.0.2
	RELENG_4_4_BP:1.1.2.1
	KSE_MILESTONE_2:1.8
	KSE_PRE_MILESTONE_2:1.8
	RELENG_4_3_0_RELEASE:1.1
	RELENG_4_3:1.1.0.4
	RELENG_4_3_BP:1.1
	RELENG_4_2_0_RELEASE:1.1
	RELENG_4_1_1_RELEASE:1.1
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.1
	RELENG_4_0_0_RELEASE:1.1
	RELENG_4:1.1.0.2
	RELENG_4_BP:1.1;
locks; strict;
comment	@# @;


1.15
date	2006.07.27.19.10.57;	author marcel;	state dead;
branches;
next	1.14;

1.14
date	2005.10.14.23.30.14;	author yar;	state Exp;
branches;
next	1.13;

1.13
date	2005.06.03.12.37.56;	author gallatin;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2004.02.13.10.11.00;	author ru;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2003.02.25.00.42.40;	author marcel;	state Exp;
branches;
next	1.10;

1.10
date	2002.08.18.05.45.10;	author mike;	state Exp;
branches;
next	1.9;

1.9
date	2002.01.17.02.16.35;	author mjacob;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.04.10.52.24;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.04.08.23.12;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	2000.12.08.22.10.57;	author msmith;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.27.07.27.44;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.08.16.56.04;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	2000.05.27.01.14.08;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.04.12.08.07;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	99.12.14.22.35.35;	author gallatin;	state Exp;
branches
	1.1.2.1;
next	;

1.13.2.1
date	2006.02.10.00.38.05;	author yar;	state Exp;
branches
	1.13.2.1.8.1;
next	1.13.2.2;

1.13.2.2
date	2012.11.17.07.44.24;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1.8.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1
date	2006.07.09.19.49.26;	author markm;	state Exp;
branches;
next	;

1.1.2.1
date	2001.04.25.11.24.15;	author ru;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.07.18.13.31.28;	author ru;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2002.08.07.16.32.00;	author ru;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2012.11.17.07.26.33;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Remove Alpha remnants.
@
text
@# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.14 2005/10/14 23:30:14 yar Exp $

.PATH: ${.CURDIR}/../../alpha/osf1

KMOD=	osf1
SRCS=	osf1_ioctl.c osf1_misc.c osf1_signal.c osf1_sysent.c \
	osf1_mount.c imgact_osf1.c osf1_sysvec.c opt_compat.h \
	opt_ddb.h opt_mac.h opt_nfs.h device_if.h bus_if.h \
	vnode_if.h

.if !defined(KERNBUILDDIR)
opt_compat.h:
	echo "#define COMPAT_43 1" > ${.TARGET}
.endif

.include <bsd.kmod.mk>
@


1.14
log
@Let modules use the kernel's opt_*.h files if built along with
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
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.13
log
@Remove myself as maintainer of the OSF/1 compat code.  I haven't had
an alpha booting -current since my xp1000 died over a year ago, and I
don't think I touched the osf1 code since long before then.
@
text
@d11 1
d14 1
@


1.13.2.1
log
@MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by:	re (kensmith, scottl)
Requested by:	ru
Tested on:	amd64 i386 sparc64
Tested by:	md5
@
text
@a10 1
.if !defined(KERNBUILDDIR)
a12 1
.endif
@


1.13.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/osf1/Makefile 155500 2006-02-10 00:38:08Z yar $
@


1.13.2.1.8.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.12
log
@Removed -g from CFLAGS.  There is a better way to build debugging
versions of the modules, and unconditionally putting -g in CFLAGS
has negative impact on the size of the resulting .ko object, even
now that debugging symbols are always stripped.
@
text
@a2 2
MAINTAINER=	gallatin@@FreeBSD.org

@


1.12.2.1
log
@MFC: keep the maintainers consistent with HEAD.
@
text
@d3 2
@


1.11
log
@Remove support for running in SimOS. The support has rotted over
time and there's no indication that it will improve anytime soon.
By removing support for SimOS it is possible to build LINT on
Alpha, which is considered more important at the moment.

Not objected to on: alpha@@
@
text
@a12 2
#CFLAGS+=  -g

@


1.10
log
@Catch up to rev 1.8 of sys/alpha/osf1/osf1_mount.c.
@
text
@d10 2
a11 2
	opt_simos.h opt_ddb.h opt_mac.h opt_nfs.h device_if.h \
	bus_if.h vnode_if.h
@


1.9
log
@Allow alpha kernels to compile again- make sure opt_ddb.h is included
and the reference to db_regs is *extern* from alpha/include/db_machdep.h
(put it in alpha/alpha/machdep.c)- this avoids the problems we've had
about different 'common' sizes prohibiting the kernel from linking.
@
text
@d10 2
a11 1
	opt_simos.h opt_ddb.h opt_nfs.h device_if.h bus_if.h vnode_if.h
@


1.8
log
@Zap obsolete (died with LKM) EXPORT_SYMS variable
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.7 2001/02/04 08:23:12 peter Exp $
d10 1
a10 1
	opt_simos.h opt_nfs.h device_if.h bus_if.h vnode_if.h
@


1.7
log
@Zap some bad examples:
opt_foo.h:
	touch opt_foo.h
.. is unnecessary - kmod.mk does this for us.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.6 2000/12/08 22:10:57 msmith Exp $
a12 1
EXPORT_SYMS=	_osf1
@


1.6
log
@Next phase in the PCI subsystem cleanup.

 - Move PCI core code to dev/pci.
 - Split bridge code out into separate modules.
 - Remove the descriptive strings from the bridge drivers.  If you
   want to know what a device is, use pciconf.  Add support for
   broadly identifying devices based on class/subclass, and for
   parsing a preloaded device identification database so that if
   you want to waste the memory, you can identify *anything* we know
   about.
 - Remove machine-dependant code from the core PCI code.  APIC interrupt
   mapping is performed by shadowing the intline register in machine-
   dependant code.
 - Bring interrupt routing support to the Alpha
   (although many platforms don't yet support routing or mapping
   interrupts entirely correctly).  This resulted in spamming
   <sys/bus.h> into more places than it really should have gone.
 - Put sys/dev on the kernel/modules include path.  This avoids
   having to change *all* the pci*.h includes.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.5 2000/11/27 07:27:44 obrien Exp $
a16 3

opt_osf1.h opt_simos.h opt_nfs.h:
	touch ${.TARGET}
@


1.5
log
@Don't install the osf1 script from here.  It causes the release build to
break as ${DESTDIR}/usr/bin doesn't exist where the module is being
installed.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.4 2000/10/08 16:56:04 obrien Exp $
d10 1
a10 1
	opt_simos.h opt_nfs.h vnode_if.h
@


1.4
log
@Don't install manpages.
They are being moved elsewhere, and they are causing problems being here.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.3 2000/05/27 01:14:08 peter Exp $
a19 4

afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/osf1.sh ${DESTDIR}/usr/bin/osf1
@


1.3
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.2 2000/05/04 12:08:07 peter Exp $
a10 1
MAN8=	osf1.8
@


1.2
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
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.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.1 1999/12/14 22:35:35 gallatin Exp $
d26 1
a26 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.1
log
@Finally add the Alpha OSF/1 compat code.  I will add it to the
sys/modules Makefile after completing a buildworld.

History:

The bulk of this code was obtained from NetBSD approximately one year
ago (I have taken care to preserve the original NetBSD copyrights and
I thank the authors for their work.) At that time, the OSF/1 code was
what was left over from their initial bootstrapping off of OSF/1 and
did not provide support for executing shared binaries.

I have independently added support for shared libraries, and support
for some of the more obscure system calls.  This code has been
available for testing and comment since January of 1999 and running on
production machines here at Duke since April.

Known working applications include:

- Netscape (all versions I've tried)
- Mathematica 3.0.2
- Splus 3.4
- ArcInfo 7.1
- Matlab (version unknown)
- SimOS
- Atom instrumented binaries (built on a real OSF/1 system)

Applications which are known not to work:

- All applications linking to libmach
- Adobe Acrobat  (uses libmach)

This has been tested with applications running against shared
libraries from OSF/1 (aka Tru64) 4.0D and 4.0F.

Reviewed by: marcel, obrien
BDE-lint by: obrien
Agreed in principal to by: msmith
@
text
@d1 1
a1 1
# $FreeBSD$
d26 1
a26 1
.include <bsd.kmod.mk>
@


1.1.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/osf1/Makefile,v 1.1 1999/12/14 22:35:35 gallatin Exp $
d11 1
a11 1
MAN=	osf1.8
@


1.1.2.2
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d1 1
a1 1
# $FreeBSD$
d23 1
a23 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.1.2.3
log
@MFC: Drop support for COPY.
@
text
@d23 1
a23 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@


1.1.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/osf1/Makefile 101469 2002-08-07 16:32:02Z ru $
@


