2009-08-09 21:16:39 +00:00
|
|
|
# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
|
|
|
|
# vim: tabstop=8
|
|
|
|
#
|
2009-08-09 23:23:19 +00:00
|
|
|
# $Id$
|
2009-08-09 21:16:39 +00:00
|
|
|
#
|
|
|
|
# ***** 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): GSR
|
|
|
|
#
|
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
include nan_definitions.mk
|
|
|
|
|
|
|
|
LIBNAME = audaspace
|
|
|
|
SOURCEDIR = intern/audaspace
|
|
|
|
DIR = $(OCGDIR)/$(SOURCEDIR)
|
|
|
|
DIRS = intern
|
2009-08-10 01:56:54 +00:00
|
|
|
DIRS += FX
|
2009-08-09 21:16:39 +00:00
|
|
|
DIRS += SDL
|
2009-08-10 01:56:54 +00:00
|
|
|
DIRS += SRC
|
2010-08-16 17:04:46 +00:00
|
|
|
DIRS += Python
|
2009-08-09 21:16:39 +00:00
|
|
|
|
|
|
|
ifeq ($(WITH_FFMPEG),true)
|
|
|
|
DIRS += ffmpeg
|
|
|
|
endif
|
|
|
|
|
Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false
and with this:
NAN_OPENAL, default /usr
NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a
NAN_SNDFILE, default /usr
NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.
Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
|
|
|
ifeq ($(WITH_OPENAL),true)
|
|
|
|
DIRS += OpenAL
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_JACK),true)
|
|
|
|
DIRS += jack
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_SNDFILE),true)
|
|
|
|
DIRS += sndfile
|
|
|
|
endif
|
|
|
|
|
2010-10-24 00:09:23 +00:00
|
|
|
# Not in use currently, see also source/Makefile and r31375
|
2010-08-16 12:27:51 +00:00
|
|
|
#ifeq ($(WITH_FFTW3),true)
|
|
|
|
# DIRS += fftw
|
|
|
|
#endif
|
2009-12-28 23:40:20 +00:00
|
|
|
|
2009-08-09 21:16:39 +00:00
|
|
|
include nan_subdirs.mk
|
|
|
|
|
|
|
|
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)
|
2010-08-16 17:04:46 +00:00
|
|
|
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaudaspace.a $(DIR)/$(DEBUG_DIR)libaud_sdl.a $(DIR)/$(DEBUG_DIR)libaud_python.a $(DIR)/$(DEBUG_DIR)libaud_fx.a $(DIR)/$(DEBUG_DIR)libaud_src.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false
and with this:
NAN_OPENAL, default /usr
NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a
NAN_SNDFILE, default /usr
NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.
Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
|
|
|
|
|
|
|
ifeq ($(WITH_FFMPEG),true)
|
|
|
|
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_ffmpeg.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_OPENAL),true)
|
|
|
|
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_openal.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_JACK),true)
|
|
|
|
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_jack.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_SNDFILE),true)
|
|
|
|
@../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_sndfile.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
|
|
|
endif
|
2009-08-16 11:19:22 +00:00
|
|
|
|
2010-08-16 12:27:51 +00:00
|
|
|
#ifeq ($(WITH_FFTW3),true)
|
|
|
|
# @../tools/cpifdiff.sh $(DIR)/$(DEBUG_DIR)libaud_fftw.a $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)
|
|
|
|
#endif
|
2009-12-28 23:40:20 +00:00
|
|
|
|
2009-08-09 21:16:39 +00:00
|
|
|
ifeq ($(OS),darwin)
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaudaspace.a
|
2009-08-16 11:19:22 +00:00
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_src.a
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fx.a
|
Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false
and with this:
NAN_OPENAL, default /usr
NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a
NAN_SNDFILE, default /usr
NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.
Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sdl.a
|
|
|
|
|
|
|
|
ifeq ($(WITH_FFMPEG),true)
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_ffmpeg.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_OPENAL),true)
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_openal.a
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(WITH_JACK),true)
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_jack.a
|
2009-08-09 21:16:39 +00:00
|
|
|
endif
|
|
|
|
|
Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false
and with this:
NAN_OPENAL, default /usr
NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a
NAN_SNDFILE, default /usr
NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.
Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
|
|
|
ifeq ($(WITH_SNDFILE),true)
|
|
|
|
ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_sndfile.a
|
|
|
|
endif
|
2009-08-09 21:16:39 +00:00
|
|
|
|
2010-08-16 12:27:51 +00:00
|
|
|
#ifeq ($(WITH_FFTW3),true)
|
|
|
|
# ranlib $(NAN_AUDASPACE)/lib/$(DEBUG_DIR)libaud_fftw.a
|
|
|
|
#endif
|
2009-12-28 23:40:20 +00:00
|
|
|
|
Update Makefiles for audaspace.
This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false
and with this:
NAN_OPENAL, default /usr
NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a
NAN_SNDFILE, default /usr
NAN_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.
Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.
2009-08-21 22:56:26 +00:00
|
|
|
endif
|
|
|
|
@../tools/cpifdiff.sh intern/*.h $(NAN_AUDASPACE)/include/
|