]> git.pld-linux.org Git - packages/ladspa-tap-plugins.git/commitdiff
- make use of destdir and our optflags
authorfreetz <freetz@pld-linux.org>
Fri, 6 Feb 2004 22:29:24 +0000 (22:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch -> 1.1

ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch [new file with mode: 0644]

diff --git a/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch b/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
new file mode 100644 (file)
index 0000000..4c8db2f
--- /dev/null
@@ -0,0 +1,57 @@
+diff -aurN tap-plugins-0.2.0.orig/Makefile tap-plugins-0.2.0/Makefile
+--- tap-plugins-0.2.0.orig/Makefile    2004-01-29 17:17:56.000000000 +0100
++++ tap-plugins-0.2.0/Makefile 2004-02-06 23:25:43.165927008 +0100
+@@ -23,8 +23,8 @@
+ # Change this if you want to install somewhere else. In particularly
+ # you may wish to remove the middle "local/" part of the path.
+-INSTALL_PLUGINS_DIR   =       /usr/local/lib/ladspa/
+-INSTALL_LRDF_DIR      =       /usr/local/share/ladspa/rdf/
++INSTALL_PLUGINS_DIR   =       $(DESTDIR)/usr/lib/ladspa
++INSTALL_LRDF_DIR      =       $(DESTDIR)/usr/share/ladspa/rdf
+ # NO EDITING below this line is required
+ # if all you want to do is install and use the plugins.
+@@ -47,33 +47,33 @@
+ # RULES TO BUILD PLUGINS FROM C CODE
+ tap_tremolo.so: tap_tremolo.c tap_utils.h ladspa.h
+-      $(CC) -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_tremolo.c -o tap_tremolo.o
++      $(CC) -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_tremolo.c -o tap_tremolo.o
+       $(CC) -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o tap_tremolo.so tap_tremolo.o
+ tap_eq.so: tap_eq.c tap_utils.h ladspa.h
+-      $(CC) -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_eq.c -o tap_eq.o
++      $(CC) -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_eq.c -o tap_eq.o
+       $(CC) -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o tap_eq.so tap_eq.o
+ tap_echo.so: tap_echo.c tap_utils.h ladspa.h
+-      $(CC) -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_echo.c -o tap_echo.o
++      $(CC) -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_echo.c -o tap_echo.o
+       $(CC) -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o tap_echo.so tap_echo.o
+ tap_reverb.so: tap_reverb.c tap_reverb.h tap_reverb_presets.h tap_utils.h ladspa.h
+-      $(CC) -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_reverb.c -o tap_reverb.o
++      $(CC) -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_reverb.c -o tap_reverb.o
+       $(CC) -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o tap_reverb.so tap_reverb.o
+ tap_limiter.so: tap_limiter.c tap_utils.h ladspa.h
+-      $(CC) -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_limiter.c -o tap_limiter.o
++      $(CC) -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC tap_limiter.c -o tap_limiter.o
+       $(CC) -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt -o tap_limiter.so tap_limiter.o
+ # OTHER TARGETS
+ install: targets
+-      -mkdirhier      $(INSTALL_PLUGINS_DIR)
+-      cp *.so         $(INSTALL_PLUGINS_DIR)
+-      -mkdirhier      $(INSTALL_LRDF_DIR)
+-      cp tap-plugins.rdf $(INSTALL_LRDF_DIR)
++      mkdir -p                $(INSTALL_PLUGINS_DIR)
++      cp *.so                 $(INSTALL_PLUGINS_DIR)
++      mkdir -p                $(INSTALL_LRDF_DIR)
++      cp tap-plugins.rdf      $(INSTALL_LRDF_DIR)
+ targets:      $(PLUGINS)
This page took 0.092857 seconds and 4 git commands to generate.