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

Contents of /qsampler/trunk/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1255 - (show annotations) (download)
Mon Jun 25 10:15:07 2007 UTC (16 years, 9 months ago) by capela
File size: 1925 byte(s)
- Application icon is now installed to ${prefix}/share/pixmaps;
  application desktop entry file is now included in installation;
  spec file (RPM) is now a bit more openSUSE compliant; initial
  debianization.

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/qsamplerInstrument.h \
12 src/qsamplerInstrumentList.h \
13 src/qsamplerDevice.h \
14 src/qsamplerInstrumentForm.ui.h \
15 src/qsamplerInstrumentListForm.ui.h \
16 src/qsamplerDeviceForm.ui.h \
17 src/qsamplerChannelStrip.ui.h \
18 src/qsamplerChannelForm.ui.h \
19 src/qsamplerOptionsForm.ui.h \
20 src/qsamplerMainForm.ui.h
21
22 sources = src/main.cpp \
23 src/qsamplerOptions.cpp \
24 src/qsamplerChannel.cpp \
25 src/qsamplerMessages.cpp \
26 src/qsamplerInstrument.cpp \
27 src/qsamplerInstrumentList.cpp \
28 src/qsamplerDevice.cpp \
29 src/qsamplerInstrumentForm.ui \
30 src/qsamplerInstrumentListForm.ui \
31 src/qsamplerDeviceForm.ui \
32 src/qsamplerChannelStrip.ui \
33 src/qsamplerChannelForm.ui \
34 src/qsamplerOptionsForm.ui \
35 src/qsamplerMainForm.ui
36
37 all: $(name)
38
39 $(name).mak: $(name).pro
40 @$(qmake) -o $(name).mak $(name).pro
41
42 $(name): $(name).mak $(sources) $(headers)
43 @make -f $(name).mak
44
45
46 # NOTE: DO NOT DELETE $(DESTDIR) in install and uninstall rules !!!
47 # It is mandatory for Debian packaging.
48
49 install: $(name) icons/$(name).png
50 @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
51 @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
52 @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications
53 @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)
54 @install -v -m 0644 icons/$(name).png $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
55 @install -v -m 0644 $(name).desktop $(DESTDIR)$(prefix)/share/applications/$(name).desktop
56
57 uninstall: $(DESTDIR)$(prefix)/bin/$(name)
58 @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
59 @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
60 @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop
61
62 clean: $(name).mak
63 @make -f $(name).mak clean
64 @rm -f $(name) $(name).mak
65 @rm -rf *.cache *.log *.status

  ViewVC Help
Powered by ViewVC