Debian Codegraph @

Makefile

raw ◀ ▶
Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # Copyright (C) 2003-2008 Fons Adriaensen <[email protected]>
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
17
18 CPPFLAGS += -I. -fPIC -D_REENTRANT -Wall -O3
19
20
21 all: mvclpf24.so mvchpf24.so cs_phaser.so cs_chorus.so
22
23
24 mvclpf24.so: mvclpf24.o mvclpf24_if.o exp2ap.o
25 $(CXX) $(LDFLAGS) -shared mvclpf24.o mvclpf24_if.o exp2ap.o -o mvclpf24.so
26
27 mvclpf24.o: ladspaplugin.h mvclpf24.h
28 mvclpf24_if.o: ladspaplugin.h mvclpf24.h
29
30
31 mvchpf24.so: mvchpf24.o mvchpf24_if.o exp2ap.o
32 $(CXX) $(LDFLAGS) -shared mvchpf24.o mvchpf24_if.o exp2ap.o -o mvchpf24.so
33
34 mvchpf24.o: ladspaplugin.h mvchpf24.h
35 mvchpf24_if.o: ladspaplugin.h mvchpf24.h
36
37
38 cs_phaser.so: cs_phaser.o cs_phaser_if.o exp2ap.o
39 $(CXX) $(LDFLAGS) -shared cs_phaser.o cs_phaser_if.o exp2ap.o -o cs_phaser.so
40
41 cs_phaser.o: ladspaplugin.h cs_phaser.h
42 cs_phaser_if.o: ladspaplugin.h cs_phaser.h
43
44
45 cs_chorus.so: cs_chorus.o cs_chorus_if.o exp2ap.o
46 $(CXX) $(LDFLAGS) -shared cs_chorus.o cs_chorus_if.o exp2ap.o -o cs_chorus.so
47
48 cs_chorus.o: ladspaplugin.h cs_chorus.h
49 cs_chorus_if.o: ladspaplugin.h cs_chorus.h
50
51
52 install: all
53 cp *.so $(DESTDIR)/usr/lib/ladspa
54
55
56 DIR := $(shell basename `pwd`)
57
58 archive: clean
59 cd ..; /bin/rm -f $(DIR).tar.bz2; tar cvjf $(DIR).tar.bz2 $(DIR)
60
61 clean:
62 /bin/rm -f *~ *.o *.so
63