mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Now using 'libdtv' for getting EIT information
This commit is contained in:
83
libdtv/libsi/Makefile
Normal file
83
libdtv/libsi/Makefile
Normal file
@@ -0,0 +1,83 @@
|
||||
##############################################################
|
||||
### ###
|
||||
### Makefile: local makefile for libsi ###
|
||||
### ###
|
||||
##############################################################
|
||||
|
||||
## $Revision: 1.2 $
|
||||
## $Date: 2001/06/25 19:39:00 $
|
||||
## $Author: hakenes $
|
||||
##
|
||||
## (C) 2001 Rolf Hakenes <hakenes@hippomi.de>, under the GNU GPL.
|
||||
##
|
||||
## dtv_scan is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
## the Free Software Foundation; either version 2, or (at your option)
|
||||
## any later version.
|
||||
##
|
||||
## dtv_scan is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You may have received a copy of the GNU General Public License
|
||||
## along with dtv_scan; see the file COPYING. If not, write to the
|
||||
## Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
## Boston, MA 02111-1307, USA.
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -O2 -g -Wmissing-prototypes -Wstrict-prototypes \
|
||||
-DNAPI -Wimplicit -D__USE_FIXED_PROTOTYPES__ # -ansi -pedantic
|
||||
|
||||
INCDIRS = -Iinclude -I../include
|
||||
DISTDIR = ../lib
|
||||
DISTINCDIR = ../include
|
||||
INCLUDES = include/libsi.h include/si_tables.h
|
||||
MAKEDEPEND = gcc -M
|
||||
|
||||
LIBDIRS = -L. -L../lib
|
||||
LIBS = -lsi -llx
|
||||
|
||||
AR = ar
|
||||
ARFLAGS = ru
|
||||
RANLIB = ranlib
|
||||
|
||||
SILIB = libsi.a
|
||||
OBJS = si_parser.o si_debug_services.o
|
||||
|
||||
all : $(SILIB)
|
||||
|
||||
clean :
|
||||
@echo cleaning workspace...
|
||||
@rm -f $(OBJS) $(SILIB) *~
|
||||
@rm -f Makefile.dep
|
||||
|
||||
depend : Makefile.dep
|
||||
Makefile.dep :
|
||||
@echo "updating dependencies..."
|
||||
@$(MAKEDEPEND) $(INCDIRS) $(OBJS:%.o=%.c) $(SITEST_OBJS:%.o=%.c) \
|
||||
$(SISCAN_OBJS:%.o=%.c) > Makefile.dep
|
||||
|
||||
new : clean depend all
|
||||
|
||||
dist: all
|
||||
@echo "distributing $(SILIB) to $(DISTDIR)..."
|
||||
@cp $(SILIB) $(DISTDIR)
|
||||
@cp $(INCLUDES) $(DISTINCDIR)
|
||||
@$(RANLIB) $(DISTDIR)/$(SILIB)
|
||||
|
||||
$(SILIB) : $(OBJS)
|
||||
@echo updating library...
|
||||
@$(AR) $(ARFLAGS) $(SILIB) $(OBJS)
|
||||
@$(RANLIB) $(SILIB)
|
||||
|
||||
.c.o :
|
||||
@echo compiling $<...
|
||||
@$(CC) $(DEFINES) $(CFLAGS) $(INCDIRS) -c $<
|
||||
|
||||
include Makefile.dep
|
Reference in New Issue
Block a user