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/qsamplerInstrumentForm.ui.h \ |
15 |
|
src/qsamplerInstrumentListForm.ui.h \ |
16 |
src/qsamplerDeviceForm.ui.h \ |
src/qsamplerDeviceForm.ui.h \ |
17 |
src/qsamplerChannelStrip.ui.h \ |
src/qsamplerChannelStrip.ui.h \ |
18 |
src/qsamplerChannelForm.ui.h \ |
src/qsamplerChannelForm.ui.h \ |
19 |
src/qsamplerOptionsForm.ui.h \ |
src/qsamplerOptionsForm.ui.h \ |
20 |
src/qsamplerMainForm.ui.h |
src/qsamplerMainForm.ui.h \ |
21 |
|
src/qsamplerUtilities.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.ui \ |
32 |
|
src/qsamplerInstrumentListForm.ui \ |
33 |
src/qsamplerDeviceForm.ui \ |
src/qsamplerDeviceForm.ui \ |
34 |
src/qsamplerChannelStrip.ui \ |
src/qsamplerChannelStrip.ui \ |
35 |
src/qsamplerChannelForm.ui \ |
src/qsamplerChannelForm.ui \ |
42 |
@$(qmake) -o $(name).mak $(name).pro |
@$(qmake) -o $(name).mak $(name).pro |
43 |
|
|
44 |
$(name): $(name).mak $(sources) $(headers) |
$(name): $(name).mak $(sources) $(headers) |
45 |
@make -f $(name).mak $(name) |
@make -f $(name).mak |
46 |
|
|
|
install: $(name) icons/$(name).png |
|
|
@install -vD $(name) $(prefix)/bin/$(name) |
|
|
@install -vD icons/$(name).png $(prefix)/share/icons/$(name).png |
|
47 |
|
|
48 |
uninstall: $(prefix)/bin/$(name) |
# NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!! |
49 |
@rm -vf $(prefix)/bin/$(name) |
# It is mandatory for Debian packaging. |
50 |
@rm -vf $(prefix)/share/icons/$(name).png |
|
51 |
|
install: $(name) icons/$(name).png |
52 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/bin |
53 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps |
54 |
|
@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications |
55 |
|
@install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name) |
56 |
|
@install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png |
57 |
|
@install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop |
58 |
|
|
59 |
|
uninstall: $(DESTDIR)$(prefix)/bin/$(name) |
60 |
|
@rm -vf $(DESTDIR)$(prefix)/bin/$(name) |
61 |
|
@rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png |
62 |
|
@rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop |
63 |
|
|
64 |
clean: $(name).mak |
clean: $(name).mak |
65 |
@make -f $(name).mak clean |
@make -f $(name).mak clean |