File: Makefile.in

package info (click to toggle)
qsynth 0.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,456 kB
  • sloc: cpp: 6,959; makefile: 89
file content (108 lines) | stat: -rw-r--r-- 2,685 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
prefix  = @ac_prefix@
qmake   = @ac_qmake@
lupdate = @ac_lupdate@
lrelease = @ac_lrelease@

name    = qsynth

target  = src/$(name)

headers = \
	src/config.h \
	src/qsynthAbout.h \
	src/qsynthEngine.h \
	src/qsynthChannels.h \
	src/qsynthKnob.h \
	src/qsynthMeter.h \
	src/qsynthSetup.h \
	src/qsynthOptions.h \
	src/qsynthSystemTray.h \
	src/qsynthTabBar.h \
	src/qsynthAboutForm.h \
	src/qsynthChannelsForm.h \
	src/qsynthMainForm.h \
	src/qsynthMessagesForm.h \
	src/qsynthOptionsForm.h \
	src/qsynthPresetForm.h \
	src/qsynthSetupForm.h \
	src/qsynthDialClassicStyle.h \
	src/qsynthDialPeppinoStyle.h \
	src/qsynthDialVokiStyle.h

sources = \
	src/qsynth.cpp \
	src/qsynthEngine.cpp \
	src/qsynthChannels.cpp \
	src/qsynthKnob.cpp \
	src/qsynthMeter.cpp \
	src/qsynthSetup.cpp \
	src/qsynthOptions.cpp \
	src/qsynthSystemTray.cpp \
	src/qsynthTabBar.cpp \
	src/qsynthAboutForm.cpp \
	src/qsynthChannelsForm.cpp \
	src/qsynthMainForm.cpp \
	src/qsynthMessagesForm.cpp \
	src/qsynthOptionsForm.cpp \
	src/qsynthPresetForm.cpp \
	src/qsynthSetupForm.cpp \
	src/qsynthDialClassicStyle.cpp \
	src/qsynthDialPeppinoStyle.cpp \
	src/qsynthDialVokiStyle.cpp

forms = \
	src/qsynthAboutForm.ui \
	src/qsynthChannelsForm.ui \
	src/qsynthMainForm.ui \
	src/qsynthMessagesForm.ui \
	src/qsynthOptionsForm.ui \
	src/qsynthPresetForm.ui \
	src/qsynthSetupForm.ui

translations_sources = \
	src/translations/qsynth_de.ts \
	src/translations/qsynth_es.ts \
	src/translations/qsynth_ru.ts

translations_targets = \
	src/translations/qsynth_cs.qm \
	src/translations/qsynth_de.qm \
	src/translations/qsynth_es.qm \
	src/translations/qsynth_ru.qm


all:	$(target) $(translations_targets)


$(target):	$(name).mak $(resources) ${forms} $(sources) $(headers)
	@make -f $(name).mak

$(name).mak:	$(name).pro
	@$(qmake) -o $(name).mak $(name).pro


%.ts:	$(name).pro $(resources) ${forms} $(sources) $(headers)
	@$(lupdate) -verbose $(name).pro

%.qm:	%.ts
	@$(lrelease) -verbose $< -qm $@


install:	$(target) $(translations_targets)
	@make INSTALL_ROOT=$(DESTDIR) -f $(name).mak install
	@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/locale
	@install -d -v -m 0755 $(DESTDIR)$(prefix)/share/man/man1
	@install -v -m 0644 $(translations_targets) $(DESTDIR)$(prefix)/share/locale

uninstall:	$(DESTDIR)$(prefix)/bin/$(name)
	@make INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
	@rm -vf $(DESTDIR)$(prefix)/share/locale/$(translations_targets)
	@for x in $(translations_targets); do \
		rm -vf $(DESTDIR)$(prefix)/share/locale/`basename $$x`; done


clean:	$(name).mak
	@make -f $(name).mak clean
	@rm -f $(target) $(target).mak $(name).mak
	@rm -rf *.cache *.log *.status $(translations_targets)