Author: Pino Toscano <toscano.pino@tiscali.it>
Description: Enable realtime support only on those architectures that
 actually provide it.
Forwarded: no
---
 Makefile.in |    8 ++++++++
 1 file changed, 8 insertions(+)

--- stk.orig/Makefile.in
+++ stk/Makefile.in
@@ -2,30 +2,38 @@
 
 RM = /bin/rm
 
+REALTIME = @realtime@
+
 all :
 	cd src && $(MAKE)
 	cd projects/demo && $(MAKE) stk-demo
+ifeq ($(REALTIME),yes)
 	cd projects/effects && $(MAKE) libeffects
 	cd projects/ragamatic && $(MAKE) libragamat
 	cd projects/eguitar && $(MAKE) libeguitar
+endif
 	cd projects/examples && $(MAKE) -f libMakefile
 
 clean : 
 	$(RM) -f *~
 	cd src && $(MAKE) clean
 	cd projects/demo && $(MAKE) clean
+ifeq ($(REALTIME),yes)
 	cd projects/effects && $(MAKE) clean
 	cd projects/ragamatic && $(MAKE) clean
 	cd projects/eguitar && $(MAKE) clean
+endif
 	cd projects/examples && $(MAKE) clean
 
 distclean: clean
 	$(RM) -rf config.log config.status autom4te.cache Makefile
 	cd src && $(MAKE) distclean
 	cd projects/demo && $(MAKE) distclean
+ifeq ($(REALTIME),yes)
 	cd projects/effects && $(MAKE) distclean
 	cd projects/ragamatic && $(MAKE) distclean
 	cd projects/eguitar && $(MAKE) distclean
+endif
 	cd projects/examples && $(MAKE) distclean
 
 install:
