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