
poll/dispatcher framework. The top reasons for going multithreaded is: * Take adventage of multicore CPUs * No need to put slow operations in ugly helper threads now that the entire app is designed for multithreads * Some of the timing sensetive tasks (IPTV output / RTP / UDP pacing) can run on RT priority.
52 lines
1 KiB
Makefile
52 lines
1 KiB
Makefile
-include ../config.mak
|
|
|
|
SRCS = main.c access.c dtable.c tcp.c http.c notify.c
|
|
|
|
SRCS += buffer.c channels.c subscriptions.c transports.c
|
|
|
|
SRCS += psi.c parsers.c parser_h264.c tsdemux.c bitstream.c
|
|
|
|
VPATH += dvb
|
|
SRCS += dvb.c dvb_support.c dvb_fe.c dvb_tables.c \
|
|
diseqc.c dvb_adapter.c dvb_multiplex.c dvb_transport.c dvb_preconf.c
|
|
|
|
|
|
#
|
|
# Primary web interface
|
|
#
|
|
|
|
VPATH += webui
|
|
SRCS += webui.c comet.c extjs.c
|
|
|
|
PROGPATH = $(HTS_BUILD_ROOT)/tvheadend
|
|
PROG = tvheadend
|
|
MAN = tvheadend.1
|
|
CFLAGS += -g -Wall -Werror -O2 -mmmx
|
|
CFLAGS += -I$(INCLUDES_INSTALL_BASE) $(HTS_CFLAGS) -I$(CURDIR)
|
|
CFLAGS += -Wno-deprecated-declarations -Wmissing-prototypes
|
|
CFLAGS += -D_LARGEFILE64_SOURCE
|
|
CFLAGS += -DENABLE_INPUT_IPTV -DENABLE_INPUT_DVB -DENABLE_INPUT_V4L
|
|
LDFLAGS += -L$(LIBS_INSTALL_BASE)
|
|
|
|
SLIBS += ${LIBHTS_SLIBS}
|
|
DLIBS += ${LIBHTS_DLIBS} -lcrypt
|
|
|
|
#
|
|
# ffmpeg
|
|
|
|
DLIBS += $(FFMPEG_DLIBS)
|
|
SLIBS += $(FFMPEG_SLIBS)
|
|
CFLAGS += $(FFMPEG_CFLAGS)
|
|
|
|
# XML
|
|
|
|
DLIBS += ${LIBXML2_DLIBS}
|
|
SLIBS += ${LIBXML2_SLIBS}
|
|
CFLAGS += ${LIBXML2_CFLAGS}
|
|
|
|
|
|
DLIBS += -lpthread
|
|
|
|
include ../build/prog.mk
|
|
|
|
|