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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


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

1 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 src/qsamplerChannel.h \
10 src/qsamplerMessages.h \
11 src/qsamplerDevice.h \
12 src/qsamplerDeviceForm.ui.h \
13 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 src/qsamplerChannel.cpp \
21 src/qsamplerMessages.cpp \
22 src/qsamplerDevice.cpp \
23 src/qsamplerDeviceForm.ui \
24 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 @make -f $(name).mak
36
37
38 # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!
39 # It is mandatory for Debian packaging.
40
41 install: $(name) icons/$(name).png
42 @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
47 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
48 @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
49 @rm -vf $(DESTDIR)$(prefix)/share/icons/$(name).png
50
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