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

Annotation of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2293 - (hide annotations) (download)
Thu Nov 24 21:28:02 2011 UTC (12 years, 4 months ago) by capela
File size: 2782 byte(s)
- Makefile.in doesn't ignore --datarootdir setting anymore.
1 capela 75 prefix = @ac_prefix@
2     qmake = @ac_qmake@
3 capela 1873 lupdate = @ac_lupdate@
4     lrelease = @ac_lrelease@
5 capela 75
6     name = qsampler
7    
8 capela 2074 target = src/$(name)
9    
10     headers = \
11     src/config.h \
12 capela 75 src/qsamplerAbout.h \
13     src/qsamplerOptions.h \
14 capela 264 src/qsamplerChannel.h \
15 capela 75 src/qsamplerMessages.h \
16 capela 961 src/qsamplerInstrument.h \
17     src/qsamplerInstrumentList.h \
18 capela 431 src/qsamplerDevice.h \
19 schoenebeck 1667 src/qsamplerFxSend.h \
20     src/qsamplerFxSendsModel.h \
21 capela 1504 src/qsamplerUtilities.h \
22 schoenebeck 1462 src/qsamplerInstrumentForm.h \
23     src/qsamplerInstrumentListForm.h \
24     src/qsamplerDeviceForm.h \
25 schoenebeck 1698 src/qsamplerDeviceStatusForm.h \
26 schoenebeck 1462 src/qsamplerChannelStrip.h \
27     src/qsamplerChannelForm.h \
28 schoenebeck 1667 src/qsamplerChannelFxForm.h \
29 schoenebeck 1462 src/qsamplerOptionsForm.h \
30 capela 1504 src/qsamplerMainForm.h
31 capela 75
32 capela 2074 sources = \
33     src/qsampler.cpp \
34 capela 75 src/qsamplerOptions.cpp \
35 capela 264 src/qsamplerChannel.cpp \
36 capela 75 src/qsamplerMessages.cpp \
37 capela 961 src/qsamplerInstrument.cpp \
38     src/qsamplerInstrumentList.cpp \
39 capela 431 src/qsamplerDevice.cpp \
40 schoenebeck 1667 src/qsamplerFxSend.cpp \
41     src/qsamplerFxSendsModel.cpp \
42 schoenebeck 1386 src/qsamplerUtilities.cpp \
43 capela 1466 src/qsamplerInstrumentForm.cpp \
44     src/qsamplerInstrumentListForm.cpp \
45     src/qsamplerDeviceForm.cpp \
46 schoenebeck 1698 src/qsamplerDeviceStatusForm.cpp \
47 capela 1466 src/qsamplerChannelStrip.cpp \
48     src/qsamplerChannelForm.cpp \
49 schoenebeck 1667 src/qsamplerChannelFxForm.cpp \
50 capela 1466 src/qsamplerOptionsForm.cpp \
51     src/qsamplerMainForm.cpp
52    
53     forms = \
54 capela 961 src/qsamplerInstrumentForm.ui \
55     src/qsamplerInstrumentListForm.ui \
56 capela 426 src/qsamplerDeviceForm.ui \
57 capela 75 src/qsamplerChannelStrip.ui \
58     src/qsamplerChannelForm.ui \
59 schoenebeck 1667 src/qsamplerChannelFxForm.ui \
60 capela 75 src/qsamplerOptionsForm.ui \
61     src/qsamplerMainForm.ui
62    
63 capela 2074 resources = \
64     src/qsampler.qrc
65    
66 capela 1873 translations_sources = \
67 capela 2074 src/translations/qsampler_cs.ts \
68     src/translations/qsampler_ru.ts
69 capela 75
70 capela 1873 translations_targets = \
71 capela 2074 src/translations/qsampler_cs.qm \
72     src/translations/qsampler_ru.qm
73 capela 1873
74 capela 2283
75 capela 2293 export datarootdir = @datarootdir@
76 capela 2283 export localedir = @localedir@
77    
78    
79 capela 2074 all: $(target) $(translations_targets)
80 capela 1873
81 capela 2074
82     $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
83     @make -f $(name).mak
84    
85 capela 75 $(name).mak: $(name).pro
86     @$(qmake) -o $(name).mak $(name).pro
87    
88    
89 capela 2074 %.ts: $(name).pro $(resources) ${forms} $(sources) $(headers)
90 capela 1873 @$(lupdate) -verbose $(name).pro
91 schoenebeck 545
92 capela 1873 %.qm: %.ts
93     @$(lrelease) -verbose $< -qm $@
94    
95 schoenebeck 545
96 capela 2074 install: $(target) $(translations_targets)
97 capela 2085 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
98 capela 2282 @install -d -v -m 0755 $(DESTDIR)$(localedir)
99     @install -v -m 0644 $(translations_targets) $(DESTDIR)$(localedir)
100 capela 75
101 capela 2283 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
102 capela 2085 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
103 capela 2282 @rm -vf $(DESTDIR)$(localedir)/$(translations_targets)
104 capela 1873 @for x in $(translations_targets); do \
105 capela 2282 rm -vf $(DESTDIR)$(localedir)/`basename $$x`; done
106 capela 75
107 capela 2074
108 capela 75 clean: $(name).mak
109     @make -f $(name).mak clean
110 capela 2074 @rm -f $(target) $(target).mak $(name).mak
111 capela 1873 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC