head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.24
	perseant-exfatfs-base:1.3
	cjep_sun2x:1.3.0.22
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.20
	cjep_staticlib_x-base:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	phil-wifi-20200406:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.18
	pgoyette-compat-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.16
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.14
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.12
	pgoyette-localcount-base:1.3
	netbsd-5-2-3-RELEASE:1.2.4.1
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.8
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-5-2-2-RELEASE:1.2.4.1
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2.4.1
	netbsd-5-1-3-RELEASE:1.2
	agc-symver:1.3.0.10
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	netbsd-5-2:1.2.4.1.0.2
	yamt-pagecache-base7:1.3
	netbsd-5-2-RELEASE:1.2.4.1
	netbsd-5-2-RC1:1.2.4.1
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.6
	yamt-pagecache-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.4
	bouyer-quota2-base:1.3
	matt-nb5-mips64-premerge-20101231:1.2
	matt-nb5-pq3:1.2.0.12
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.10
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	matt-nb5-mips64-k15:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2
	matt-nb4-mips64-k7-u2a-k9b:1.2
	matt-nb5-mips64-u1-k1-k5:1.2
	matt-nb5-mips64:1.2.0.8
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.2.0.6
	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.3.0.2
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.4
	netbsd-5-base:1.2
	matt-mips64-base2:1.2
	wrstuden-revivesa-base-3:1.2
	wrstuden-revivesa-base-2:1.2
	wrstuden-revivesa-base-1:1.1
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42:1.1.0.4
	yamt-pf42-base2:1.1
	yamt-pf42-base:1.1
	wrstuden-revivesa:1.1.0.2
	wrstuden-revivesa-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2009.01.19.07.08.27;	author jmmv;	state dead;
branches;
next	1.2;

1.2
date	2008.07.20.14.36.52;	author veego;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2008.05.01.15.33.33;	author jmmv;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.2.4.1
date	2011.03.08.17.17.54;	author riz;	state Exp;
branches;
next	;

1.1.2.1
date	2008.09.18.04.39.19;	author wrstuden;	state Exp;
branches;
next	;

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

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


desc
@@


1.3
log
@Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
@
text
@# $NetBSD: Makefile,v 1.2 2008/07/20 14:36:52 veego Exp $

NOLINT=		# defined

.include <bsd.own.mk>

LIB=		atf-c
NOPIC=		# defined; interface is still too unstable

SRCDIR=		${NETBSDSRCDIR}/dist/atf
.PATH:		${SRCDIR}
.PATH:		${SRCDIR}/atf-c

CPPFLAGS+=	-I${.CURDIR}
CPPFLAGS+=	-I.

CPPFLAGS+=	-DHAVE_CONFIG_H
CPPFLAGS+=	-DATF_ARCH=\"${MACHINE}\"
CPPFLAGS+=	-DATF_CONFDIR=\"/etc/atf\"
CPPFLAGS+=	-DATF_LIBEXECDIR=\"/usr/libexec\"
CPPFLAGS+=	-DATF_MACHINE=\"${MACHINE_ARCH}\"
CPPFLAGS+=	-DATF_PKGDATADIR=\"/usr/share/atf\"
CPPFLAGS+=	-DATF_SHELL=\"/bin/sh\"
CPPFLAGS+=	-DATF_WORKDIR=\"/tmp\"

WARNS?=		2

SRCS=		config.c \
		dynstr.c \
		env.c \
		error.c \
		expand.c \
		fs.c \
		io.c \
		list.c \
		map.c \
		object.c \
		sanity.c \
		signals.c \
		text.c \
		ui.c \
		user.c \
		tc.c \
		tcr.c \
		tp.c \
		tp_main.c

INCS=		config.h \
		defs.h \
		dynstr.h \
		env.h \
		error.h \
		expand.h \
		fs.h \
		io.h \
		list.h \
		macros.h \
		map.h \
		object.h \
		sanity.h \
		signals.h \
		tc.h \
		tcr.h \
		text.h \
		tp.h \
		ui.h \
		user.h
INCSDIR=	/usr/include/atf-c

INCS+=		atf-c.h
INCSDIR_atf-c.h=/usr/include

MAN=		# empty

CLEANFILES+=	defs.h

defs.h: defs.h.in
	sed -e 's,@@ATTRIBUTE_NORETURN@@,__attribute__((noreturn)),g' \
		<${SRCDIR}/atf-c/defs.h.in >defs.h.tmp
	mv defs.h.tmp defs.h

.include <bsd.lib.mk>
@


1.2
log
@Add a CLEANFILES line to remove the generated file defs.h
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2008/05/01 15:33:33 jmmv Exp $
@


1.2.4.1
log
@Pull up following revision(s) (requested by jmmv in ticket #1563):
	dist/atf/tests/atf/tools/t_atf_config.sh        patch
	lib/libatf-c/Makefile                           patch

Fix the values of atf_arch and atf_machine: the former is supposed to be
the cpu name and the latter the port name.  They had been reversed until
now due to some "smart" stupidity^Wlogic in the upstream configure script,
which is now gone.
This is a pullup of revision f9329ca68da7e8557e0803b5747a12f8c10b1258
plus the corresponding reachover build changes.
Addresses PR bin/44305.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2008/07/20 14:36:52 veego Exp $
d18 1
a18 1
CPPFLAGS+=	-DATF_ARCH=\"${MACHINE_ARCH}\"
d21 1
a21 1
CPPFLAGS+=	-DATF_MACHINE=\"${MACHINE}\"
@


1.1
log
@Remove the libatf library and add libatf-c and libatf-c++; per import of
atf-0.5.
@
text
@d1 1
a1 1
# $NetBSD$
d75 2
@


1.1.2.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2008/05/01 15:33:33 jmmv Exp $
a74 2
CLEANFILES+=	defs.h

@


1.1.4.1
log
@file Makefile was added on branch yamt-pf42 on 2008-05-18 12:30:10 +0000
@
text
@d1 80
@


1.1.4.2
log
@sync with head.
@
text
@a0 80
# $NetBSD$

NOLINT=		# defined

.include <bsd.own.mk>

LIB=		atf-c
NOPIC=		# defined; interface is still too unstable

SRCDIR=		${NETBSDSRCDIR}/dist/atf
.PATH:		${SRCDIR}
.PATH:		${SRCDIR}/atf-c

CPPFLAGS+=	-I${.CURDIR}
CPPFLAGS+=	-I.

CPPFLAGS+=	-DHAVE_CONFIG_H
CPPFLAGS+=	-DATF_ARCH=\"${MACHINE}\"
CPPFLAGS+=	-DATF_CONFDIR=\"/etc/atf\"
CPPFLAGS+=	-DATF_LIBEXECDIR=\"/usr/libexec\"
CPPFLAGS+=	-DATF_MACHINE=\"${MACHINE_ARCH}\"
CPPFLAGS+=	-DATF_PKGDATADIR=\"/usr/share/atf\"
CPPFLAGS+=	-DATF_SHELL=\"/bin/sh\"
CPPFLAGS+=	-DATF_WORKDIR=\"/tmp\"

WARNS?=		2

SRCS=		config.c \
		dynstr.c \
		env.c \
		error.c \
		expand.c \
		fs.c \
		io.c \
		list.c \
		map.c \
		object.c \
		sanity.c \
		signals.c \
		text.c \
		ui.c \
		user.c \
		tc.c \
		tcr.c \
		tp.c \
		tp_main.c

INCS=		config.h \
		defs.h \
		dynstr.h \
		env.h \
		error.h \
		expand.h \
		fs.h \
		io.h \
		list.h \
		macros.h \
		map.h \
		object.h \
		sanity.h \
		signals.h \
		tc.h \
		tcr.h \
		text.h \
		tp.h \
		ui.h \
		user.h
INCSDIR=	/usr/include/atf-c

INCS+=		atf-c.h
INCSDIR_atf-c.h=/usr/include

MAN=		# empty

defs.h: defs.h.in
	sed -e 's,@@ATTRIBUTE_NORETURN@@,__attribute__((noreturn)),g' \
		<${SRCDIR}/atf-c/defs.h.in >defs.h.tmp
	mv defs.h.tmp defs.h

.include <bsd.lib.mk>
@
