head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.66
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.64
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	thorpej-ifq:1.4.0.62
	thorpej-ifq-base:1.4
	thorpej-altq-separation:1.4.0.60
	thorpej-altq-separation-base:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.58
	netbsd-10-base:1.4
	bouyer-sunxi-drm:1.4.0.56
	bouyer-sunxi-drm-base:1.4
	netbsd-9-3-RELEASE:1.4
	thorpej-i2c-spi-conf2:1.4.0.54
	thorpej-i2c-spi-conf2-base:1.4
	thorpej-futex2:1.4.0.52
	thorpej-futex2-base:1.4
	thorpej-cfargs2:1.4.0.50
	thorpej-cfargs2-base:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.48
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.46
	cjep_staticlib_x-base:1.4
	thorpej-i2c-spi-conf:1.4.0.44
	thorpej-i2c-spi-conf-base:1.4
	thorpej-cfargs:1.4.0.42
	thorpej-cfargs-base:1.4
	thorpej-futex:1.4.0.40
	thorpej-futex-base:1.4
	netbsd-9-1-RELEASE:1.4
	bouyer-xenpvh-base2:1.4
	phil-wifi-20200421:1.4
	bouyer-xenpvh-base1:1.4
	phil-wifi-20200411:1.4
	bouyer-xenpvh:1.4.0.38
	bouyer-xenpvh-base:1.4
	is-mlppp:1.4.0.36
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.4
	ad-namecache-base3:1.4
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	ad-namecache-base2:1.4
	ad-namecache-base1:1.4
	ad-namecache:1.4.0.34
	ad-namecache-base:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.32
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	isaki-audio2:1.4.0.30
	isaki-audio2-base:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.28
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.4.0.26
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	tls-maxphys-base-20171202:1.4
	matt-nb8-mediatek:1.4.0.24
	matt-nb8-mediatek-base:1.4
	nick-nhusb-base-20170825:1.4
	perseant-stdc-iso10646:1.4.0.22
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.20
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.18
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	jdolecek-ncq:1.4.0.16
	jdolecek-ncq-base:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.14
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	nick-nhusb-base-20170204:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.12
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	nick-nhusb-base-20161204:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	nick-nhusb-base-20161004:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.10
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.8
	pgoyette-localcount-base:1.4
	nick-nhusb-base-20160907:1.4
	nick-nhusb-base-20160529:1.4
	netbsd-7-0-1-RELEASE:1.4
	nick-nhusb-base-20160422:1.4
	nick-nhusb-base-20160319:1.4
	nick-nhusb-base-20151226:1.4
	netbsd-7-0:1.4.0.6
	netbsd-7-0-RELEASE:1.4
	nick-nhusb-base-20150921:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	nick-nhusb-base-20150606:1.4
	nick-nhusb-base-20150406:1.4
	nick-nhusb:1.4.0.4
	nick-nhusb-base:1.4
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.4.0.2
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.3.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	rmind-smpnet-nbase:1.3
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.30
	riastradh-drm2-base:1.2
	rmind-smpnet:1.2.0.22
	rmind-smpnet-base:1.3
	netbsd-6-1:1.2.0.28
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	khorben-n900:1.2.0.26
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.24
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.1.0.34
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.20
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.18
	tls-maxphys-base:1.4
	matt-nb6-plus:1.2.0.16
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	jmcneill-usbmp-base10:1.2
	yamt-pagecache-base5:1.2
	jmcneill-usbmp-base9:1.2
	yamt-pagecache-base4:1.2
	jmcneill-usbmp-base8:1.2
	jmcneill-usbmp-base7:1.2
	jmcneill-usbmp-base6:1.2
	jmcneill-usbmp-base5:1.2
	jmcneill-usbmp-base4:1.2
	jmcneill-usbmp-base3:1.2
	jmcneill-usbmp-pre-base2:1.2
	jmcneill-usbmp-base2:1.2
	netbsd-6:1.2.0.14
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	jmcneill-usbmp:1.2.0.12
	jmcneill-usbmp-base:1.2
	jmcneill-audiomp3:1.2.0.10
	jmcneill-audiomp3-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.8
	yamt-pagecache-base:1.2
	rmind-uvmplock-nbase:1.2
	cherry-xenmp:1.2.0.6
	cherry-xenmp-base:1.2
	jym-xensuspend-nbase:1.2
	uebayasi-xip-base7:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.4
	bouyer-quota2-base:1.2
	jruoho-x86intr:1.2.0.2
	jruoho-x86intr-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.32
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.30
	uebayasi-xip-base6:1.2
	uebayasi-xip-base5:1.2
	netbsd-5-1-RELEASE:1.1
	uebayasi-xip-base4:1.2
	uebayasi-xip-base3:1.2
	yamt-nfs-mp-base11:1.2
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	uebayasi-xip-base2:1.2
	yamt-nfs-mp-base10:1.2
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	uebayasi-xip-base1:1.1
	netbsd-5-1-RC1:1.1
	rmind-uvmplock:1.1.0.28
	rmind-uvmplock-base:1.2
	yamt-nfs-mp-base9:1.1
	uebayasi-xip:1.1.0.26
	uebayasi-xip-base:1.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.1
	yamt-nfs-mp-base8:1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	yamt-nfs-mp-base7:1.1
	matt-nb5-mips64:1.1.0.24
	netbsd-5-0-1-RELEASE:1.1
	jymxensuspend-base:1.1
	yamt-nfs-mp-base6:1.1
	yamt-nfs-mp-base5:1.1
	yamt-nfs-mp-base4:1.1
	yamt-nfs-mp:1.1.0.22
	yamt-nfs-mp-base3:1.1
	nick-hppapmap-base4:1.1
	nick-hppapmap-base3:1.1
	netbsd-5-0:1.1.0.20
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	nick-hppapmap-base2:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.18
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	ad-audiomp2:1.1.0.16
	ad-audiomp2-base:1.1
	netbsd-5:1.1.0.14
	netbsd-5-base:1.1
	nick-hppapmap:1.1.0.12
	nick-hppapmap-base:1.1
	matt-mips64-base2:1.1
	haad-dm-base1:1.1
	wrstuden-revivesa-base-4:1.1
	wrstuden-revivesa:1.1.0.10
	wrstuden-revivesa-base-3:1.1
	wrstuden-revivesa-base:1.1
	wrstuden-revivesa-base-2:1.1
	haad-dm:1.1.0.8
	haad-dm-base:1.1
	wrstuden-revivesa-base-1:1.1
	simonb-wapbl-nbase:1.1
	yamt-pf42-base4:1.1
	simonb-wapbl:1.1.0.6
	simonb-wapbl-base:1.1
	yamt-pf42:1.1.0.4
	yamt-pf42-base3:1.1
	mjf-devfs2-base:1.1
	mjf-devfs2:1.1.0.2;
locks; strict;
comment	@# @;


1.4
date	2014.08.08.16.56.31;	author joerg;	state Exp;
branches;
next	1.3;
commitid	309iK37xEyUb0ALx;

1.3
date	2013.08.21.06.53.10;	author matt;	state Exp;
branches
	1.3.2.1;
next	1.2;
commitid	lCOINYuPJWuRYh2x;

1.2
date	2010.05.27.06.58.13;	author dholland;	state Exp;
branches
	1.2.8.1
	1.2.18.1
	1.2.22.1;
next	1.1;

1.1
date	2008.05.26.16.36.09;	author kiyohara;	state Exp;
branches
	1.1.2.1
	1.1.4.1
	1.1.10.1
	1.1.22.1
	1.1.26.1
	1.1.28.1;
next	;

1.3.2.1
date	2014.08.10.06.53.53;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.2.8.1
date	2014.05.22.11.39.36;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.2.18.1
date	2014.08.20.00.02.50;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.2.22.1
date	2013.08.28.23.59.13;	author rmind;	state Exp;
branches;
next	;
commitid	cbp9Ov2uYijlqh3x;

1.1.2.1
date	2008.05.26.16.36.09;	author mjf;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2008.06.02.13.21.59;	author mjf;	state Exp;
branches;
next	;

1.1.4.1
date	2008.05.26.16.36.09;	author yamt;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.06.04.02.04.44;	author yamt;	state Exp;
branches;
next	;

1.1.10.1
date	2008.05.26.16.36.09;	author wrstuden;	state dead;
branches;
next	1.1.10.2;

1.1.10.2
date	2008.09.24.04.58.25;	author wrstuden;	state Exp;
branches;
next	;

1.1.22.1
date	2008.05.26.16.36.09;	author yamt;	state dead;
branches;
next	1.1.22.2;

1.1.22.2
date	2009.05.04.08.10.52;	author yamt;	state Exp;
branches;
next	1.1.22.3;

1.1.22.3
date	2010.08.11.22.51.48;	author yamt;	state Exp;
branches;
next	;

1.1.26.1
date	2010.08.17.06.44.12;	author uebayasi;	state Exp;
branches;
next	;

1.1.28.1
date	2010.05.30.05.16.41;	author rmind;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
@
text
@#	$NetBSD: Makefile,v 1.3 2013/08/21 06:53:10 matt Exp $

S= ${.CURDIR}/../../../..

NOMAN= # defined

CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -D__daddr_t=int32_t
CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes

CFLAGS= -Os -ffreestanding

.include <bsd.prog.mk>
.include <bsd.klinks.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}

realall: ${LIBS}

cleandir distclean: .WAIT cleanlibdir

cleanlibdir:
	-rm -rf lib
@


1.3
log
@Use <bsd.klinks.mk>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/05/27 06:58:13 dholland Exp $
d12 1
a12 1
CFLAGS= -Os -mmultiple -ffreestanding
@


1.3.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/08/08 16:56:31 joerg Exp $
d12 1
a12 1
CFLAGS= -Os -ffreestanding
@


1.2
log
@Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/05/26 16:36:09 kiyohara Exp $
a13 13
CLEANFILES+= machine powerpc

.if !make(obj) && !make(clean) && !make(cleandir)
.PHONY: machine-links
beforedepend: machine-links

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

d15 1
d35 1
a35 1
realall: machine-links ${LIBS}
@


1.2.18.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d12 14
a25 1
CFLAGS= -Os -ffreestanding
a27 1
.include <bsd.klinks.mk>
d47 1
a47 1
realall: ${LIBS}
@


1.2.8.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/05/27 06:58:13 dholland Exp $
d14 13
a27 1
.include <bsd.klinks.mk>
d47 1
a47 1
realall: ${LIBS}
@


1.2.22.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d14 13
a27 1
.include <bsd.klinks.mk>
d47 1
a47 1
realall: ${LIBS}
@


1.1
log
@Split boot/boot_com0/boot_vga.
  boot supports framebuffer.
  boot_com0 supports com0.
  boot_vga supports vga, not frambuffer.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2006/04/10 17:58:59 garbled Exp $
d49 1
a49 1
cleandir distclean: cleanlibdir
@


1.1.26.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d49 1
a49 1
cleandir distclean: .WAIT cleanlibdir
@


1.1.28.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/05/26 16:36:09 kiyohara Exp $
d49 1
a49 1
cleandir distclean: .WAIT cleanlibdir
@


1.1.22.1
log
@file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:10:52 +0000
@
text
@d1 52
@


1.1.22.2
log
@sync with head.
@
text
@a0 52
#	$NetBSD$

S= ${.CURDIR}/../../../..

NOMAN= # defined

CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -D__daddr_t=int32_t
CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes

CFLAGS= -Os -mmultiple -ffreestanding

CLEANFILES+= machine powerpc

.if !make(obj) && !make(clean) && !make(cleandir)
.PHONY: machine-links
beforedepend: machine-links

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

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}

realall: machine-links ${LIBS}

cleandir distclean: cleanlibdir

cleanlibdir:
	-rm -rf lib
@


1.1.22.3
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.22.2 2009/05/04 08:10:52 yamt Exp $
d49 1
a49 1
cleandir distclean: .WAIT cleanlibdir
@


1.1.10.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-24 04:58:25 +0000
@
text
@d1 52
@


1.1.10.2
log
@Merge in changes missed in previous sync with head.
@
text
@a0 52
#	$NetBSD: Makefile,v 1.1 2008/05/26 16:36:09 kiyohara Exp $

S= ${.CURDIR}/../../../..

NOMAN= # defined

CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -D__daddr_t=int32_t
CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes

CFLAGS= -Os -mmultiple -ffreestanding

CLEANFILES+= machine powerpc

.if !make(obj) && !make(clean) && !make(cleandir)
.PHONY: machine-links
beforedepend: machine-links

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

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}

realall: machine-links ${LIBS}

cleandir distclean: cleanlibdir

cleanlibdir:
	-rm -rf lib
@


1.1.4.1
log
@file Makefile was added on branch yamt-pf42 on 2008-06-04 02:04:44 +0000
@
text
@d1 52
@


1.1.4.2
log
@sync with head
@
text
@a0 52
#	$NetBSD$

S= ${.CURDIR}/../../../..

NOMAN= # defined

CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -D__daddr_t=int32_t
CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes

CFLAGS= -Os -mmultiple -ffreestanding

CLEANFILES+= machine powerpc

.if !make(obj) && !make(clean) && !make(cleandir)
.PHONY: machine-links
beforedepend: machine-links

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

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}

realall: machine-links ${LIBS}

cleandir distclean: cleanlibdir

cleanlibdir:
	-rm -rf lib
@


1.1.2.1
log
@file Makefile was added on branch mjf-devfs2 on 2008-06-02 13:21:58 +0000
@
text
@d1 52
@


1.1.2.2
log
@Sync with HEAD.
@
text
@a0 52
#	$NetBSD$

S= ${.CURDIR}/../../../..

NOMAN= # defined

CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -D__daddr_t=int32_t
CPPFLAGS+= -I. -I${S} -I${.OBJDIR}
CPPFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes

CFLAGS= -Os -mmultiple -ffreestanding

CLEANFILES+= machine powerpc

.if !make(obj) && !make(clean) && !make(cleandir)
.PHONY: machine-links
beforedepend: machine-links

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

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}

realall: machine-links ${LIBS}

cleandir distclean: cleanlibdir

cleanlibdir:
	-rm -rf lib
@


