aboutsummaryrefslogtreecommitdiffstats
path: root/util/szap/Makefile
blob: 837e989466c36bf23dd5668d4234034a3d1fb408 (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
# 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  \
           czap  \
           szap  \
           tzap

inst_bin = $(binaries)

.PHONY: all

all: $(binaries)
$(info DVB API is $(DVB_API_MAJOR).$(DVB_API_MINOR))

$(binaries): $(objects)

include ../../Make.rules