blob: a73531f2f772166297c9a4036b64ab2df5274c35 (
plain)
1 --- makefile.orig 2007-01-09 22:44:04.000000000 +1100
2 +++ makefile 2007-01-09 22:46:25.000000000 +1100
3 @@ -5,9 +5,9 @@
4 # Change these if you want to install somewhere else. In particularly
5 # you may wish to remove the middle "local/" part of each entry.
6
7 -INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
8 -INSTALL_INCLUDE_DIR = /usr/include/
9 -INSTALL_BINARY_DIR = /usr/local/bin/
10 +INSTALL_PLUGINS_DIR = $(DESTDIR)/usr/lib/ladspa/
11 +INSTALL_INCLUDE_DIR = $(DESTDIR)/usr/include/
12 +INSTALL_BINARY_DIR = $(DESTDIR)/usr/bin/
13
14 ###############################################################################
15 #
16 @@ -16,7 +16,7 @@
17
18 INCLUDES = -I.
19 LIBRARIES = -ldl -lm
20 -CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
21 +CFLAGS += $(INCLUDES) -Wall -Werror -fPIC
22 CXXFLAGS = $(CFLAGS)
23 PLUGINS = ../plugins/amp.so \
24 ../plugins/delay.so \
25 @@ -47,19 +47,20 @@
26 # TARGETS
27 #
28
29 -test: /tmp/test.wav ../snd/noise.wav always
30 - @echo ---------------------------------------------
31 - @echo First listen to the white noise input signal:
32 - @echo ---------------------------------------------
33 - play ../snd/noise.wav
34 - @echo -------------------------
35 - @echo Compare to plugin output.
36 - @echo -------------------------
37 - @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
38 - play /tmp/test.wav
39 +test:
40 +# /tmp/test.wav ../snd/noise.wav always
41 +# @echo ---------------------------------------------
42 +# @echo First listen to the white noise input signal:
43 +# @echo ---------------------------------------------
44 +# play ../snd/noise.wav
45 +# @echo -------------------------
46 +# @echo Compare to plugin output.
47 +# @echo -------------------------
48 +# @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
49 +# play /tmp/test.wav
50
51 install: targets
52 - -mkdirhier $(INSTALL_PLUGINS_DIR) \
53 + mkdir -p $(INSTALL_PLUGINS_DIR) \
54 $(INSTALL_INCLUDE_DIR) \
55 $(INSTALL_BINARY_DIR)
56 cp ../plugins/* $(INSTALL_PLUGINS_DIR)
57 @@ -123,4 +124,3 @@
58 tar czf `date '+../backup/ladspa_sdk.%Y%m%d%H%M.tgz'` ladspa_sdk/)
59
60 ###############################################################################
61 -
|