1 |
capela |
75 |
prefix = @ac_prefix@ |
2 |
|
|
|
3 |
|
|
name = qsampler |
4 |
|
|
|
5 |
capela |
2074 |
target = src/$(name) |
6 |
|
|
|
7 |
|
|
headers = \ |
8 |
|
|
src/config.h \ |
9 |
capela |
75 |
src/qsamplerAbout.h \ |
10 |
|
|
src/qsamplerOptions.h \ |
11 |
capela |
264 |
src/qsamplerChannel.h \ |
12 |
capela |
75 |
src/qsamplerMessages.h \ |
13 |
capela |
961 |
src/qsamplerInstrument.h \ |
14 |
|
|
src/qsamplerInstrumentList.h \ |
15 |
capela |
431 |
src/qsamplerDevice.h \ |
16 |
schoenebeck |
1667 |
src/qsamplerFxSend.h \ |
17 |
|
|
src/qsamplerFxSendsModel.h \ |
18 |
capela |
1504 |
src/qsamplerUtilities.h \ |
19 |
schoenebeck |
1462 |
src/qsamplerInstrumentForm.h \ |
20 |
|
|
src/qsamplerInstrumentListForm.h \ |
21 |
|
|
src/qsamplerDeviceForm.h \ |
22 |
schoenebeck |
1698 |
src/qsamplerDeviceStatusForm.h \ |
23 |
schoenebeck |
1462 |
src/qsamplerChannelStrip.h \ |
24 |
|
|
src/qsamplerChannelForm.h \ |
25 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.h \ |
26 |
schoenebeck |
1462 |
src/qsamplerOptionsForm.h \ |
27 |
capela |
1504 |
src/qsamplerMainForm.h |
28 |
capela |
75 |
|
29 |
capela |
2074 |
sources = \ |
30 |
|
|
src/qsampler.cpp \ |
31 |
capela |
75 |
src/qsamplerOptions.cpp \ |
32 |
capela |
264 |
src/qsamplerChannel.cpp \ |
33 |
capela |
75 |
src/qsamplerMessages.cpp \ |
34 |
capela |
961 |
src/qsamplerInstrument.cpp \ |
35 |
|
|
src/qsamplerInstrumentList.cpp \ |
36 |
capela |
431 |
src/qsamplerDevice.cpp \ |
37 |
schoenebeck |
1667 |
src/qsamplerFxSend.cpp \ |
38 |
|
|
src/qsamplerFxSendsModel.cpp \ |
39 |
schoenebeck |
1386 |
src/qsamplerUtilities.cpp \ |
40 |
capela |
1466 |
src/qsamplerInstrumentForm.cpp \ |
41 |
|
|
src/qsamplerInstrumentListForm.cpp \ |
42 |
|
|
src/qsamplerDeviceForm.cpp \ |
43 |
schoenebeck |
1698 |
src/qsamplerDeviceStatusForm.cpp \ |
44 |
capela |
1466 |
src/qsamplerChannelStrip.cpp \ |
45 |
|
|
src/qsamplerChannelForm.cpp \ |
46 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.cpp \ |
47 |
capela |
1466 |
src/qsamplerOptionsForm.cpp \ |
48 |
|
|
src/qsamplerMainForm.cpp |
49 |
|
|
|
50 |
|
|
forms = \ |
51 |
capela |
961 |
src/qsamplerInstrumentForm.ui \ |
52 |
|
|
src/qsamplerInstrumentListForm.ui \ |
53 |
capela |
426 |
src/qsamplerDeviceForm.ui \ |
54 |
capela |
75 |
src/qsamplerChannelStrip.ui \ |
55 |
|
|
src/qsamplerChannelForm.ui \ |
56 |
schoenebeck |
1667 |
src/qsamplerChannelFxForm.ui \ |
57 |
capela |
75 |
src/qsamplerOptionsForm.ui \ |
58 |
|
|
src/qsamplerMainForm.ui |
59 |
|
|
|
60 |
capela |
2074 |
resources = \ |
61 |
|
|
src/qsampler.qrc |
62 |
|
|
|
63 |
capela |
1873 |
translations_sources = \ |
64 |
capela |
2074 |
src/translations/qsampler_cs.ts \ |
65 |
|
|
src/translations/qsampler_ru.ts |
66 |
capela |
75 |
|
67 |
capela |
1873 |
translations_targets = \ |
68 |
capela |
2074 |
src/translations/qsampler_cs.qm \ |
69 |
|
|
src/translations/qsampler_ru.qm |
70 |
capela |
1873 |
|
71 |
capela |
2283 |
|
72 |
capela |
2293 |
export datarootdir = @datarootdir@ |
73 |
capela |
2631 |
export datadir = @datadir@ |
74 |
capela |
2642 |
export mandir = @mandir@ |
75 |
capela |
2283 |
|
76 |
capela |
2631 |
translations_dir = $(datadir)/$(name)/translations |
77 |
capela |
2283 |
|
78 |
capela |
2631 |
|
79 |
capela |
2835 |
export QMAKE = @ac_qmake@ |
80 |
|
|
export LUPDATE = @ac_lupdate@ |
81 |
|
|
export LRELEASE = @ac_lrelease@ |
82 |
|
|
|
83 |
schoenebeck |
2910 |
# let GCC auto detect whether it (sh/c)ould output its messages in color |
84 |
|
|
export GCC_COLORS=auto |
85 |
capela |
2835 |
|
86 |
capela |
2416 |
all: $(target) |
87 |
capela |
1873 |
|
88 |
capela |
2074 |
|
89 |
|
|
$(target): $(name).mak $(resources) ${forms} $(sources) $(headers) |
90 |
capela |
2339 |
@$(MAKE) -f $(name).mak |
91 |
capela |
2074 |
|
92 |
capela |
75 |
$(name).mak: $(name).pro |
93 |
capela |
2835 |
@$(QMAKE) -o $(name).mak $(name).pro |
94 |
capela |
75 |
|
95 |
capela |
2416 |
|
96 |
|
|
translations_lupdate: $(name).pro |
97 |
capela |
2861 |
@$(LUPDATE) -verbose -no-obsolete $(name).pro |
98 |
schoenebeck |
545 |
|
99 |
capela |
2416 |
translations_lrelease: translations_lupdate $(translations_targets) |
100 |
|
|
|
101 |
capela |
1873 |
%.qm: %.ts |
102 |
capela |
2835 |
@$(LRELEASE) -verbose $< -qm $@ |
103 |
capela |
1873 |
|
104 |
schoenebeck |
545 |
|
105 |
capela |
2642 |
install: $(target) translations_lrelease $(name).1 |
106 |
capela |
2339 |
@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install |
107 |
capela |
2631 |
@install -d -v -m 0755 $(DESTDIR)$(translations_dir) |
108 |
capela |
2642 |
@install -d -v -m 0755 $(DESTDIR)$(mandir)/man1 |
109 |
capela |
2631 |
@install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir) |
110 |
capela |
2642 |
@install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1 |
111 |
|
|
@gzip -vf $(DESTDIR)$(mandir)/man1/$(name).1 |
112 |
capela |
75 |
|
113 |
capela |
2283 |
uninstall: $(DESTDIR)$(prefix)/bin/$(name) |
114 |
capela |
2339 |
@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall |
115 |
capela |
2631 |
@rm -rvf $(DESTDIR)$(translations_dir) |
116 |
capela |
2642 |
@rm -vf $(DESTDIR)$(mandir)/man1/$(name).* |
117 |
capela |
75 |
|
118 |
capela |
2074 |
|
119 |
capela |
75 |
clean: $(name).mak |
120 |
capela |
2842 |
@$(MAKE) -f $(name).mak distclean |
121 |
capela |
2074 |
@rm -f $(target) $(target).mak $(name).mak |
122 |
capela |
1873 |
@rm -rf *.cache *.log *.status $(translations_targets) |