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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 443 - (show annotations) (download)
Thu Mar 10 17:09:17 2005 UTC (13 years, 9 months ago) by schoenebeck
File size: 1262 byte(s)
$(DESTDIR) is needed for Debian packaging in the 'install' rule

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 $(name)
36
37 # Note: $(DESTDIR) is needed here for Debian packaging!
38 install: $(name) icons/$(name).png
39 @install -vD $(name) $(DESTDIR)$(prefix)/bin/$(name)
40 @install -vD icons/$(name).png $(DESTDIR)$(prefix)/share/icons/$(name).png
41
42 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
43 @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
44 @rm -vf $(DESTDIR)$(prefix)/share/icons/$(name).png
45
46 clean: $(name).mak
47 @make -f $(name).mak clean
48 @rm -f $(name) $(name).mak
49 @rm -rf *.cache *.log *.status

  ViewVC Help
Powered by ViewVC