I had to change a bit of the stuff I added to get solaris openal working.
authorKent Mein <mein@cs.umn.edu>
Thu, 9 Dec 2004 13:13:24 +0000 (13:13 +0000)
committerKent Mein <mein@cs.umn.edu>
Thu, 9 Dec 2004 13:13:24 +0000 (13:13 +0000)
I also removed a redundant bit of config stuff for freebsd
that didn't do anything.

Kent

source/Makefile

index 8b614e17e345b40e802da46874d41013f50b1290..6af0ec6aac02bfe231ed8ac0b4c137406fb230bf 100644 (file)
@@ -191,6 +191,9 @@ ifeq ($(INTERNATIONAL), true)
        ifeq ($(OS), darwin)
            COMLIB += $(NAN_GETTEXT)/lib/libintl.a
        endif
+       ifeq ($(OS), solaris)
+           COMLIB += $(NAN_GETTEXT)/lib/libintl.a
+       endif
 endif
 
 ifeq ($(OS), irix)
@@ -370,21 +373,12 @@ ifeq ($(NAN_NO_OPENAL), true)
 else
   ifeq ($(OS),$(findstring $(OS), "freebsd linux windows"))
     ifeq ($(CPU),$(findstring $(CPU), "i386 powerpc x86_64"))
-      ifeq ($(OS),freebsd)
-        NAN_SND_LIBS =  $(SOUNDSYSTEM)
-        NAN_SND_LIBS += $(DUMMYSOUND)
-        NAN_SND_LIBS += $(OPENALSOUND)
-        NAN_SND_LIBS += $(SDLSOUND)
-        NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
-        NAN_SND_LIBS += $(SOUNDSYSTEM)
-      else
         NAN_SND_LIBS =  $(SOUNDSYSTEM)
         NAN_SND_LIBS += $(DUMMYSOUND)
         NAN_SND_LIBS += $(OPENALSOUND)
         NAN_SND_LIBS += $(SDLSOUND)
         NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
         NAN_SND_LIBS += $(SOUNDSYSTEM)
-      endif
     else
       ifeq ($(OS),windows)
         NAN_SND_LIBS =  $(SOUNDSYSTEM)
@@ -400,16 +394,25 @@ else
       endif
     endif
   else
-    ifeq ($(OS),$(findstring $(OS), "darwin solaris"))
+    ifeq ($(OS),darwin)
       NAN_SND_LIBS =  $(SOUNDSYSTEM)
       NAN_SND_LIBS += $(DUMMYSOUND)
       NAN_SND_LIBS += $(OPENALSOUND)
       NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
       NAN_SND_LIBS += $(SOUNDSYSTEM)
     else
-      NAN_SND_LIBS =  $(SOUNDSYSTEM)
-      NAN_SND_LIBS += $(DUMMYSOUND)
-      NAN_SND_LIBS += $(SOUNDSYSTEM)
+      ifeq ($OS),solaris)
+        NAN_SND_LIBS =  $(SOUNDSYSTEM)
+        NAN_SND_LIBS += $(DUMMYSOUND)
+        NAN_SND_LIBS += $(OPENALSOUND)
+        NAN_SND_LIBS += $(SDLSOUND)
+        NAN_SND_LIBS += $(NAN_OPENAL)/lib/libopenal.a
+        NAN_SND_LIBS += $(SOUNDSYSTEM)
+      else
+        NAN_SND_LIBS =  $(SOUNDSYSTEM)
+        NAN_SND_LIBS += $(DUMMYSOUND)
+        NAN_SND_LIBS += $(SOUNDSYSTEM)
+      endif
     endif
   endif
 endif