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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2910 - (show annotations) (download)
Mon May 16 18:05:52 2016 UTC (4 years, 4 months ago) by schoenebeck
File size: 3125 byte(s)
* Automake: set environment variable GCC_COLORS=auto to allow GCC to
  auto detect whether it (sh/c)ould output its messages in color.

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_ru.ts
66
67 translations_targets = \
68 src/translations/qsampler_cs.qm \
69 src/translations/qsampler_ru.qm
70
71
72 export datarootdir = @datarootdir@
73 export datadir = @datadir@
74 export mandir = @mandir@
75
76 translations_dir = $(datadir)/$(name)/translations
77
78
79 export QMAKE = @ac_qmake@
80 export LUPDATE = @ac_lupdate@
81 export LRELEASE = @ac_lrelease@
82
83 # let GCC auto detect whether it (sh/c)ould output its messages in color
84 export GCC_COLORS=auto
85
86 all: $(target)
87
88
89 $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
90 @$(MAKE) -f $(name).mak
91
92 $(name).mak: $(name).pro
93 @$(QMAKE) -o $(name).mak $(name).pro
94
95
96 translations_lupdate: $(name).pro
97 @$(LUPDATE) -verbose -no-obsolete $(name).pro
98
99 translations_lrelease: translations_lupdate $(translations_targets)
100
101 %.qm: %.ts
102 @$(LRELEASE) -verbose $< -qm $@
103
104
105 install: $(target) translations_lrelease $(name).1
106 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
107 @install -d -v -m 0755 $(DESTDIR)$(translations_dir)
108 @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
109 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
110 @install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1
111 @gzip -vf $(DESTDIR)$(mandir)/man1/$(name).1
112
113 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
114 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
115 @rm -rvf $(DESTDIR)$(translations_dir)
116 @rm -vf $(DESTDIR)$(mandir)/man1/$(name).*
117
118
119 clean: $(name).mak
120 @$(MAKE) -f $(name).mak distclean
121 @rm -f $(target) $(target).mak $(name).mak
122 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC