diff -u -r ../../work/tracker/Arch/PCux/audio.c ./Arch/PCux/audio.c --- ../../work/tracker/Arch/PCux/audio.c Thu Oct 30 00:58:14 1997 +++ ./Arch/PCux/audio.c Thu Oct 30 00:46:12 1997 @@ -28,10 +28,18 @@ #include "/usr/src/linux/drivers/sound/soundcard.h" #else #ifndef __FreeBSD__ +#ifdef __NetBSD__ +#include +#include +#define DEV "/dev/audio" +#else /* This should be sys/soundcard.h */ #include +#define DEV "/dev/dsp" +#endif #else #include +#define DEV "/dev/dsp" #endif #endif @@ -53,7 +61,7 @@ int buf_max; unsigned long possible, current; - audio = open("/dev/dsp", O_WRONLY, 0); + audio = open(DEV, O_WRONLY, 0); if (audio == -1) end_all("Error opening audio device"); diff -u -r ../../work/tracker/Makefile ./Makefile --- ../../work/tracker/Makefile Thu Oct 30 00:58:14 1997 +++ ./Makefile Thu Oct 30 01:01:52 1997 @@ -175,6 +175,15 @@ UI_freebsd = Unix/ SHELL_freebsd = /bin/sh +CFLAGS_netbsd = -O2 -funroll-loops -finline-functions +LIBS_netbsd = -lm -lossaudio +AUDIODIR_netbsd=PCux/ +CONFIG_netbsd = PCux/netbsd_ +O_netbsd = .o +EXE_netbsd = +UI_netbsd = Unix/ +SHELL_netbsd = /bin/sh + CFLAGS_aix = -O LIBS_aix = -lm AUDIODIR_aix = Aix/ @@ -344,11 +353,7 @@ bug2: lclint -skipansiheaders bug.c - - - export: Docs/tracker.doc -rm tracker*.tgz cd ..; tar cvozf tracker/tracker-$(VERSION).tgz -T tracker/arc.list -