File: Makefile.in

package info (click to toggle)
padthv1 0.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,668 kB
  • sloc: cpp: 13,083; makefile: 169; ansic: 66; xml: 48; sh: 6
file content (191 lines) | stat: -rw-r--r-- 4,222 bytes parent folder | download
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
prefix    = @ac_prefix@

name      = padthv1

name_ui   = $(name)_ui

name_lv2  = $(name)_lv2
name_jack = $(name)_jack

headers = \
	src/config.h \
	src/$(name).h \
	src/$(name)_fx.h \
	src/$(name)_filter.h \
	src/$(name)_formant.h \
	src/$(name)_reverb.h \
	src/$(name)_ramp.h \
	src/$(name)_wave.h \
	src/$(name)_list.h \
	src/$(name)_sample.h \
	src/$(name)_config.h \
	src/$(name)_param.h \
	src/$(name)_sched.h \
	src/$(name)_programs.h \
	src/$(name)_controls.h

sources = \
	src/$(name).cpp \
	src/$(name)_wave.cpp \
	src/$(name)_sample.cpp \
	src/$(name)_config.cpp \
	src/$(name)_formant.cpp \
	src/$(name)_param.cpp \
	src/$(name)_sched.cpp \
	src/$(name)_programs.cpp \
	src/$(name)_controls.cpp

headers_ui = \
	src/$(name)widget.h \
	src/$(name)widget_env.h \
	src/$(name)widget_filt.h \
	src/$(name)widget_param.h \
	src/$(name)widget_preset.h \
	src/$(name)widget_status.h \
	src/$(name)widget_sample.h \
	src/$(name)widget_config.h \
	src/$(name)widget_programs.h \
	src/$(name)widget_controls.h \
	src/$(name)widget_control.h

sources_ui = \
	src/$(name)widget.cpp \
	src/$(name)widget_env.cpp \
	src/$(name)widget_filt.cpp \
	src/$(name)widget_param.cpp \
	src/$(name)widget_preset.cpp \
	src/$(name)widget_status.cpp \
	src/$(name)widget_sample.cpp \
	src/$(name)widget_config.cpp \
	src/$(name)widget_programs.cpp \
	src/$(name)widget_controls.cpp \
	src/$(name)widget_control.cpp

forms = \
	src/$(name)widget.ui \
	src/$(name)widget_config.ui \
	src/$(name)widget_control.ui

resources = \
	src/$(name).qrc


headers_lv2 = \
	$(headers) \
	$(headers_ui) \
	src/$(name)_lv2.h \
	src/$(name)_param.h \
	src/$(name)widget_lv2.h

sources_lv2 = \
	$(sources) \
	$(sources_ui) \
	src/$(name)_lv2.cpp \
	src/$(name)widget_lv2.cpp


headers_jack = \
	$(headers) \
	$(headers_ui) \
	src/$(name)_nsm.h \
	src/$(name)_jack.h \
	src/$(name)_param.h \
	src/$(name)widget_jack.h

sources_jack = \
	$(sources) \
	$(sources_ui) \
	src/$(name)_nsm.cpp \
	src/$(name)_jack.cpp \
	src/$(name)widget_jack.cpp


export datadir = @ac_datadir@
export mandir = @ac_mandir@


export QMAKE = @ac_qmake@
export LUPDATE = @ac_lupdate@
export LRELEASE = @ac_lrelease@


all:	core ui @ac_all_targets@

core:	$(name).mak $(sources) $(headers)
	@$(MAKE) -f $(name).mak

ui:	$(name_ui).mak $(sources_ui) $(headers_ui) $(resources) ${forms}
	@$(MAKE) -f $(name_ui).mak

lv2:	$(name_lv2).mak $(sources_lv2) $(headers_lv2) ui core
	@$(MAKE) -f $(name_lv2).mak

jack:	$(name_jack).mak $(sources_jack) $(headers_jack) ui core
	@$(MAKE) -f $(name_jack).mak


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

$(name_ui).mak:	$(name_ui).pro
	@$(QMAKE) -o $(name_ui).mak $(name_ui).pro

$(name_lv2).mak:	$(name_lv2).pro
	@$(QMAKE) -o $(name_lv2).mak $(name_lv2).pro

$(name_jack).mak:	$(name_jack).pro
	@$(QMAKE) -o $(name_jack).mak $(name_jack).pro


install_core:	core
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak install

install_ui:	ui
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_ui).mak install

install_lv2:	lv2
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_lv2).mak install

install_jack:	jack $(name).1
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_jack).mak install
	@install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
	@install -v -m 0644 $(name)*.1 $(DESTDIR)$(mandir)/man1
	@gzip -vf $(DESTDIR)$(mandir)/man1/$(name)*.1


uninstall_core:	core
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall

uninstall_ui:	ui
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_ui).mak uninstall

uninstall_lv2:	lv2
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_lv2).mak uninstall

uninstall_jack:	jack
	@$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name_jack).mak uninstall
	@rm -vf $(DESTDIR)$(mandir)/man1/$(name)*.1.gz


clean_core:	$(name).mak
	@$(MAKE) -f $(name).mak distclean
	@rm -f $(name).mak

clean_ui:	$(name_ui).mak
	@$(MAKE) -f $(name_ui).mak distclean
	@rm -f $(name_ui).mak

clean_lv2:	$(name_lv2).mak
	@$(MAKE) -f $(name_lv2).mak distclean
	@rm -f $(name_lv2).mak

clean_jack:	$(name_jack).mak
	@$(MAKE) -f $(name_jack).mak distclean
	@rm -f $(name_jack).mak


install:	install_core install_ui @ac_install_targets@

uninstall:	uninstall_core uninstall_ui @ac_uninstall_targets@

clean:	clean_core clean_ui @ac_clean_targets@