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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 607 - (show annotations) (download)
Fri Jun 3 13:50:31 2005 UTC (18 years, 9 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 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 -vD $(name) -m 0755 $(DESTDIR)$(prefix)/bin/$(name)
43 @install -vD icons/$(name).png -m 0644 $(DESTDIR)$(prefix)/share/icons/$(name).png
44
45 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
46 @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
47 @rm -vf $(DESTDIR)$(prefix)/share/icons/$(name).png
48
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