/[svn]/qsampler/trunk/Makefile.in
ViewVC logotype

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC