blob: 38c4a239e63896326d90a60b6ffa112790fc63b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
--- Makefile.orig Sat Mar 7 05:45:21 1998
+++ Makefile Sat Mar 7 05:47:52 1998
@@ -25,8 +25,8 @@
#
############################################################################
-OSDEF=-DOSS
-CC = gcc
+#OSDEF=-DOSS
+#CC = gcc
# if you want to use the Ultra driver uncomment the 3 lines below.
# You need a Gravis Ultrasound and the library from the Linux Ultrasound
@@ -35,12 +35,25 @@
#ULTRALIB=-lgus
#ULTRADRV=drv_ultra.o
-OSFLAGS = -O2 $(OSDEF) $(ULTRA)
+#OSFLAGS = -O2 $(OSDEF) $(ULTRA)
#debug options
#OSFLAGS = -g $(OSDEF) $(ULTRA)
-LIBS=-lncurses -lm $(ULTRALIB)
-DRIVERS = drv_nos.o drv_raw.o drv_vox.o $(ULTRADRV)
+#LIBS=-lncurses -lm $(ULTRALIB)
+#DRIVERS = drv_nos.o drv_raw.o drv_vox.o $(ULTRADRV)
+
+############################################################################
+#
+# NetBSD definitions
+#
+# for output on the Sun-like audio device (/dev/audio)
+#
+############################################################################
+
+CC = cc
+OSFLAGS = -O2 -I${PREFIX}/include
+LIBS = -L${PREFIX}/lib -lncurses -lm
+DRIVERS = drv_nos.o drv_raw.o drv_sun.o
############################################################################
#
--- mikmod.h.orig Sun Dec 29 13:46:39 1996
+++ mikmod.h Sat Mar 7 05:49:57 1998
@@ -59,11 +59,15 @@
#elif defined(SUN)
#define mikbannerdriver \
-" - Sun/Solaris driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
+" - Sun/Solaris/NetBSD driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
#elif defined(SOLARIS)
#define mikbannerdriver \
-" - Sun/Solaris driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
+" - Sun/Solaris/NetBSD driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
+
+#elif defined(__NetBSD__)
+#define mikbannerdriver \
+" - Sun/Solaris/NetBSD driver by Valtteri Vuorikoski <vuori@sci.fi>\n"
#elif defined(__alpha)
#define mikbannerdriver \
--- mikmodux.c.orig Mon Dec 16 19:31:16 1996
+++ mikmodux.c Sat Mar 7 05:45:21 1998
@@ -199,6 +199,8 @@
MD_RegisterDriver(&drv_sun);
#elif defined(SOLARIS)
MD_RegisterDriver(&drv_sun);
+#elif defined(__NetBSD__)
+ MD_RegisterDriver(&drv_sun);
#elif defined(__alpha)
MD_RegisterDriver(&drv_AF);
#elif defined(OSS)
|