summaryrefslogtreecommitdiffstats
path: root/audio/afsp/files/Makefile
blob: 8ee0bd051dceff115ea947c9e90b081fb15b5234 (plain)
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
# $FreeBSD$

LIBRARIES =	lib/libAO.a \
		lib/libtsp.a
BINARIES =	bin/CompAudio \
		bin/CopyAudio \
		bin/FiltAudio \
		bin/GenNoise \
		bin/GenTone \
		bin/InfoAudio \
		bin/LPanal \
		bin/LPsyn \
		bin/ResampAudio
MAINHEADERS =	include/AO.h \
		include/AObase.h \
		include/libtsp.h
SUBHEADERS =	include/libtsp/AFdataio.h \
		include/libtsp/AFheader.h \
		include/libtsp/AFmsg.h \
		include/libtsp/AFpar.h \
		include/libtsp/AIpar.h \
		include/libtsp/AUpar.h \
		include/libtsp/ESpar.h \
		include/libtsp/FImsg.h \
		include/libtsp/FIpar.h \
		include/libtsp/FLmsg.h \
		include/libtsp/FNmsg.h \
		include/libtsp/MSmsg.h \
		include/libtsp/SPmsg.h \
		include/libtsp/STmsg.h \
		include/libtsp/UTmsg.h \
		include/libtsp/UTpar.h \
		include/libtsp/UTtypes.h \
		include/libtsp/VRmsg.h \
		include/libtsp/WVpar.h \
		include/libtsp/nucleus.h \
		include/libtsp/sysOS.h
MAN3FILES =	man/libtsp/AF/AFclose.3tsp \
		man/libtsp/AF/AFopenRead.3tsp \
		man/libtsp/AF/AFopenWrite.3tsp \
		man/libtsp/AF/AFreadData.3tsp \
		man/libtsp/AF/AFsetFileType.3tsp \
		man/libtsp/AF/AFsetHinfo.3tsp \
		man/libtsp/AF/AFsetNHpar.3tsp \
		man/libtsp/AF/AFsetSpeaker.3tsp \
		man/libtsp/AF/AFwriteData.3tsp
MAN1FILES =	man/audio/AFsp.1audio \
		man/audio/CompAudio.1audio \
		man/audio/CopyAudio.1audio \
		man/audio/FiltAudio.1audio \
		man/audio/GenNoise.1audio \
		man/audio/GenTone.1audio \
		man/audio/InfoAudio.1audio \
		man/audio/LPanal.1audio \
		man/audio/LPsyn.1audio \
		man/audio/ResampAudio.1audio
HTMLFILES1 =	html/audio/AFsp.html \
		html/audio/CompAudio.html \
		html/audio/CopyAudio.html \
		html/audio/FiltAudio.html \
		html/audio/GenNoise.html \
		html/audio/GenTone.html \
		html/audio/InfoAudio.html \
		html/audio/LPanal.html \
		html/audio/LPsyn.html \
		html/audio/ResampAudio.html
HTMLFILES3 =	html/libtsp/AF/AFclose.html \
		html/libtsp/AF/AFopenRead.html \
		html/libtsp/AF/AFopenWrite.html \
		html/libtsp/AF/AFreadData.html \
		html/libtsp/AF/AFsetFileType.html \
		html/libtsp/AF/AFsetHinfo.html \
		html/libtsp/AF/AFsetNHpar.html \
		html/libtsp/AF/AFsetSpeaker.html \
		html/libtsp/AF/AFwriteData.html
FILTERFILES =	filters/STL_BPF_FIR_16k.cof \
		filters/STL_G712_IIR_16k.cof \
		filters/STL_G712_IIR_8k.cof \
		filters/STL_IRS_FIR_16k.cof \
		filters/STL_IRS_FIR_8k.cof \
		filters/STL_IRS_IIR_8k.cof \
		filters/STL_LPx2_FIR.cof \
		filters/STL_LPx3_FIR.cof \
		filters/STL_LPx3_IIR.cof \
		filters/STL_P341_FIR_16k.cof \
		filters/STL_WB_IIR_48k.cof \
		filters/STL_dc_IIR_8k.cof \
		filters/STL_dsm_FIR_16k.cof \
		filters/STL_hIRS_FIR_16k.cof \
		filters/STL_mIRS_FIR_16k.cof \
		filters/STL_mIRS_FIR_48k.cof \
		filters/STL_pso_FIR_8k.cof \
		filters/TIA_IRS_FIR_8k.cof

all:
	for dirs in libtsp libAO audio; do \
		(cd $$dirs; $(MAKE)); \
	done

install: ${LIBRARIES} ${BINARIES}
	${BSD_INSTALL_DATA} ${LIBRARIES} ${PREFIX}/lib/
	${BSD_INSTALL_PROGRAM} ${BINARIES} ${PREFIX}/bin/
	${BSD_INSTALL_DATA} ${MAINHEADERS} ${PREFIX}/include/
	mkdir -p ${PREFIX}/include/libtsp/
	${BSD_INSTALL_DATA} ${SUBHEADERS} ${PREFIX}/include/libtsp/
	${BSD_INSTALL_MAN} ${MAN1FILES} ${PREFIX}/man/man1/
	${BSD_INSTALL_MAN} ${MAN3FILES} ${PREFIX}/man/man3/
	mkdir -p ${PREFIX}/share/doc/afsp/audio/
	${BSD_INSTALL_DATA} ${HTMLFILES1} ${PREFIX}/share/doc/afsp/audio/
	mkdir -p ${PREFIX}/share/doc/afsp/libtsp/AF/
	${BSD_INSTALL_DATA} ${HTMLFILES3} ${PREFIX}/share/doc/afsp/libtsp/AF/
	mkdir -p ${PREFIX}/share/afsp/filters/
	${BSD_INSTALL_DATA} ${FILTERFILES} ${PREFIX}/share/afsp/filters/
OpenPOWER on IntegriCloud