head	1.9;
access;
symbols
	RELENG_3_5_0_RELEASE:1.8.2.1
	RELENG_3_4_0_RELEASE:1.8.2.1
	RELENG_3_3_0_RELEASE:1.8.2.1
	RELENG_3_2_PAO:1.8.0.4
	RELENG_3_2_PAO_BP:1.8
	RELENG_3_2_0_RELEASE:1.8
	POST_VFS_BIO_NFS_PATCH:1.8
	PRE_VFS_BIO_NFS_PATCH:1.8
	POST_SMP_VMSHARE:1.8
	PRE_SMP_VMSHARE:1.8
	POST_NEWBUS:1.8
	PRE_NEWBUS:1.8
	RELENG_3_1_0_RELEASE:1.8
	RELENG_3:1.8.0.2
	RELENG_3_BP:1.8
	RELENG_2_2_8_RELEASE:1.4.8.2
	RELENG_3_0_0_RELEASE:1.8
	RELENG_2_2_7_RELEASE:1.4.8.2
	PRE_NOBDEV:1.8
	POST_DEVFS_SLICE:1.8
	PRE_DEVFS_SLICE:1.8
	RELENG_2_2_6_RELEASE:1.4.8.2
	POST_SOFTUPDATE:1.8
	PRE_SOFTUPDATE:1.8
	RELENG_2_2_5_RELEASE:1.4.8.1
	WOLLMAN_MBUF:1.7.0.2
	BP_WOLLMAN_MBUF:1.7
	RELENG_2_2_2_RELEASE:1.4.8.1
	post_smp_merge:1.7
	pre_smp_merge:1.7
	RELENG_2_2_1_RELEASE:1.4.8.1
	RELENG_2_2_0_RELEASE:1.4.8.1
	RELENG_2_1_7_RELEASE:1.4
	RELENG_2_1_6_1_RELEASE:1.4
	RELENG_2_1_6_RELEASE:1.4
	RELENG_2_2:1.4.0.8
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.4
	wollman_polling:1.4.0.6
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.3
	OLAH_TTCP:1.2.0.4
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.2;
locks; strict;
comment	@# @;


1.9
date	99.07.28.20.07.11;	author msmith;	state dead;
branches;
next	1.8;

1.8
date	97.11.04.18.12.50;	author nate;	state Exp;
branches
	1.8.2.1
	1.8.4.1;
next	1.7;

1.7
date	97.03.09.16.46.04;	author kato;	state Exp;
branches;
next	1.6;

1.6
date	97.02.22.09.29.51;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	97.01.14.06.37.11;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.05.30.07.58.11;	author rgrimes;	state Exp;
branches
	1.4.4.1
	1.4.8.1;
next	1.3;

1.3
date	95.02.17.02.22.30;	author phk;	state Exp;
branches;
next	1.2;

1.2
date	94.10.01.05.12.29;	author davidg;	state Exp;
branches;
next	1.1;

1.1
date	94.10.01.02.55.47;	author davidg;	state Exp;
branches;
next	;

1.4.4.1
date	99.09.05.08.28.32;	author peter;	state Exp;
branches;
next	;

1.4.8.1
date	97.03.09.16.56.16;	author kato;	state Exp;
branches;
next	1.4.8.2;

1.4.8.2
date	97.11.04.19.15.32;	author nate;	state Exp;
branches;
next	1.4.8.3;

1.4.8.3
date	99.09.05.08.10.10;	author peter;	state Exp;
branches;
next	;

1.8.2.1
date	99.08.29.16.04.36;	author peter;	state Exp;
branches;
next	;

1.8.4.1
date	99.06.18.19.00.06;	author imp;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Remove unused real-mode APM init functions.
@
text
@#
# APM (Advanced Power Management) BIOS Device Driver
#
# Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@@jp.FreeBSD.org>
#
# This software may be used, modified, copied, and distributed, in
# both source and binary form provided that the above copyright and
# these terms are retained. Under no circumstances is the author
# responsible for the proper functioning of this software, nor does
# the author assume any responsibility for damages incurred with its
# use.
#
# Sep., 1994	Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
#
#	$Id: Makefile,v 1.8 1997/11/04 18:12:50 nate Exp $
#

OBJS = apm_init.o real_prot.o table.o
CFLAGS = -DKERNEL -DINITIALIZER
OPTFLAGS = -O2
I386INCDIR = ${.CURDIR}/../../include
INC= -I$(I386INCDIR)

all: apm_init.inc

.SUFFIXES: .c .S .o

.c.o:
	$(CC)  $(CFLAGS) $(OPTFLAGS) $(INC) -c $<

.S.o:
	$(CC)  $(CFLAGS) $(INC) -c $<

apm_init.inc: apm_initat.inc apm_init98.inc
	echo "#ifdef PC98" > apm_init.inc
	cat apm_init98.inc >> apm_init.inc
	echo "#else" >> apm_init.inc
	cat apm_initat.inc >> apm_init.inc
	echo "#endif" >> apm_init.inc

apm_initat.inc: apm_initat bin2asm
	./bin2asm apm_initat apm_initat.inc

apm_initat: $(OBJS)
	rm -f $(OBJS)
	make $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_initat $(OBJS)
	cp apm_initat apm_initat.sym
	@@strip apm_initat
	@@sh ${.CURDIR}/rmaouthdr apm_initat apm_initat.tmp
	@@mv -f apm_initat.tmp apm_initat

apm_init98.inc: apm_init98 bin2asm
	./bin2asm apm_init98 apm_init98.inc

apm_init98: $(OBJS)
	rm -f $(OBJS)
	make CC="$(CC) -DPC98" $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_init98 $(OBJS)
	cp apm_init98 apm_init98.sym
	@@strip apm_init98
	@@sh ${.CURDIR}/rmaouthdr apm_init98 apm_init98.tmp
	@@mv -f apm_init98.tmp apm_init98

bin2asm: bin2asm.c
	$(CC) -o bin2asm ${.CURDIR}/bin2asm.c

allclean: clean
	@@rm -f apm_init.inc
clean:
	@@rm -f *.o apm_init98 apm_init98.inc apm_init98.sym \
		apm_initat apm_initat.inc apm_initat.sym apm_init apm_init.sym bin2asm

.include <bsd.prog.mk>
@


1.8
log
@- Update the email address in the copyrights.
@
text
@d15 1
a15 1
#	$Id: Makefile,v 1.7 1997/03/09 16:46:04 kato Exp $
@


1.8.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d15 1
a15 1
# $FreeBSD$
@


1.8.4.1
log
@Import of PAO on the RELENG_3_2_PAO branch.  This is a branch off of
RELENG_3_2_0_RELEASE and does not have any changes since then
integrated.  This is a raw commit of the last PAO3 file.

Commits to userland code will happen later.  This only the commits
src/sys/...

This branch was approved by the core team at Usenix to allow merging
of PAO code into the mainline FreeBSD code.  The hope is that this
will reduce the divergence between the two.  The other hope is that
this branch will soon be made obsolete by merges into FreeBSD -stable
and -current.  I believe that there will be additional commiters from
the nomads group who will work on merging.

I have not tried to build anything out of this branch yet.  The
patched tree I did here built fine, so if something fails to build it
is my fault.

Submitted by:	The PAO team and nomads.
CVS repo appoved by:	Peter Wemm (peter),
	Jun-ichiro Hagino-san (itojun@@itojun.org), John Polkstra (jdp)
Obtained from:	PAO3-19990605.tar.gz
@
text
@d15 1
a15 1
#	$Id: Makefile,v 1.8 1997/11/04 18:12:50 nate Exp $
a23 4
CC=cc -aout
LD=/usr/libexec/aout/ld
STRIP=/usr/libexec/aout/strip

d49 1
a49 1
	@@$(STRIP) apm_initat
d61 1
a61 1
	@@$(STRIP) apm_init98
@


1.7
log
@Makefile generates boths IBM-PC and PC-98 version of object code in
apm_init.inc.  The PC-98 version of object is included in `#ifdef
PC98'.

Pointed-out by:	URATA Shuichiro <s-urata@@nmit.tmg.nec.co.jp>
@
text
@d4 1
a4 1
# Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@@mt.cs.keio.ac.jp>
d15 1
a15 1
#	$Id: Makefile,v 1.6 1997/02/22 09:29:51 peter Exp $
@


1.6
log
@Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not
ready for it yet.
@
text
@d15 1
a15 1
#	$Id$
d34 30
a63 9
apm_init.inc: apm_init bin2asm
	./bin2asm apm_init apm_init.inc

apm_init: $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_init $(OBJS)
	cp apm_init apm_init.sym
	@@strip apm_init
	@@sh ${.CURDIR}/rmaouthdr apm_init apm_init.tmp
	@@mv -f apm_init.tmp apm_init
d71 2
a72 1
	@@rm -f *.o apm_init apm_init.sym bin2asm
@


1.5
log
@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.
@
text
@d15 1
a15 1
#	$FreeBSD$
@


1.4
log
@Remove trailing whitespace.
@
text
@d15 1
a15 1
#	$Id: Makefile,v 1.3 1995/02/17 02:22:30 phk Exp $
@


1.4.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d15 1
a15 1
# $FreeBSD$
@


1.4.8.1
log
@YAMFC (PC-98 object; revisions 1.7 and 1.7).
@
text
@d15 1
a15 1
#	$Id: Makefile,v 1.4 1995/05/30 07:58:11 rgrimes Exp $
d34 9
a42 30
apm_init.inc: apm_initat.inc apm_init98.inc
	echo "#ifdef PC98" > apm_init.inc
	cat apm_init98.inc >> apm_init.inc
	echo "#else" >> apm_init.inc
	cat apm_initat.inc >> apm_init.inc
	echo "#endif" >> apm_init.inc

apm_initat.inc: apm_initat bin2asm
	./bin2asm apm_initat apm_initat.inc

apm_initat: $(OBJS)
	rm -f $(OBJS)
	make $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_initat $(OBJS)
	cp apm_initat apm_initat.sym
	@@strip apm_initat
	@@sh ${.CURDIR}/rmaouthdr apm_initat apm_initat.tmp
	@@mv -f apm_initat.tmp apm_initat

apm_init98.inc: apm_init98 bin2asm
	./bin2asm apm_init98 apm_init98.inc

apm_init98: $(OBJS)
	rm -f $(OBJS)
	make CC="$(CC) -DPC98" $(OBJS)
	$(LD) -Bstatic -N -T 0 -o apm_init98 $(OBJS)
	cp apm_init98 apm_init98.sym
	@@strip apm_init98
	@@sh ${.CURDIR}/rmaouthdr apm_init98 apm_init98.tmp
	@@mv -f apm_init98.tmp apm_init98
d50 1
a50 2
	@@rm -f *.o apm_init98 apm_init98.inc apm_init98.sym \
		apm_initat apm_initat.inc apm_initat.sym apm_init apm_init.sym bin2asm
@


1.4.8.2
log
@- Missed a copyright Update
@
text
@d4 1
a4 1
# Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@@jp.FreeBSD.org>
d15 1
a15 1
#	$Id: Makefile,v 1.4.8.1 1997/03/09 16:56:16 kato Exp $
@


1.4.8.3
log
@$Id$ -> $FreeBSD$
@
text
@d15 1
a15 1
# $FreeBSD$
@


1.3
log
@This is the latest version of the APM stuff from HOSOKAWA, I have looked
briefly over it, and see some serious architectural issues in this stuff.

On the other hand, I doubt that we will have any solution to these issues
before 2.1, so we might as well leave this in.

Most of the stuff is bracketed by #ifdef's so it shouldn't matter too much
in the normal case.

Reviewed by:	phk
Submitted by:	HOSOKAWA, Tatsumi <hosokawa@@mt.cs.keio.ac.jp>
@
text
@d8 3
a10 3
# these terms are retained. Under no circumstances is the author 
# responsible for the proper functioning of this software, nor does 
# the author assume any responsibility for damages incurred with its 
d15 1
a15 1
#	$Id: Makefile,v 1.2 1994/10/01 05:12:29 davidg Exp $
d50 1
a50 1
	@@rm -f *.o apm_init apm_init.sym bin2asm 
@


1.2
log
@Added $Id$
@
text
@d2 1
a2 1
# LP (Laptop Package)
d4 1
a4 1
# (C) 1994 by HOSOKAWA, Tatsumi <hosokawa@@mt.cs.keio.ac.jp>
d6 1
a6 1
# This software may be used, modified, copied, and distributed in
d15 1
a15 1
#	$Id$
@


1.1
log
@Laptop Advanced Power Management support by HOSOKAWA Tatsumi.

Submitted by:	HOSOKAWA Tatsumi
@
text
@d15 2
@
