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

Annotation of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 607 - (hide annotations) (download)
Fri Jun 3 13:50:31 2005 UTC (14 years, 10 months ago) by capela
File size: 1330 byte(s)
* Install does the right thing with target file modes (thanks to
  Matt Flax for pointing this out).

1 capela 75 prefix = @ac_prefix@
2     qmake = @ac_qmake@
3    
4     name = qsampler
5    
6     headers = config.h \
7     src/qsamplerAbout.h \
8     src/qsamplerOptions.h \
9 capela 264 src/qsamplerChannel.h \
10 capela 75 src/qsamplerMessages.h \
11 capela 431 src/qsamplerDevice.h \
12 capela 426 src/qsamplerDeviceForm.ui.h \
13 capela 75 src/qsamplerChannelStrip.ui.h \
14     src/qsamplerChannelForm.ui.h \
15     src/qsamplerOptionsForm.ui.h \
16     src/qsamplerMainForm.ui.h
17    
18     sources = src/main.cpp \
19     src/qsamplerOptions.cpp \
20 capela 264 src/qsamplerChannel.cpp \
21 capela 75 src/qsamplerMessages.cpp \
22 capela 431 src/qsamplerDevice.cpp \
23 capela 426 src/qsamplerDeviceForm.ui \
24 capela 75 src/qsamplerChannelStrip.ui \
25     src/qsamplerChannelForm.ui \
26     src/qsamplerOptionsForm.ui \
27     src/qsamplerMainForm.ui
28    
29     all: $(name)
30    
31     $(name).mak: $(name).pro
32     @$(qmake) -o $(name).mak $(name).pro
33    
34     $(name): $(name).mak $(sources) $(headers)
35 capela 525 @make -f $(name).mak
36 capela 75
37 schoenebeck 545
38     # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!
39     # It is mandatory for Debian packaging.
40    
41 capela 75 install: $(name) icons/$(name).png
42 capela 607 @install -vD $(name) -m 0755 $(DESTDIR)$(prefix)/bin/$(name)
43     @install -vD icons/$(name).png -m 0644 $(DESTDIR)$(prefix)/share/icons/$(name).png
44 capela 75
45 schoenebeck 545 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
46     @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
47     @rm -vf $(DESTDIR)$(prefix)/share/icons/$(name).png
48 capela 75
49     clean: $(name).mak
50     @make -f $(name).mak clean
51     @rm -f $(name) $(name).mak
52     @rm -rf *.cache *.log *.status

  ViewVC Help
Powered by ViewVC