dnl LCD4Linux Drivers conf part dnl dnl Copyright (C) 1999, 2000, 2001, 2002, 2003 Michael Reinelt dnl Copyright (C) 2004 The LCD4Linux Team dnl dnl This file is part of LCD4Linux. dnl dnl LCD4Linux is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2, or (at your option) dnl any later version. dnl dnl LCD4Linux is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. AC_MSG_CHECKING([which drivers to compile]) AC_ARG_WITH( drivers, [ --with-drivers= compile driver for displays in ,] [ drivers may be separated with commas,] [ 'all' (default) compiles all available drivers,] [ drivers may be excluded with 'all,!',] [ (try 'all,\!' if your shell complains...)] [ possible drivers are:] [ BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux,] [ G15, HD44780, LCD2USB LCDLinux, LCDTerm, LPH7508,] [ LUIse, M50530, MatrixOrbital, MilfordInstruments,] [ Noritake, NULL, PNG, PPM, RouterBoard, Sample,] [ serdisplib, SimpleLCD, T6963, Trefon, USBLCD,] [ WincorNixdorf, X11], drivers=$withval, drivers=all ) drivers=`echo $drivers|sed 's/,/ /g'` for driver in $drivers; do case $driver in !*) val="no" driver=`echo $driver|cut -c 2-` ;; *) val="yes" ;; esac case "$driver" in all) BECKMANNEGLE="yes" BWCT="yes" CRYSTALFONTZ="yes" CURSES="yes" CWLINUX="yes" G15="yes" HD44780="yes" LCD2USB="yes" LCDLINUX="yes" LCDTERM="yes" LPH7508="yes" LUISE="yes" M50530="yes" MATRIXORBITAL="yes" MILINST="yes" NORITAKE="yes" NULL="yes" PNG="yes" PPM="yes" ROUTERBOARD="yes" SAMPLE="yes" SERDISPLIB="yes" SIMPLELCD="yes" T6963="yes" Trefon="yes" USBLCD="yes" WINCORNIXDORF="yes" X11="yes" ;; BeckmannEgle) BECKMANNEGLE=$val ;; BWCT) BWCT=$val ;; CrystalFontz) CRYSTALFONTZ=$val ;; Curses) CURSES=$val ;; Cwlinux) CWLINUX=$val ;; G15) G15=$val ;; HD44780) HD44780=$val ;; LCD2USB) LCD2USB=$val ;; LCDLinux) LCDLINUX=$val ;; LCDTerm) LCDTERM=$val ;; LPH7508) LPH7508=$val ;; LUIse) LUISE=$val ;; M50530) M50530=$val ;; MatrixOrbital) MATRIXORBITAL=$val ;; MilfordInstruments) MILINST=$val ;; Noritake) NORITAKE=$val; ;; NULL) NULL=$val; ;; PNG) PNG=$val ;; PPM) PPM=$val ;; RouterBoard) ROUTERBOARD=$val ;; Sample) SAMPLE=$val ;; serdisplib) SERDISPLIB=$val; ;; SimpleLCD) SIMPLELCD=$val ;; T6963) T6963=$val ;; Trefon) Trefon=$val ;; USBLCD) USBLCD=$val ;; WincorNixdorf) WINCORNIXDORF=$val ;; X11) X11=$val ;; *
# Makefile for linuxtv.org dvb-apps/util/dvbnet

binaries = dvbnet

inst_bin = $(binaries)

CPPFLAGS += -I../../lib
LDFLAGS  += -L../../lib/libdvbapi
LDLIBS   += -ldvbapi

.PHONY: all

all: $(binaries)

include ../../Make.rules
"$CPPFLAGS $X_CFLAGS" AC_DEFINE(WITH_X11, 1, [X11 driver]) fi fi if test "$DRIVERS" = ""; then AC_MSG_ERROR([You should activate at least one driver...]) fi # generic text driver if test "$TEXT" = "yes"; then DRIVERS="$DRIVERS drv_generic_text.o" fi # Image driver if test "$IMAGE" = "yes"; then GRAPHIC="yes" DRIVERS="$DRIVERS drv_Image.o" fi # generic graphic driver if test "$GRAPHIC" = "yes"; then DRIVERS="$DRIVERS drv_generic_graphic.o" if test "$has_gd" = "true"; then DRIVERS="$DRIVERS widget_image.o" DRVLIBS="$DRVLIBS -lgd" AC_DEFINE(WITH_IMAGE, 1, [image widget]) fi fi # generic GPIO driver if test "$GPIO" = "yes"; then DRIVERS="$DRIVERS drv_generic_gpio.o" fi # generic parport driver if test "$PARPORT" = "yes"; then DRIVERS="$DRIVERS drv_generic_parport.o" fi # generic serial driver if test "$SERIAL" = "yes"; then DRIVERS="$DRIVERS drv_generic_serial.o" fi # generic i2c driver if test "$I2C" = "yes"; then DRIVERS="$DRIVERS drv_generic_i2c.o" AC_DEFINE(WITH_I2C, 1, [I2C bus driver]) fi # generic keypad driver if test "$KEYPAD" = "yes"; then DRIVERS="$DRIVERS drv_generic_keypad.o" fi # libusb if test "$LIBUSB" = "yes"; then DRVLIBS="$DRVLIBS -lusb" fi AC_SUBST(DRIVERS) AC_SUBST(DRVLIBS)