aboutsummaryrefslogtreecommitdiffstats
path: root/test/libdvbcfg/Makefile
blob: 7705f9b5dc16aa64525c868dd018b1912a368c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Makefile for linuxtv.org dvb-apps/test/libdvbcfg

binaries = dvbcfg_test

CPPFLAGS += -I../../lib
LDLIBS   += ../../lib/libdvbcfg/libdvbcfg.a

.PHONY: all

all: $(binaries)

include ../../Make.rules
nuxtv.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/