Package: stk / 4.4.4-5+deb8u1

02-realtime.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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(+)

--- a/Makefile.in
+++ b/Makefile.in
@@ -2,30 +2,38 @@
 
 RM = /bin/rm
 
+REALTIME = @realtime@
+
 all :
 	cd src && $(MAKE)
+ifeq ($(REALTIME),yes)
 	cd projects/demo && $(MAKE) stk-demo
 	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
+ifeq ($(REALTIME),yes)
 	cd projects/demo && $(MAKE) clean
 	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
+ifeq ($(REALTIME),yes)
 	cd projects/demo && $(MAKE) distclean
 	cd projects/effects && $(MAKE) distclean
 	cd projects/ragamatic && $(MAKE) distclean
 	cd projects/eguitar && $(MAKE) distclean
+endif
 	cd projects/examples && $(MAKE) distclean
 
 install: