blob: ac7fb6efe2916ba1f0637e69ae22e1983e151f39 (
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
|
# 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 += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES
.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/
|