[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22331] branches/blender2.5/blender: Add initial support in Makefiles for audaspace.

gsr b3d gsr.b3d at infernal-iceberg.com
Mon Aug 10 03:57:08 CEST 2009


Revision: 22331
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22331
Author:   gsrb3d
Date:     2009-08-10 03:56:54 +0200 (Mon, 10 Aug 2009)

Log Message:
-----------
Add initial support in Makefiles for audaspace.
Note: removed hardcoded path in include directive. Check other build systems.

Modified Paths:
--------------
    branches/blender2.5/blender/intern/audaspace/AUD_C-API.h
    branches/blender2.5/blender/intern/audaspace/Makefile
    branches/blender2.5/blender/source/Makefile
    branches/blender2.5/blender/source/blender/blenkernel/intern/Makefile
    branches/blender2.5/blender/source/blender/editors/space_sequencer/Makefile
    branches/blender2.5/blender/source/nan_link.mk

Added Paths:
-----------
    branches/blender2.5/blender/intern/audaspace/FX/Makefile
    branches/blender2.5/blender/intern/audaspace/SRC/Makefile

Modified: branches/blender2.5/blender/intern/audaspace/AUD_C-API.h
===================================================================
--- branches/blender2.5/blender/intern/audaspace/AUD_C-API.h	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/intern/audaspace/AUD_C-API.h	2009-08-10 01:56:54 UTC (rev 22331)
@@ -30,7 +30,7 @@
 extern "C" {
 #endif
 
-#include "intern/AUD_Space.h"
+#include "AUD_Space.h"
 
 typedef enum
 {

Added: branches/blender2.5/blender/intern/audaspace/FX/Makefile
===================================================================
--- branches/blender2.5/blender/intern/audaspace/FX/Makefile	                        (rev 0)
+++ branches/blender2.5/blender/intern/audaspace/FX/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -0,0 +1,43 @@
+#
+# $Id$
+#
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): none yet.
+#
+# ***** END GPL LICENSE BLOCK *****
+#
+#
+
+LIBNAME = aud_fx
+DIR = $(OCGDIR)/intern/audaspace
+
+include nan_compile.mk
+
+CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
+
+CPPFLAGS += -I../ffmpeg
+CPPFLAGS += -I../intern
+CPPFLAGS += -I../SDL
+CPPFLAGS += -I../SRC
+CPPFLAGS += -I..
+CPPFLAGS += -I.


Property changes on: branches/blender2.5/blender/intern/audaspace/FX/Makefile
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: branches/blender2.5/blender/intern/audaspace/Makefile
===================================================================
--- branches/blender2.5/blender/intern/audaspace/Makefile	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/intern/audaspace/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -36,7 +36,9 @@
 SOURCEDIR = intern/audaspace
 DIR = $(OCGDIR)/$(SOURCEDIR)
 DIRS = intern
+DIRS += FX
 DIRS += SDL
+DIRS += SRC
 
 ifeq ($(WITH_FFMPEG),true)
   DIRS += ffmpeg
@@ -48,10 +50,10 @@
 	@[ -d $(NAN_AUDASPACE) ] || mkdir $(NAN_AUDASPACE)
 	@[ -d $(NAN_AUDASPACE)/include ] || mkdir $(NAN_AUDASPACE)/include
 	@[ -d $(NAN_AUDASPACE)/lib/$(DEBUG_DIR) ] || mkdir $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
-	@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaudaspace.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
+	@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaudaspace.a $(DIR)/$(DEBUG_DIR)libaud_fx.a $(DIR)/$(DEBUG_DIR)libaud_src.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
 ifeq ($(OS),darwin)
 	ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
 endif
-	@../tools/cpifdiff.sh *.h $(NAN_AUDASPACE)/include/
+	@../tools/cpifdiff.sh *.h intern/AUD_Space.h $(NAN_AUDASPACE)/include/
 
 

Added: branches/blender2.5/blender/intern/audaspace/SRC/Makefile
===================================================================
--- branches/blender2.5/blender/intern/audaspace/SRC/Makefile	                        (rev 0)
+++ branches/blender2.5/blender/intern/audaspace/SRC/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -0,0 +1,43 @@
+#
+# $Id$
+#
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#
+# The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+# All rights reserved.
+#
+# The Original Code is: all of this file.
+#
+# Contributor(s): none yet.
+#
+# ***** END GPL LICENSE BLOCK *****
+#
+#
+
+LIBNAME = aud_src
+DIR = $(OCGDIR)/intern/audaspace
+
+include nan_compile.mk
+
+CCFLAGS += $(LEVEL_1_CPP_WARNINGS)
+
+CPPFLAGS += -I../ffmpeg
+CPPFLAGS += -I../FX
+CPPFLAGS += -I../SDL
+CPPFLAGS += -I../intern
+CPPFLAGS += -I..
+CPPFLAGS += -I.


Property changes on: branches/blender2.5/blender/intern/audaspace/SRC/Makefile
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: branches/blender2.5/blender/source/Makefile
===================================================================
--- branches/blender2.5/blender/source/Makefile	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/source/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -106,6 +106,9 @@
 COMLIB += $(OCGDIR)/blender/gpu/$(DEBUG_DIR)libgpu.a
 COMLIB += $(NAN_GLEW)/lib/$(DEBUG_DIR)libglew.a
 COMLIB += $(OCGDIR)/blender/blenfont/$(DEBUG_DIR)libblenfont.a
+COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
+COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_src.a
+COMLIB += $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fx.a
 
 ifneq ($(NAN_NO_KETSJI),true)
     COMLIB += $(OCGDIR)/gameengine/bloutines/$(DEBUG_DIR)libbloutines.a

Modified: branches/blender2.5/blender/source/blender/blenkernel/intern/Makefile
===================================================================
--- branches/blender2.5/blender/source/blender/blenkernel/intern/Makefile	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/source/blender/blenkernel/intern/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -42,6 +42,7 @@
 
 CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
 CPPFLAGS += -I../../../../intern/memutil
+CPPFLAGS += -I$(NAN_AUDASPACE)/include
 # Reference to the types in makesdna and imbuf
 CPPFLAGS += -I../../makesdna
 CPPFLAGS += -I../../makesrna

Modified: branches/blender2.5/blender/source/blender/editors/space_sequencer/Makefile
===================================================================
--- branches/blender2.5/blender/source/blender/editors/space_sequencer/Makefile	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/source/blender/editors/space_sequencer/Makefile	2009-08-10 01:56:54 UTC (rev 22331)
@@ -50,6 +50,7 @@
 CPPFLAGS += -I../../python
 CPPFLAGS += -I../../blenfont
 CPPFLAGS += -I$(NAN_GUARDEDALLOC)/include
+CPPFLAGS += -I$(NAN_AUDASPACE)/include
 
 # own include 
 

Modified: branches/blender2.5/blender/source/nan_link.mk
===================================================================
--- branches/blender2.5/blender/source/nan_link.mk	2009-08-10 00:07:34 UTC (rev 22330)
+++ branches/blender2.5/blender/source/nan_link.mk	2009-08-10 01:56:54 UTC (rev 22331)
@@ -97,6 +97,7 @@
     COMMENT = "MESA 3.1"
     LLIBS = -L$(NAN_MESA)/lib -L/usr/X11R6/lib -lXmu -lXext -lX11 -lXi
     LLIBS += -lutil -lc -lm -ldl -lpthread
+    LLIBS += -lsamplerate
     LOPTS = -export-dynamic
     DADD = -lGL -lGLU
     SADD = $(NAN_MESA)/lib/libGL.a $(NAN_MESA)/lib/libGLU.a





More information about the Bf-blender-cvs mailing list