freesurround-alsa-plugin

FORK: Freesurround ALSA plugin
git clone https://git.neptards.moe/u3shit/freesurround-alsa-plugin.git
Log | Files | Refs | README | LICENSE

Makefile (1472B)


      1 all:
      2 	[ ! -d .deps ] && mkdir .deps || echo;
      3 	if libtool --tag=CC --mode=compile gcc $(CFLAGS) -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_freesurround.lo -MD -MP -MF ".deps/pcm_freesurround.Tpo" -c -o pcm_freesurround.lo pcm_freesurround.c; \
      4 		then mv -f ".deps/pcm_freesurround.Tpo" ".deps/pcm_freesurround.Plo"; else rm -f ".deps/pcm_freesurround.Tpo"; exit 1; fi 
      5 	mkdir .libs 2>/dev/null ; \
      6 	gcc $(CFLAGS) -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -I/usr/include/alsa -g -O2 -MT pcm_freesurround.lo -MD -MP -MF .deps/pcm_freesurround.Tpo -c pcm_freesurround.c  -fPIC -DPIC -o .libs/pcm_freesurround.o
      7 	libtool --tag=CC --mode=link gcc $(CFLAGS) -Wall -g -I/usr/include/alsa -g -O2 -module -avoid-version -export-dynamic   -o libasound_module_pcm_freesurround.la pcm_freesurround.lo -lasound   -lfftw3 -lfftw3f
      8 	gcc $(CFLAGS) -shared  .libs/pcm_freesurround.o -lfftw3 -lfftw3f -lasound  -Wl,-soname -Wl,libasound_module_pcm_freesurround.so -o .libs/libasound_module_pcm_freesurround.so
      9 
     10 install:
     11 	cp .libs/libasound_module_pcm_freesurround.so /usr/lib/alsa-lib/
     12 	cp .libs/libasound_module_pcm_freesurround.a /usr/lib/alsa-lib/
     13 	cp libasound_module_pcm_freesurround.la /usr/lib/alsa-lib/
     14 
     15 uninstall:
     16 	rm /usr/lib/alsa-lib/libasound_module_pcm_freesurround.so 
     17 	rm /usr/lib/alsa-lib/libasound_module_pcm_freesurround.a 
     18 	rm /usr/lib/alsa-lib/libasound_module_pcm_freesurround.la 
     19 
     20 
     21 clean:
     22 	rm -rf .deps/
     23 	rm -rf .libs/
     24 	rm -f *.o *.lo *.la