# 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/
n>
blob: 634f51b82f29816997bf3cde659a84681406aa71 (
plain)