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

Annotation of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 615 - (hide annotations) (download)
Wed Jun 8 15:46:42 2005 UTC (15 years, 5 months ago) by capela
File size: 1432 byte(s)
* Makefile install fix on Mac OS X (thanks to Ebrahim Mayat).

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 615 @install -v -d -m 0755 $(DESTDIR)$(prefix)/bin
43     @install -v -d -m 0755 $(DESTDIR)$(prefix)/share/icons
44     @install -v $(name) -m 0755 $(DESTDIR)$(prefix)/bin/$(name)
45     @install -v icons/$(name).png -m 0644 $(DESTDIR)$(prefix)/share/icons/$(name).png
46 capela 75
47 schoenebeck 545 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
48     @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
49     @rm -vf $(DESTDIR)$(prefix)/share/icons/$(name).png
50 capela 75
51     clean: $(name).mak
52     @make -f $(name).mak clean
53     @rm -f $(name) $(name).mak
54     @rm -rf *.cache *.log *.status

  ViewVC Help
Powered by ViewVC