/[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 525 by capela, Mon May 9 10:21:41 2005 UTC revision 2631 by capela, Sun Jun 15 00:27:04 2014 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    
8  headers = config.h \  target  = src/$(name)
9    
10    headers = \
11            src/config.h \
12          src/qsamplerAbout.h \          src/qsamplerAbout.h \
13          src/qsamplerOptions.h \          src/qsamplerOptions.h \
14          src/qsamplerChannel.h \          src/qsamplerChannel.h \
15          src/qsamplerMessages.h \          src/qsamplerMessages.h \
16            src/qsamplerInstrument.h \
17            src/qsamplerInstrumentList.h \
18          src/qsamplerDevice.h \          src/qsamplerDevice.h \
19          src/qsamplerDeviceForm.ui.h \          src/qsamplerFxSend.h \
20          src/qsamplerChannelStrip.ui.h \          src/qsamplerFxSendsModel.h \
21          src/qsamplerChannelForm.ui.h \          src/qsamplerUtilities.h \
22          src/qsamplerOptionsForm.ui.h \          src/qsamplerInstrumentForm.h \
23          src/qsamplerMainForm.ui.h          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 = src/main.cpp \  sources = \
33            src/qsampler.cpp \
34          src/qsamplerOptions.cpp \          src/qsamplerOptions.cpp \
35          src/qsamplerChannel.cpp \          src/qsamplerChannel.cpp \
36          src/qsamplerMessages.cpp \          src/qsamplerMessages.cpp \
37            src/qsamplerInstrument.cpp \
38            src/qsamplerInstrumentList.cpp \
39          src/qsamplerDevice.cpp \          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 \          src/qsamplerDeviceForm.ui \
57          src/qsamplerChannelStrip.ui \          src/qsamplerChannelStrip.ui \
58          src/qsamplerChannelForm.ui \          src/qsamplerChannelForm.ui \
59            src/qsamplerChannelFxForm.ui \
60          src/qsamplerOptionsForm.ui \          src/qsamplerOptionsForm.ui \
61          src/qsamplerMainForm.ui          src/qsamplerMainForm.ui
62    
63  all:    $(name)  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    
78    translations_dir = $(datadir)/$(name)/translations
79    
80    
81    all:    $(target)
82    
83    
84    $(target):      $(name).mak $(resources) ${forms} $(sources) $(headers)
85            @$(MAKE) -f $(name).mak
86    
87  $(name).mak:    $(name).pro  $(name).mak:    $(name).pro
88          @$(qmake) -o $(name).mak $(name).pro          @$(qmake) -o $(name).mak $(name).pro
89    
 $(name):        $(name).mak $(sources) $(headers)  
         @make -f $(name).mak  
90    
91  install:        $(name) icons/$(name).png  translations_lupdate:   $(name).pro
92          @install -vD $(name) $(prefix)/bin/$(name)          @$(lupdate) -verbose $(name).pro
93          @install -vD icons/$(name).png $(prefix)/share/icons/$(name).png  
94    translations_lrelease:  translations_lupdate $(translations_targets)
95  uninstall:      $(prefix)/bin/$(name)  
96          @rm -vf $(prefix)/bin/$(name)  %.qm:   %.ts
97          @rm -vf $(prefix)/share/icons/$(name).png          @$(lrelease) -verbose $< -qm $@
98    
99    
100    install:        $(target) translations_lrelease
101            @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
102            @install -d -v -m 0755 $(DESTDIR)$(translations_dir)
103            @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
104    
105    uninstall:      $(DESTDIR)$(prefix)/bin/$(name)
106            @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
107            @rm -rvf $(DESTDIR)$(translations_dir)
108    
109    
110  clean:  $(name).mak  clean:  $(name).mak
111          @make -f $(name).mak clean          @$(MAKE) -f $(name).mak clean
112          @rm -f $(name) $(name).mak          @rm -f $(target) $(target).mak $(name).mak
113          @rm -rf *.cache *.log *.status          @rm -rf *.cache *.log *.status $(translations_targets)

Legend:
Removed from v.525  
changed lines
  Added in v.2631

  ViewVC Help
Powered by ViewVC