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