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

Diff of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1255 by capela, Mon Jun 25 10:15:07 2007 UTC revision 1873 by capela, Wed Mar 25 15:16:37 2009 UTC
# Line 1  Line 1 
1  prefix  = @ac_prefix@  prefix  = @ac_prefix@
2  qmake   = @ac_qmake@  qmake   = @ac_qmake@
3    lupdate = @ac_lupdate@
4    lrelease = @ac_lrelease@
5    
6  name    = qsampler  name    = qsampler
7    
# Line 11  headers = config.h \ Line 13  headers = config.h \
13          src/qsamplerInstrument.h \          src/qsamplerInstrument.h \
14          src/qsamplerInstrumentList.h \          src/qsamplerInstrumentList.h \
15          src/qsamplerDevice.h \          src/qsamplerDevice.h \
16          src/qsamplerInstrumentForm.ui.h \          src/qsamplerFxSend.h \
17          src/qsamplerInstrumentListForm.ui.h \          src/qsamplerFxSendsModel.h \
18          src/qsamplerDeviceForm.ui.h \          src/qsamplerUtilities.h \
19          src/qsamplerChannelStrip.ui.h \          src/qsamplerInstrumentForm.h \
20          src/qsamplerChannelForm.ui.h \          src/qsamplerInstrumentListForm.h \
21          src/qsamplerOptionsForm.ui.h \          src/qsamplerDeviceForm.h \
22          src/qsamplerMainForm.ui.h          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 = src/main.cpp \  sources = src/main.cpp \
30          src/qsamplerOptions.cpp \          src/qsamplerOptions.cpp \
# Line 26  sources = src/main.cpp \ Line 33  sources = src/main.cpp \
33          src/qsamplerInstrument.cpp \          src/qsamplerInstrument.cpp \
34          src/qsamplerInstrumentList.cpp \          src/qsamplerInstrumentList.cpp \
35          src/qsamplerDevice.cpp \          src/qsamplerDevice.cpp \
36            src/qsamplerFxSend.cpp \
37            src/qsamplerFxSendsModel.cpp \
38            src/qsamplerUtilities.cpp \
39            src/qsamplerInstrumentForm.cpp \
40            src/qsamplerInstrumentListForm.cpp \
41            src/qsamplerDeviceForm.cpp \
42            src/qsamplerDeviceStatusForm.cpp \
43            src/qsamplerChannelStrip.cpp \
44            src/qsamplerChannelForm.cpp \
45            src/qsamplerChannelFxForm.cpp \
46            src/qsamplerOptionsForm.cpp \
47            src/qsamplerMainForm.cpp
48    
49    forms = \
50          src/qsamplerInstrumentForm.ui \          src/qsamplerInstrumentForm.ui \
51          src/qsamplerInstrumentListForm.ui \          src/qsamplerInstrumentListForm.ui \
52          src/qsamplerDeviceForm.ui \          src/qsamplerDeviceForm.ui \
53          src/qsamplerChannelStrip.ui \          src/qsamplerChannelStrip.ui \
54          src/qsamplerChannelForm.ui \          src/qsamplerChannelForm.ui \
55            src/qsamplerChannelFxForm.ui \
56          src/qsamplerOptionsForm.ui \          src/qsamplerOptionsForm.ui \
57          src/qsamplerMainForm.ui          src/qsamplerMainForm.ui
58    
59  all:    $(name)  translations_sources = \
60            translations/qsampler_ru.ts
61    
62    translations_targets = \
63            translations/qsampler_ru.qm
64    
65    all:    $(name) $(translations_targets)
66    
67  $(name).mak:    $(name).pro  $(name).mak:    $(name).pro
68          @$(qmake) -o $(name).mak $(name).pro          @$(qmake) -o $(name).mak $(name).pro
69    
70  $(name):        $(name).mak $(sources) $(headers)  $(name):        $(name).mak $(sources) $(headers) $(forms)
71          @make -f $(name).mak          @make -f $(name).mak
72    
73    %.ts:   $(name).pro $(sources) $(headers) $(forms)
74            @$(lupdate) -verbose $(name).pro
75    
76    %.qm:   %.ts
77            @$(lrelease) -verbose $< -qm $@
78    
79  # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!  # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!
80  #       It is mandatory for Debian packaging.  #       It is mandatory for Debian packaging.
# Line 50  install:       $(name) icons/$(name).png Line 83  install:       $(name) icons/$(name).png
83          @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin          @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
84          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
85          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications          @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications
86            @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/locale
87          @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)          @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)
88          @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png          @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
89          @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop          @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop
90            @install -v -m 0644 $(translations_targets) $(DESTDIR)$(prefix)/share/locale
91    
92  uninstall:      $(DESTDIR)$(prefix)/bin/$(name)  uninstall:      $(DESTDIR)$(prefix)/bin/$(name)
93          @rm -vf $(DESTDIR)$(prefix)/bin/$(name)          @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
94          @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png          @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
95          @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop          @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop
96            @rm -vf $(DESTDIR)$(prefix)/share/locale/$(translations_targets)
97            @for x in $(translations_targets); do \
98                    rm -vf $(DESTDIR)$(prefix)/share/locale/`basename $$x`; done
99    
100  clean:  $(name).mak  clean:  $(name).mak
101          @make -f $(name).mak clean          @make -f $(name).mak clean
102          @rm -f $(name) $(name).mak          @rm -f $(name) $(name).mak
103          @rm -rf *.cache *.log *.status          @rm -rf *.cache *.log *.status $(translations_targets)

Legend:
Removed from v.1255  
changed lines
  Added in v.1873

  ViewVC Help
Powered by ViewVC