audio plug-ins can now be built from another directory as core/plug-in/.

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@18 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 21 years ago
parent b9f68eac00
commit 60dfce998f

@ -1,9 +1,11 @@
include ../../Makefile.defs
COREPATH ?=../..
include $(COREPATH)/Makefile.defs
ldflags = -shared $(module_ldflags)
cflags = -fPIC -I ../../amci -Wall $(module_cflags)
cflags = -I $(COREPATH) -I $(COREPATH)/amci -Wall $(module_cflags)
#-fPIC
audio_mod_dir = ../../lib
audio_mod_dir = $(COREPATH)/lib
lib_name = $(plug_in_name).so
lib_full_name = $(audio_mod_dir)/$(lib_name)
@ -31,7 +33,7 @@ install: $(lib_name) $(extra_install)
$(INSTALL-TOUCH) $(modules-prefix)/$(modules-dir)/$(lib_name) ; \
$(INSTALL-MODULES) $(lib_name) $(modules-prefix)/$(modules-dir)
%.d: %.c Makefile ../Makefile.audio_module
%.d: %.c Makefile $(COREPATH)/plug-in/Makefile.audio_module
gcc -MM $< $(cflags) > $@
%.o: %.c %.d

Loading…
Cancel
Save