File: Makefile.in

package info (click to toggle)
qmidinet 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 584 kB
  • sloc: cpp: 1,895; makefile: 55; xml: 36; sh: 6
file content (65 lines) | stat: -rw-r--r-- 1,384 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
prefix  = @ac_prefix@

name    = qmidinet

target  = src/$(name)

headers = src/config.h \
	src/qmidinet.h \
	src/qmidinetAbout.h \
	src/qmidinetUdpDevice.h \
	src/qmidinetAlsaMidiDevice.h \
	src/qmidinetJackMidiDevice.h \
	src/qmidinetOptions.h \
	src/qmidinetOptionsForm.h

sources = \
	src/qmidinet.cpp \
	src/qmidinetUdpDevice.cpp \
	src/qmidinetAlsaMidiDevice.cpp \
	src/qmidinetJackMidiDevice.cpp \
	src/qmidinetOptions.cpp \
	src/qmidinetOptionsForm.cpp

forms = \
	src/qmidinetOptionsForm.ui

resources = \
	src/qmidinet.qrc


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


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


all:	$(target)


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

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


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

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


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