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

Annotation of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2282 - (hide annotations) (download)
Sun Nov 13 20:29:46 2011 UTC (8 years, 4 months ago) by capela
File size: 2851 byte(s)
* Fixed Makefile.in handling of installation directories to
  the configure script eg. --bindir, --datadir, --localedir.
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 2074 all: $(target) $(translations_targets)
75 capela 1873
76 capela 2074
77     $(target): $(name).mak $(resources) ${forms} $(sources) $(headers)
78     @make -f $(name).mak
79    
80 capela 75 $(name).mak: $(name).pro
81     @$(qmake) -o $(name).mak $(name).pro
82    
83    
84 capela 2074 %.ts: $(name).pro $(resources) ${forms} $(sources) $(headers)
85 capela 1873 @$(lupdate) -verbose $(name).pro
86 schoenebeck 545
87 capela 1873 %.qm: %.ts
88     @$(lrelease) -verbose $< -qm $@
89    
90 schoenebeck 545
91 capela 2282 exec_prefix = @exec_prefix@
92     datarootdir = @datarootdir@
93    
94     export bindir = @bindir@
95     export datadir = @datadir@
96     export localedir = @localedir@
97    
98    
99 capela 2074 install: $(target) $(translations_targets)
100 capela 2085 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
101 capela 2282 @install -d -v -m 0755 $(DESTDIR)$(localedir)
102     @install -v -m 0644 $(translations_targets) $(DESTDIR)$(localedir)
103 capela 75
104 capela 2282 uninstall: $(DESTDIR)$(bindir)/$(name)
105 capela 2085 @make INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
106 capela 2282 @rm -vf $(DESTDIR)$(localedir)/$(translations_targets)
107 capela 1873 @for x in $(translations_targets); do \
108 capela 2282 rm -vf $(DESTDIR)$(localedir)/`basename $$x`; done
109 capela 75
110 capela 2074
111 capela 75 clean: $(name).mak
112     @make -f $(name).mak clean
113 capela 2074 @rm -f $(target) $(target).mak $(name).mak
114 capela 1873 @rm -rf *.cache *.log *.status $(translations_targets)

  ViewVC Help
Powered by ViewVC