blob: 498ae2d7189095868027e7612562a89f7226c4df (
plain) (
blame)
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
|
Index: makefile.unix
@@ -249,9 +249,9 @@
######## Alpha/Linux
# ARCH = linux_alpha
######## ix86/Linux
-ARCH = linux_i386
+# ARCH = linux_i386
######## ix86/FreeBSD and ix86/BSDi
-# ARCH = FREEBSD
+ARCH = FREEBSD
######## ix86/NetBSD
# ARCH = netbsd_i386
######## Sparc/SunOS ( no sound )
@@ -287,7 +287,12 @@
DEFS.linux_powerpc = -Dlinux -DACORN
DEFS.linux_alpha = -Dlinux -DLSB_FIRST -DAXP_ASM -DACORN
DEFS.linux_i386 = -Dlinux -DLSB_FIRST -DX86_ASM
+ifeq (${MACHINE_ARCH},i386)
DEFS.FREEBSD = -DLSB_FIRST -DX86_ASM -Dlinux -DFREEBSD_SOUND_WORKAROUND
+else
+# someone with an alpha pls check this
+DEFS.FREEBSD = -DLSB_FIRST -DACORN -Dlinux -DFREEBSD_SOUND_WORKAROUND
+endif
DEFS.netbsd_i386 = -DLSB_FIRST -DX86_ASM -DNETBSD -DUSE_AUDIO
DEFS.sunos = -Dsun -DCLOCKS_PER_SEC=1000000 -DACORN
DEFS.solaris = -Dsun -DACORN
|