1 |
capela |
75 |
prefix = @ac_prefix@ |
2 |
|
|
qmake = @ac_qmake@ |
3 |
|
|
|
4 |
|
|
name = qsampler |
5 |
|
|
|
6 |
|
|
headers = config.h \ |
7 |
|
|
src/qsamplerAbout.h \ |
8 |
|
|
src/qsamplerOptions.h \ |
9 |
capela |
264 |
src/qsamplerChannel.h \ |
10 |
capela |
75 |
src/qsamplerMessages.h \ |
11 |
capela |
961 |
src/qsamplerInstrument.h \ |
12 |
|
|
src/qsamplerInstrumentList.h \ |
13 |
capela |
431 |
src/qsamplerDevice.h \ |
14 |
schoenebeck |
1667 |
src/qsamplerFxSend.h \ |
15 |
|
|
src/qsamplerFxSendsModel.h \ |
16 |
capela |
1504 |
src/qsamplerUtilities.h \ |
17 |
schoenebeck |
1462 |
src/qsamplerInstrumentForm.h \ |
18 |
|
|
src/qsamplerInstrumentListForm.h \ |
19 |
|
|
src/qsamplerDeviceForm.h \ |
20 |
|
|
src/qsamplerChannelStrip.h \ |
21 |
|
|
src/qsamplerChannelForm.h \ |
22 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.h \ |
23 |
schoenebeck |
1462 |
src/qsamplerOptionsForm.h \ |
24 |
capela |
1504 |
src/qsamplerMainForm.h |
25 |
capela |
75 |
|
26 |
|
|
sources = src/main.cpp \ |
27 |
|
|
src/qsamplerOptions.cpp \ |
28 |
capela |
264 |
src/qsamplerChannel.cpp \ |
29 |
capela |
75 |
src/qsamplerMessages.cpp \ |
30 |
capela |
961 |
src/qsamplerInstrument.cpp \ |
31 |
|
|
src/qsamplerInstrumentList.cpp \ |
32 |
capela |
431 |
src/qsamplerDevice.cpp \ |
33 |
schoenebeck |
1667 |
src/qsamplerFxSend.cpp \ |
34 |
|
|
src/qsamplerFxSendsModel.cpp \ |
35 |
schoenebeck |
1386 |
src/qsamplerUtilities.cpp \ |
36 |
capela |
1466 |
src/qsamplerInstrumentForm.cpp \ |
37 |
|
|
src/qsamplerInstrumentListForm.cpp \ |
38 |
|
|
src/qsamplerDeviceForm.cpp \ |
39 |
|
|
src/qsamplerChannelStrip.cpp \ |
40 |
|
|
src/qsamplerChannelForm.cpp \ |
41 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.cpp \ |
42 |
capela |
1466 |
src/qsamplerOptionsForm.cpp \ |
43 |
|
|
src/qsamplerMainForm.cpp |
44 |
|
|
|
45 |
|
|
forms = \ |
46 |
capela |
961 |
src/qsamplerInstrumentForm.ui \ |
47 |
|
|
src/qsamplerInstrumentListForm.ui \ |
48 |
capela |
426 |
src/qsamplerDeviceForm.ui \ |
49 |
capela |
75 |
src/qsamplerChannelStrip.ui \ |
50 |
|
|
src/qsamplerChannelForm.ui \ |
51 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.ui \ |
52 |
capela |
75 |
src/qsamplerOptionsForm.ui \ |
53 |
|
|
src/qsamplerMainForm.ui |
54 |
|
|
|
55 |
|
|
all: $(name) |
56 |
|
|
|
57 |
|
|
$(name).mak: $(name).pro |
58 |
|
|
@$(qmake) -o $(name).mak $(name).pro |
59 |
|
|
|
60 |
capela |
1466 |
$(name): $(name).mak $(sources) $(headers) $(forms) |
61 |
capela |
525 |
@make -f $(name).mak |
62 |
capela |
75 |
|
63 |
schoenebeck |
545 |
|
64 |
|
|
# NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!! |
65 |
|
|
# It is mandatory for Debian packaging. |
66 |
|
|
|
67 |
capela |
75 |
install: $(name) icons/$(name).png |
68 |
capela |
631 |
@install -d -v -m 0755 $(DESTDIR)$(prefix)/bin |
69 |
capela |
1255 |
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps |
70 |
|
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications |
71 |
capela |
631 |
@install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name) |
72 |
capela |
1255 |
@install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png |
73 |
|
|
@install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop |
74 |
capela |
75 |
|
75 |
schoenebeck |
545 |
uninstall: $(DESTDIR)$(prefix)/bin/$(name) |
76 |
|
|
@rm -vf $(DESTDIR)$(prefix)/bin/$(name) |
77 |
capela |
1255 |
@rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png |
78 |
|
|
@rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop |
79 |
capela |
75 |
|
80 |
|
|
clean: $(name).mak |
81 |
|
|
@make -f $(name).mak clean |
82 |
|
|
@rm -f $(name) $(name).mak |
83 |
|
|
@rm -rf *.cache *.log *.status |