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

Annotation of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC