NetBSD/usr.bin/audiocfg/Makefile
jmcneill e405ac8d24 add support for testing audio devices. the usage of audiocfg changes:
audiocfg list
  audiocfg default [index]
  audiocfg test [index]

'list' shows the available audio devices, 'default' sets the default
audio device, and 'test' will play a tone for 2 seconds on each
channel. example:

  $ ./audiocfg list
  0: [*] audio0: ICH2 AC97 (2 playback channels)
  1: [ ] audio1: Pseudo Audio (2 playback channels)
  $ ./audiocfg test 0
  testing channel 0...
  testing channel 1...
  $
2010-09-01 09:04:16 +00:00

12 lines
204 B
Makefile

# $NetBSD: Makefile,v 1.3 2010/09/01 09:04:16 jmcneill Exp $
PROG= audiocfg
SRCS= audiodev.c drvctl.c dtmf.c
SRCS+= main.c
WARNS= 3
LDADD+= -lprop -lm
DPADD+= $(LIBPROP) $(LIBM)
.include <bsd.prog.mk>