8 |
src/qsamplerOptions.h \ |
src/qsamplerOptions.h \ |
9 |
src/qsamplerChannel.h \ |
src/qsamplerChannel.h \ |
10 |
src/qsamplerMessages.h \ |
src/qsamplerMessages.h \ |
11 |
|
src/qsamplerInstrument.h \ |
12 |
|
src/qsamplerInstrumentList.h \ |
13 |
src/qsamplerDevice.h \ |
src/qsamplerDevice.h \ |
14 |
src/qsamplerDeviceForm.ui.h \ |
src/qsamplerUtilities.h \ |
15 |
src/qsamplerChannelStrip.ui.h \ |
src/qsamplerInstrumentForm.h \ |
16 |
src/qsamplerChannelForm.ui.h \ |
src/qsamplerInstrumentListForm.h \ |
17 |
src/qsamplerOptionsForm.ui.h \ |
src/qsamplerDeviceForm.h \ |
18 |
src/qsamplerMainForm.ui.h |
src/qsamplerChannelStrip.h \ |
19 |
|
src/qsamplerChannelForm.h \ |
20 |
|
src/qsamplerOptionsForm.h \ |
21 |
|
src/qsamplerMainForm.h |
22 |
|
|
23 |
sources = src/main.cpp \ |
sources = src/main.cpp \ |
24 |
src/qsamplerOptions.cpp \ |
src/qsamplerOptions.cpp \ |
25 |
src/qsamplerChannel.cpp \ |
src/qsamplerChannel.cpp \ |
26 |
src/qsamplerMessages.cpp \ |
src/qsamplerMessages.cpp \ |
27 |
|
src/qsamplerInstrument.cpp \ |
28 |
|
src/qsamplerInstrumentList.cpp \ |
29 |
src/qsamplerDevice.cpp \ |
src/qsamplerDevice.cpp \ |
30 |
|
src/qsamplerUtilities.cpp \ |
31 |
|
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 |
|
src/qsamplerInstrumentForm.ui \ |
41 |
|
src/qsamplerInstrumentListForm.ui \ |
42 |
src/qsamplerDeviceForm.ui \ |
src/qsamplerDeviceForm.ui \ |
43 |
src/qsamplerChannelStrip.ui \ |
src/qsamplerChannelStrip.ui \ |
44 |
src/qsamplerChannelForm.ui \ |
src/qsamplerChannelForm.ui \ |
50 |
$(name).mak: $(name).pro |
$(name).mak: $(name).pro |
51 |
@$(qmake) -o $(name).mak $(name).pro |
@$(qmake) -o $(name).mak $(name).pro |
52 |
|
|
53 |
$(name): $(name).mak $(sources) $(headers) |
$(name): $(name).mak $(sources) $(headers) $(forms) |
54 |
@make -f $(name).mak $(name) |
@make -f $(name).mak |
55 |
|
|
|
install: $(name) icons/$(name).png |
|
|
@install -vD $(name) $(prefix)/bin/$(name) |
|
|
@install -vD icons/$(name).png $(prefix)/share/icons/$(name).png |
|
56 |
|
|
57 |
uninstall: $(prefix)/bin/$(name) |
# NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!! |
58 |
@rm -vf $(prefix)/bin/$(name) |
# It is mandatory for Debian packaging. |
59 |
@rm -vf $(prefix)/share/icons/$(name).png |
|
60 |
|
install: $(name) icons/$(name).png |
61 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/bin |
62 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps |
63 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications |
64 |
|
@install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name) |
65 |
|
@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 |
|
|
68 |
|
uninstall: $(DESTDIR)$(prefix)/bin/$(name) |
69 |
|
@rm -vf $(DESTDIR)$(prefix)/bin/$(name) |
70 |
|
@rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png |
71 |
|
@rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop |
72 |
|
|
73 |
clean: $(name).mak |
clean: $(name).mak |
74 |
@make -f $(name).mak clean |
@make -f $(name).mak clean |