summaryrefslogtreecommitdiff
path: root/ham/gnuradio-examples/Makefile
blob: b184faf80c1d901e9493dc3d9fa799be9eb9c01f (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
# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:41 joerg Exp $

DISTNAME=	gnuradio-examples-0.5
PKGREVISION=	2
COMMENT=	GUI framework for GNU Radio based on wxPython
COMMENT=	Examples for GNU Radio

PYTHON_PATCH_SCRIPTS+=	python/audio/audio_copy.py
PYTHON_PATCH_SCRIPTS+=	python/audio/audio_play.py
PYTHON_PATCH_SCRIPTS+=	python/audio/audio_to_file.py
PYTHON_PATCH_SCRIPTS+=	python/audio/dial_tone.py
PYTHON_PATCH_SCRIPTS+=	python/audio/mono_tone.py
PYTHON_PATCH_SCRIPTS+=	python/audio/multi_tone.py
PYTHON_PATCH_SCRIPTS+=	python/audio/spectrum_inversion.py
PYTHON_PATCH_SCRIPTS+=	python/audio/test_resampler.py
PYTHON_PATCH_SCRIPTS+=	python/digital_voice/encdec.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/benchmark_gmsk_rx.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/benchmark_gmsk_tx.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/gen_whitener.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/gmsk_test.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/pick_bitrate.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/receive_path.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/transmit_path.py
PYTHON_PATCH_SCRIPTS+=  python/gmsk2/tunnel_ip_null_mac.py
PYTHON_PATCH_SCRIPTS+=	python/mc4020/fm_demod.py
PYTHON_PATCH_SCRIPTS+=	python/mc4020/mc4020_fft.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/am_rcv.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/ayfabtu.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/benchmark_usb.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/fm_tx4.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/fsk_loopback.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/fsk_rx.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/fsk_tx.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/max_power.py
PYTHON_PATCH_SCRIPTS+=  python/usrp/test_counting.py
PYTHON_PATCH_SCRIPTS+=  python/usrp/test_dft_analysis.py
PYTHON_PATCH_SCRIPTS+=  python/usrp/test_dft_synth.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/test_digital_loopback_counting.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/test_digital_loopback_lfsr.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/tvrx_am_rcv_gui.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/tvrx_tv_rcv.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/tweak_adc_offset.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_fft.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_fft_old.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_nbfm_ptt.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_nbfm_rcv.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_oscope.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_rx_cfile.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_rx_file.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_siggen.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_wfm_rcv.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_wfm_rcv_nogui.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/usrp_wfm_rcv_pll.py
PYTHON_PATCH_SCRIPTS+=	python/usrp/wfm_rcv_file.py

EXAMPLE_DIR=	${LOCALBASE}/share/examples/gnuradio/python

do-install:
	for file in audio gmsk2 digital_voice  mc4020 usrp;		\
	do								\
		${INSTALL_SCRIPT_DIR} ${EXAMPLE_DIR}/$${file};		\
		${INSTALL_SCRIPT} ${WRKSRC}/python/$${file}/*\.py	\
		  ${EXAMPLE_DIR}/$${file};				\
	done

.include "../../meta-pkgs/gnuradio/Makefile.common"

.include "../../ham/gnuradio-wxgui/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"