head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.146
	perseant-exfatfs-base:1.2
	bouyer-sunxi-drm:1.2.0.144
	bouyer-sunxi-drm-base:1.2
	cjep_sun2x:1.2.0.142
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.140
	cjep_staticlib_x-base:1.2
	thorpej-futex-base:1.2
	bouyer-xenpvh-base2:1.2
	phil-wifi-20200421:1.2
	bouyer-xenpvh-base1:1.2
	phil-wifi-20200411:1.2
	bouyer-xenpvh:1.2.0.138
	bouyer-xenpvh-base:1.2
	phil-wifi-20200406:1.2
	ad-namecache-base3:1.2
	ad-namecache-base2:1.2
	ad-namecache-base1:1.2
	ad-namecache:1.2.0.136
	ad-namecache-base:1.2
	isaki-audio2:1.2.0.134
	isaki-audio2-base:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.14
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.132
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.130
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.128
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.126
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.124
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	rmind-smpnet-nbase:1.2
	rmind-smpnet:1.2.0.120
	rmind-smpnet-base:1.2
	agc-symver:1.2.0.122
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.118
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	jmcneill-usbmp:1.2.0.116
	jmcneill-usbmp-base:1.2
	jmcneill-audiomp3:1.2.0.114
	jmcneill-audiomp3-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.112
	yamt-pagecache-base:1.2
	rmind-uvmplock-nbase:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.110
	bouyer-quota2-base:1.2
	jruoho-x86intr:1.2.0.108
	jruoho-x86intr-base:1.2
	matt-nb5-pq3:1.2.0.106
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.104
	netbsd-5-1-RELEASE:1.2
	yamt-nfs-mp-base11:1.2
	netbsd-5-1-RC4:1.2
	uebayasi-xip-base2:1.2
	yamt-nfs-mp-base10:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	rmind-uvmplock:1.2.0.102
	rmind-uvmplock-base:1.2
	yamt-nfs-mp-base9:1.2
	uebayasi-xip:1.2.0.100
	uebayasi-xip-base:1.2
	netbsd-5-0-2-RELEASE:1.2
	yamt-nfs-mp-base8:1.2
	yamt-nfs-mp-base7:1.2
	netbsd-5-0-1-RELEASE:1.2
	jymxensuspend-base:1.2
	yamt-nfs-mp-base6:1.2
	yamt-nfs-mp-base5:1.2
	yamt-nfs-mp-base4:1.2
	jym-xensuspend-nbase:1.2
	yamt-nfs-mp-base3:1.2
	netbsd-5-0:1.2.0.98
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.96
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	ad-audiomp2:1.2.0.94
	ad-audiomp2-base:1.2
	netbsd-5:1.2.0.92
	netbsd-5-base:1.2
	haad-dm-base1:1.2
	haad-dm:1.2.0.90
	haad-dm-base:1.2
	simonb-wapbl-nbase:1.2
	yamt-pf42-base4:1.2
	simonb-wapbl:1.2.0.88
	simonb-wapbl-base:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-nfs-mp-base2:1.2
	yamt-nfs-mp:1.2.0.86
	yamt-nfs-mp-base:1.2
	yamt-pf42:1.2.0.84
	yamt-pf42-base:1.2
	ad-socklock-base1:1.2
	yamt-lazymbuf-base15:1.2
	yamt-lazymbuf-base14:1.2
	keiichi-mipv6-nbase:1.2
	mjf-devfs2:1.2.0.82
	mjf-devfs2-base:1.2
	keiichi-mipv6:1.2.0.80
	keiichi-mipv6-base:1.2
	bouyer-xeni386-merge1:1.2
	vmlocking2-base3:1.2
	bouyer-xeni386-nbase:1.2
	yamt-kmem-base3:1.2
	cube-autoconf:1.2.0.78
	cube-autoconf-base:1.2
	yamt-kmem-base2:1.2
	bouyer-xeni386:1.2.0.76
	bouyer-xeni386-base:1.2
	yamt-kmem:1.2.0.74
	yamt-kmem-base:1.2
	vmlocking2-base2:1.2
	reinoud-bufcleanup-nbase:1.2
	vmlocking2:1.2.0.72
	vmlocking2-base1:1.2
	jmcneill-base:1.2
	mjf-devfs:1.2.0.70
	mjf-devfs-base:1.2
	bouyer-xenamd64-base2:1.2
	vmlocking-nbase:1.2
	yamt-x86pmap-base4:1.2
	bouyer-xenamd64:1.2.0.68
	bouyer-xenamd64-base:1.2
	yamt-x86pmap-base3:1.2
	yamt-x86pmap-base2:1.2
	yamt-x86pmap:1.2.0.66
	yamt-x86pmap-base:1.2
	jmcneill-pm:1.2.0.64
	jmcneill-pm-base:1.2
	hpcarm-cleanup:1.2.0.62
	hpcarm-cleanup-base:1.2
	mjf-ufs-trans-base:1.2
	yamt-idlelwp-base8:1.2
	ppcoea-renovation:1.2.0.60
	ppcoea-renovation-base:1.2
	reinoud-bufcleanup-base:1.2
	vmlocking:1.2.0.58
	vmlocking-base:1.2
	ad-audiomp:1.2.0.56
	ad-audiomp-base:1.2
	yamt-idlelwp:1.2.0.54
	post-newlock2-merge:1.2
	newlock2-nbase:1.2
	yamt-splraiseipl-base5:1.2
	yamt-splraiseipl-base4:1.2
	yamt-splraiseipl-base3:1.2
	yamt-splraiseipl-base2:1.2
	yamt-splraiseipl:1.2.0.52
	yamt-splraiseipl-base:1.2
	newlock2:1.2.0.50
	newlock2-base:1.2
	yamt-pdpolicy-base8:1.2
	yamt-pdpolicy-base7:1.2
	yamt-pdpolicy-base6:1.2
	gdamore-uart:1.2.0.48
	gdamore-uart-base:1.2
	simonb-timcounters-final:1.2
	yamt-pdpolicy-base5:1.2
	elad-kernelauth-nbase:1.2
	yamt-pdpolicy-base4:1.2
	yamt-pdpolicy-base3:1.2
	yamt-pdpolicy-base2:1.2
	yamt-pdpolicy:1.2.0.46
	yamt-pdpolicy-base:1.2
	yamt-uio_vmspace-base5:1.2
	simonb-timecounters:1.2.0.44
	simonb-timecounters-base:1.2
	rpaulo-netinet-merge-pcb:1.2.0.42
	rpaulo-netinet-merge-pcb-base:1.2
	yamt-uio_vmspace:1.2.0.40
	yamt-readahead-base3:1.2
	yamt-readahead-base2:1.2
	yamt-readahead:1.2.0.38
	yamt-readahead-base:1.2
	yamt-vop-base3:1.2
	yamt-vop-base2:1.2
	thorpej-vnode-attr:1.2.0.36
	thorpej-vnode-attr-base:1.2
	yamt-vop:1.2.0.34
	yamt-vop-base:1.2
	yamt-lazymbuf:1.2.0.32
	yamt-km-base4:1.2
	yamt-km-base3:1.2
	yamt-km-base2:1.2
	yamt-km:1.2.0.30
	yamt-km-base:1.2
	kent-audio2:1.2.0.28
	kent-audio2-base:1.2
	ktrace-lwp:1.2.0.26
	ktrace-lwp-base:1.2
	nathanw_sa_before_merge:1.2
	gmcgarry_ctxsw:1.2.0.24
	gmcgarry_ctxsw_base:1.2
	gmcgarry_ucred:1.2.0.22
	gmcgarry_ucred_base:1.2
	nathanw_sa_base:1.2
	gehenna-devsw:1.2.0.20
	gehenna-devsw-base:1.2
	eeh-devprop:1.2.0.18
	eeh-devprop-base:1.2
	newlock:1.2.0.16
	newlock-base:1.2
	ifpoll-base:1.2
	thorpej-mips-cache:1.2.0.12
	thorpej-mips-cache-base:1.2
	thorpej-devvp:1.2.0.10
	thorpej-devvp-base:1.2
	kqueue:1.2.0.8
	kqueue-base:1.2
	thorpej_scsipi_beforemerge:1.2
	thorpej_scsipi_nbase:1.2
	chs-ubc2-newbase:1.2
	fvdl-softdep-base:1.2
	thorpej_scsipi:1.2.0.6
	thorpej_scsipi_base:1.2
	gwr-3x3:1.2.0.4
	gwr-3x3-base:1.2
	thorpej-signal:1.2.0.2
	thorpej-signal-base:1.2
	marc-pcmcia-base:1.2
	is-newarp:1.1.1.1.0.6
	is-newarp-base:1.1.1.1
	netbsd-1-2-PATCH001:1.1.1.1
	thorpej-setroot:1.1.1.1.0.4
	netbsd-1-2-RELEASE:1.1.1.1
	netbsd-1-2-BETA:1.1.1.1
	netbsd-1-2:1.1.1.1.0.2
	netbsd-1-2-base:1.1.1.1
	GWR1:1.1.1.1
	GWR:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.02.11.00.10.37;	author gwr;	state dead;
branches;
next	1.1;

1.1
date	96.06.20.03.11.06;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.20.03.11.06;	author gwr;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.6.1;
next	;

1.1.1.1.2.1
date	96.06.20.03.11.06;	author gwr;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	96.06.20.03.11.07;	author gwr;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	97.03.12.23.16.26;	author gwr;	state dead;
branches;
next	;


desc
@@


1.2
log
@This is obsolete (and has been for a while)
@
text
@#	$NetBSD: Makefile,v 1.1 1996/06/20 03:11:06 gwr Exp $

LIB=	kern

MACHINE_ARCH=m68k
MACHINE=sun3

# source tree is located via $S relative to the compilation directory
S=	../../../..
SRCDIR=	$S/lib/libkern

# CPPFLAGS=	-I${SRCDIR}/arch/${MACHINE_ARCH} \
# 		${KERNCPPFLAGS:S@@-I.@@-I${KERNREL}.@@g}

INCLUDES=	-nostdinc -I. -I$S/arch -I$S
XDEFS= 		-undef -D__NetBSD__ -Dm68k -Dmc68000
DEFINES=	-D_KERNEL -Dmc68020 -Dsun3
CPPFLAGS=	${INCLUDES} ${XDEFS} ${DEFINES}
CFLAGS= 	${DEBUG} -O2 -msoft-float -Werror
APPFLAGS=	-P -traditional ${CPPFLAGS} -D_LOCORE

.if exists (${SRCDIR}/arch/${MACHINE_ARCH}/Makefile.inc)
.PATH:	${SRCDIR}/arch/${MACHINE_ARCH}
.include "${SRCDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
.endif

.PATH: ${SRCDIR}

.if (${MACHINE_ARCH} != "alpha")
# Quad support
SRCS+=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
	subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
.endif

# Other stuff
SRCS+=	

# Files to clean up
CLEANFILES+= lib${LIB}.o lib${LIB}.po

all: .links libkern.o libkern.po

install:

clean:
	rm -f libkern.o ${OBJS}
	rm -f libkern.po ${POBJS}
	rm .links

.links :
	-rm -f machine
	ln -s ../../include machine
	-rm -f ${MACHINE_ARCH}
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
	touch .links

OBJS+=	${SRCS:N*.h:R:S/$/.o/g}
lib${LIB}.o:: ${OBJS}
	@@echo building standard ${LIB} library
	@@rm -f lib${LIB}.o
	@@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`

POBJS+=	${OBJS:.o=.po} mcount.po
lib${LIB}.po:: ${POBJS}
	@@echo building profiled ${LIB} library
	@@rm -f lib${LIB}.po
	@@${LD} -r -o lib${LIB}.po `lorder ${POBJS} | tsort`

# mcount cannot be compiled with profiling
mcount.po: mcount.o
	cp mcount.o mcount.po

################################################################
# Stuff from bsd.lib.mk
################################################################

NOPIC=

# prefer .S to a .c, add .po, remove stuff not used in the BSD libraries.
# .so used for PIC object files.  .ln used for lint output files.
.SUFFIXES:
.SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l .ln .m4

.c.o:
	@@echo "${COMPILE.c} ${.IMPSRC}"
	@@${COMPILE.c} ${.IMPSRC}  -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.c.po:
	@@echo "${COMPILE.c} -p ${.IMPSRC} -o ${.TARGET}"
	@@${COMPILE.c} -p ${.IMPSRC} -o ${.TARGET}.o
	@@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.S.o .s.o:
	@@echo "${CPP} ${APPFLAGS} ${.IMPSRC} | \
		${AS} -o ${.TARGET}"
	@@${CPP} ${APPFLAGS} ${.IMPSRC} | \
	    ${AS} -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.S.po .s.po:
	@@echo "${CPP} -DPROF ${APPFLAGS} ${.IMPSRC} |\
	    ${AS} -o ${.TARGET}"
	@@${CPP} -DPROF ${APPFLAGS} ${.IMPSRC} | \
	    ${AS} -o ${.TARGET}.o
	@@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.include <bsd.obj.mk>
.include <bsd.dep.mk>
.include <bsd.sys.mk>
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 1996/05/10 21:27:32 scottr Exp $
@


1.1.1.1
log
@Take control over the kernel libraries so cross-build is easier.
@
text
@@


1.1.1.1.2.1
log
@file Makefile was added on branch netbsd-1-2 on 1996-06-20 03:11:07 +0000
@
text
@d1 115
@


1.1.1.1.2.2
log
@Take control over the kernel libraries so cross-build is easier.
@
text
@a0 115
#	$NetBSD: Makefile,v 1.1.1.1 1996/06/20 03:11:06 gwr Exp $

LIB=	kern

MACHINE_ARCH=m68k
MACHINE=sun3

# source tree is located via $S relative to the compilation directory
S=	../../../..
SRCDIR=	$S/lib/libkern

# CPPFLAGS=	-I${SRCDIR}/arch/${MACHINE_ARCH} \
# 		${KERNCPPFLAGS:S@@-I.@@-I${KERNREL}.@@g}

INCLUDES=	-nostdinc -I. -I$S/arch -I$S
XDEFS= 		-undef -D__NetBSD__ -Dm68k -Dmc68000
DEFINES=	-D_KERNEL -Dmc68020 -Dsun3
CPPFLAGS=	${INCLUDES} ${XDEFS} ${DEFINES}
CFLAGS= 	${DEBUG} -O2 -msoft-float -Werror
APPFLAGS=	-P -traditional ${CPPFLAGS} -D_LOCORE

.if exists (${SRCDIR}/arch/${MACHINE_ARCH}/Makefile.inc)
.PATH:	${SRCDIR}/arch/${MACHINE_ARCH}
.include "${SRCDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
.endif

.PATH: ${SRCDIR}

.if (${MACHINE_ARCH} != "alpha")
# Quad support
SRCS+=	adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
	lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
	subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
.endif

# Other stuff
SRCS+=	

# Files to clean up
CLEANFILES+= lib${LIB}.o lib${LIB}.po

all: .links libkern.o libkern.po

install:

clean:
	rm -f libkern.o ${OBJS}
	rm -f libkern.po ${POBJS}
	rm .links

.links :
	-rm -f machine
	ln -s ../../include machine
	-rm -f ${MACHINE_ARCH}
	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
	touch .links

OBJS+=	${SRCS:N*.h:R:S/$/.o/g}
lib${LIB}.o:: ${OBJS}
	@@echo building standard ${LIB} library
	@@rm -f lib${LIB}.o
	@@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`

POBJS+=	${OBJS:.o=.po} mcount.po
lib${LIB}.po:: ${POBJS}
	@@echo building profiled ${LIB} library
	@@rm -f lib${LIB}.po
	@@${LD} -r -o lib${LIB}.po `lorder ${POBJS} | tsort`

# mcount cannot be compiled with profiling
mcount.po: mcount.o
	cp mcount.o mcount.po

################################################################
# Stuff from bsd.lib.mk
################################################################

NOPIC=

# prefer .S to a .c, add .po, remove stuff not used in the BSD libraries.
# .so used for PIC object files.  .ln used for lint output files.
.SUFFIXES:
.SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l .ln .m4

.c.o:
	@@echo "${COMPILE.c} ${.IMPSRC}"
	@@${COMPILE.c} ${.IMPSRC}  -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.c.po:
	@@echo "${COMPILE.c} -p ${.IMPSRC} -o ${.TARGET}"
	@@${COMPILE.c} -p ${.IMPSRC} -o ${.TARGET}.o
	@@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.S.o .s.o:
	@@echo "${CPP} ${APPFLAGS} ${.IMPSRC} | \
		${AS} -o ${.TARGET}"
	@@${CPP} ${APPFLAGS} ${.IMPSRC} | \
	    ${AS} -o ${.TARGET}.o
	@@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.S.po .s.po:
	@@echo "${CPP} -DPROF ${APPFLAGS} ${.IMPSRC} |\
	    ${AS} -o ${.TARGET}"
	@@${CPP} -DPROF ${APPFLAGS} ${.IMPSRC} | \
	    ${AS} -o ${.TARGET}.o
	@@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
	@@rm -f ${.TARGET}.o

.include <bsd.obj.mk>
.include <bsd.dep.mk>
.include <bsd.sys.mk>
@


1.1.1.1.6.1
log
@Merge changes from the trunk
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1996/06/20 03:11:06 gwr Exp $
@
