diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-08-10 05:56:54 +0400 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2009-08-10 05:56:54 +0400 |
commit | 5fddab3fd8d6ff183f0a322b19231840b73c1239 (patch) | |
tree | 3fd4cef8b4cb35356c39c424a328b40f50f023cb /intern | |
parent | 7440fee85c6d2d4c5854337ae8bf3ed7aea91a50 (diff) |
Add initial support in Makefiles for audaspace.
Note: removed hardcoded path in include directive. Check other build systems.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/audaspace/AUD_C-API.h | 2 | ||||
-rw-r--r-- | intern/audaspace/FX/Makefile | 43 | ||||
-rw-r--r-- | intern/audaspace/Makefile | 6 | ||||
-rw-r--r-- | intern/audaspace/SRC/Makefile | 43 |
4 files changed, 91 insertions, 3 deletions
diff --git a/intern/audaspace/AUD_C-API.h b/intern/audaspace/AUD_C-API.h index 1ee4b33e9fe..b08f05db1ca 100644 --- a/intern/audaspace/AUD_C-API.h +++ b/intern/audaspace/AUD_C-API.h @@ -30,7 +30,7 @@ extern "C" { #endif -#include "intern/AUD_Space.h" +#include "AUD_Space.h" typedef enum { diff --git a/intern/audaspace/FX/Makefile b/intern/audaspace/FX/Makefile new file mode 100644 index 00000000000..bda0e2bdab6 --- /dev/null +++ b/intern/audaspace/FX/Makefile @@ -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. diff --git a/intern/audaspace/Makefile b/intern/audaspace/Makefile index b8832529d22..8ede55800a5 100644 --- a/intern/audaspace/Makefile +++ b/intern/audaspace/Makefile @@ -36,7 +36,9 @@ LIBNAME = audaspace SOURCEDIR = intern/audaspace DIR = $(OCGDIR)/$(SOURCEDIR) DIRS = intern +DIRS += FX DIRS += SDL +DIRS += SRC ifeq ($(WITH_FFMPEG),true) DIRS += ffmpeg @@ -48,10 +50,10 @@ install: $(ALL_OR_DEBUG) @[ -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/ diff --git a/intern/audaspace/SRC/Makefile b/intern/audaspace/SRC/Makefile new file mode 100644 index 00000000000..07804d3b37b --- /dev/null +++ b/intern/audaspace/SRC/Makefile @@ -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. |