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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2642 - (show annotations) (download)
Mon Jun 16 19:31:33 2014 UTC (5 years, 11 months ago) by capela
File size: 2991 byte(s)
* A man page has beed added (making up Matt Flax's work on
  debian, thanks).
1 prefix = @ac_prefix@
2 qmake = @ac_qmake@
3 lupdate = @ac_lupdate@
4 lrelease = @ac_lrelease@
5
6 name = qsampler
7
8 target = src/$(name)
9
10 headers = \
11 src/config.h \
12 src/qsamplerAbout.h \
13 src/qsamplerOptions.h \
14 src/qsamplerChannel.h \
15 src/qsamplerMessages.h \
16 src/qsamplerInstrument.h \
17 src/qsamplerInstrumentList.h \
18 src/qsamplerDevice.h \
19 src/qsamplerFxSend.h \
20 src/qsamplerFxSendsModel.h \
21 src/qsamplerUtilities.h \
22 src/qsamplerInstrumentForm.h \
23 src/qsamplerInstrumentListForm.h \
24 src/qsamplerDeviceForm.h \
25 src/qsamplerDeviceStatusForm.h \
26 src/qsamplerChannelStrip.h \
27 src/qsamplerChannelForm.h \
28 src/qsamplerChannelFxForm.h \
29 src/qsamplerOptionsForm.h \
30 src/qsamplerMainForm.h
31
32 sources = \
33 src/qsampler.cpp \
34 src/qsamplerOptions.cpp \
35 src/qsamplerChannel.cpp \
36 src/qsamplerMessages.cpp \
37 src/qsamplerInstrument.cpp \
38 src/qsamplerInstrumentList.cpp \
39 src/qsamplerDevice.cpp \
40 src/qsamplerFxSend.cpp \
41 src/qsamplerFxSendsModel.cpp \
42 src/qsamplerUtilities.cpp \
43 src/qsamplerInstrumentForm.cpp \
44 src/qsamplerInstrumentListForm.cpp \
45 src/qsamplerDeviceForm.cpp \
46 src/qsamplerDeviceStatusForm.cpp \
47 src/qsamplerChannelStrip.cpp \
48 src/qsamplerChannelForm.cpp \
49 src/qsamplerChannelFxForm.cpp \
50 src/qsamplerOptionsForm.cpp \
51 src/qsamplerMainForm.cpp
52
53 forms = \
54 src/qsamplerInstrumentForm.ui \
55 src/qsamplerInstrumentListForm.ui \
56 src/qsamplerDeviceForm.ui \
57 src/qsamplerChannelStrip.ui \
58 src/qsamplerChannelForm.ui \
59 src/qsamplerChannelFxForm.ui \
60 src/qsamplerOptionsForm.ui \
61 src/qsamplerMainForm.ui
62
63 resources = \
64 src/qsampler.qrc
65
66 translations_sources = \
67 src/translations/qsampler_cs.ts \
68 src/translations/qsampler_ru.ts
69
70 translations_targets = \
71 src/translations/qsampler_cs.qm \
72 src/translations/qsampler_ru.qm
73
74
75 export datarootdir = @datarootdir@
76 export datadir = @datadir@
77 export mandir = @mandir@
78
79 translations_dir = $(datadir)/$(name)/translations
80
81
82 all: $(target)
83
84
85 $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
86 @$(MAKE) -f $(name).mak
87
88 $(name).mak: $(name).pro
89 @$(qmake) -o $(name).mak $(name).pro
90
91
92 translations_lupdate: $(name).pro
93 @$(lupdate) -verbose $(name).pro
94
95 translations_lrelease: translations_lupdate $(translations_targets)
96
97 %.qm: %.ts
98 @$(lrelease) -verbose $< -qm $@
99
100
101 install: $(target) translations_lrelease $(name).1
102 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
103 @install -d -v -m 0755 $(DESTDIR)$(translations_dir)
104 @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
105 @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
106 @install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1
107 @gzip -vf $(DESTDIR)$(mandir)/man1/$(name).1
108
109 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
110 @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
111 @rm -rvf $(DESTDIR)$(translations_dir)
112 @rm -vf $(DESTDIR)$(mandir)/man1/$(name).*
113
114
115 clean: $(name).mak
116 @$(MAKE) -f $(name).mak clean
117 @rm -f $(target) $(target).mak $(name).mak
118 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC