head	1.2;
access;
symbols
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.30
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.28
	perseant-exfatfs-base:1.2
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.2
	netbsd-10-0-RC6:1.2
	netbsd-10-0-RC5:1.2
	netbsd-10-0-RC4:1.2
	netbsd-10-0-RC3:1.2
	netbsd-10-0-RC2:1.2
	netbsd-10-0-RC1:1.2
	netbsd-10:1.2.0.26
	netbsd-10-base:1.2
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.2
	cjep_sun2x:1.2.0.24
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.2.0.22
	cjep_staticlib_x-base:1.2
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	is-mlppp:1.2.0.20
	is-mlppp-base:1.2
	phil-wifi-20200406:1.2
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.18
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1: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
	netbsd-7-2-RELEASE:1.1.2.2
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.16
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1: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
	netbsd-7-1-2-RELEASE:1.1.2.2
	pgoyette-compat:1.2.0.14
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.1.2.2
	matt-nb8-mediatek:1.2.0.12
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.10
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.8
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.6
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.1.2.2.0.6
	netbsd-7-1-RELEASE:1.1.2.2
	netbsd-7-1-RC2:1.1.2.2
	netbsd-7-nhusb-base-20170116:1.1.2.2
	bouyer-socketcan:1.2.0.4
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.1.2.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.1.2.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.1.2.2.0.4
	netbsd-7-nhusb-base:1.1.2.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.2
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.1.2.2
	netbsd-7-0:1.1.2.2.0.2
	netbsd-7-0-RELEASE:1.1.2.2
	netbsd-7-0-RC3:1.1.2.2
	netbsd-7-0-RC2:1.1.2.2
	netbsd-7-0-RC1:1.1.2.2
	netbsd-7:1.1.0.2;
locks; strict;
comment	@# @;


1.2
date	2015.06.21.06.06.01;	author mrg;	state Exp;
branches;
next	1.1;
commitid	x1oHYeTD4ZS9dgqy;

1.1
date	2014.12.30.04.14.25;	author mrg;	state Exp;
branches
	1.1.2.1;
next	;
commitid	ZGXSo1Ikf6ox914y;

1.1.2.1
date	2014.12.30.04.14.25;	author martin;	state dead;
branches;
next	1.1.2.2;
commitid	OFvLORCJjxNgMI5y;

1.1.2.2
date	2015.01.12.10.22.22;	author martin;	state Exp;
branches;
next	;
commitid	OFvLORCJjxNgMI5y;


desc
@@


1.2
log
@separate the 3 functions midirecord uses from libaudio.a into its own
file and link it directly, instead of having an (implicit) dependancy
on usr.bin/audio/common being built before usr.bin/midirecord is linked.
@
text
@#	$NetBSD: Makefile,v 1.1 2014/12/30 04:14:25 mrg Exp $

SRCS=	midirecord decode.c
PROG=	midirecord

.include <bsd.own.mk>

#LIBAUDIO != cd ${.CURDIR}/../audio/common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../audio/common
#DPADD+=	${LIBAUDIO}/libaudio.a
#LDADD+=	-L${LIBAUDIO} -laudio

DPADD+=	${LIBUTIL}
LDADD+=	-lutil

.PATH: ${.CURDIR}/../audio/common

.include <bsd.prog.mk>
@


1.1
log
@add a program to record midi files from /dev/music.

this doesn't process several potential result that netbsd does
not output on /dev/music, and should be largely complete for
our current sequencer(4).
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
d8 1
a8 1
LIBAUDIO != cd ${.CURDIR}/../audio/common && ${PRINTOBJDIR}
d10 2
a11 2
DPADD+=	${LIBAUDIO}/libaudio.a
LDADD+=	-L${LIBAUDIO} -laudio
d16 2
@


1.1.2.1
log
@file Makefile was added on branch netbsd-7 on 2015-01-12 10:22:22 +0000
@
text
@d1 15
@


1.1.2.2
log
@Pull up following revision(s) (requested by mrg in ticket #409):
	usr.bin/midirecord/Makefile: revision 1.1
	usr.bin/midirecord/midirecord.1: revision 1.1-1.3
	usr.bin/midirecord/midirecord.c: revision 1.1-1.6
	usr.bin/Makefile: revision 1.219
	distrib/sets/lists/base/mi: revision 1.1093
	distrib/sets/lists/man/mi: revision 1.1492
	distrib/sets/lists/debug/mi: revision 1.98
Add midirecord.
@
text
@a0 15
#	$NetBSD: Makefile,v 1.1 2014/12/30 04:14:25 mrg Exp $

PROG=	midirecord

.include <bsd.own.mk>

LIBAUDIO != cd ${.CURDIR}/../audio/common && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../audio/common
DPADD+=	${LIBAUDIO}/libaudio.a
LDADD+=	-L${LIBAUDIO} -laudio

DPADD+=	${LIBUTIL}
LDADD+=	-lutil

.include <bsd.prog.mk>
@


