aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/Makefile
blob: 32d1f1ce33dcfbb2fb61c7a1f21de830c4b1e08b (plain)
1
2
3
4
5
6
7
pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #
# Makefile for linuxtv.org dvb-apps/util/scan

objects  = atsc_psip_section.o \
           diseqc.o            \
           dump-vdr.o          \
           dump-zap.o          \
           lnb.o               \
           scan.o              \
           section.o

binaries = scan

inst_bin = $(binaries)

removing = atsc_psip_section.c atsc_psip_section.h

CPPFLAGS += -DDATADIR=\"$(prefix)/share\"

.PHONY: all

all: $(binaries)

$(binaries): $(objects)

$(objects): atsc_psip_section.c atsc_psip_section.h

atsc_psip_section.c atsc_psip_section.h:
	perl section_generate.pl atsc_psip_section.pl

include ../../Make.rules

install::
	@echo installing scan files
	@mkdir -p $(DESTDIR)$(sharedir)/dvb/atsc
	@mkdir -p $(DESTDIR)$(sharedir)/dvb/dvb-c
	@mkdir -p $(DESTDIR)$(sharedir)/dvb/dvb-s
	@mkdir -p $(DESTDIR)$(sharedir)/dvb/dvb-t
	@install -m 664 atsc/* $(DESTDIR)$(sharedir)/dvb/atsc/
	@install -m 664 dvb-c/* $(DESTDIR)$(sharedir)/dvb/dvb-c/
	@install -m 664 dvb-s/* $(DESTDIR)$(sharedir)/dvb/dvb-s/
	@install -m 664 dvb-t/* $(DESTDIR)$(sharedir)/dvb/dvb-t/