Uh oh!
There was an error while loading. Please reload this page.
forked from tinyalsa/tinyalsa
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
40 lines (33 loc) · 1.06 KB
/
Copy pathMakefile
File metadata and controls
40 lines (33 loc) · 1.06 KB
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
exportDESTDIR ?=
exportPREFIX ?= /usr/local
exportINCDIR ?= $(PREFIX)/include/tinyalsa
exportLIBDIR ?= $(PREFIX)/lib
exportBINDIR ?= $(PREFIX)/bin
exportMANDIR ?= $(PREFIX)/share/man
exportVERSIONSCRIPT = $(shell pwd)/scripts/version.sh
exportTINYALSA_VERSION_MAJOR = $(shell$(VERSIONSCRIPT) -s print major)
exportTINYALSA_VERSION = $(shell$(VERSIONSCRIPT) -s print )
.PHONY: all
all:
$(MAKE) -C src
$(MAKE) -C utils
$(MAKE) -C doxygen
$(MAKE) -C examples
.PHONY: clean
clean:
$(MAKE) -C src clean
$(MAKE) -C utils clean
$(MAKE) -C doxygen clean
$(MAKE) -C examples clean
.PHONY: install
install:
install -d $(DESTDIR)$(INCDIR)/
install include/tinyalsa/attributes.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/pcm.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/mixer.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/asoundlib.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/version.h $(DESTDIR)$(INCDIR)/
install include/tinyalsa/plugin.h $(DESTDIR)$(INCDIR)/
$(MAKE) -C src install
$(MAKE) -C utils install
$(MAKE) -C doxygen install