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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC