From 5501530a778ad588a8ccd3f1584ea58f74c0cec9 Mon Sep 17 00:00:00 2001 From: etobi Date: Tue, 3 Sep 2013 09:48:52 +0200 Subject: Imported Upstream version 1.1.1+rev1483 --- util/szap/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'util/szap/Makefile') diff --git a/util/szap/Makefile b/util/szap/Makefile index 48d7149..837e989 100644 --- a/util/szap/Makefile +++ b/util/szap/Makefile @@ -1,5 +1,11 @@ # Makefile for linuxtv.org dvb-apps/util/szap +# get DVB API version +VERSION_FILE := "/usr/include/linux/dvb/version.h" + +DVB_API_MAJOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION" $(VERSION_FILE)) ) +DVB_API_MINOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION_MINOR" $(VERSION_FILE)) ) + objects = lnb.o util.o binaries = azap \ @@ -12,6 +18,7 @@ inst_bin = $(binaries) .PHONY: all all: $(binaries) +$(info DVB API is $(DVB_API_MAJOR).$(DVB_API_MINOR)) $(binaries): $(objects) -- cgit v1.2.3