sort drivers alphabetically in acinclude.m4 & server/drivers/Makefile.am;
update server/drivers/wirz-sli.c to make it complile afgain and announce it in acinclude.m4; update info how to include a new driver to make the examples resemble the current driver situation more closely
This commit is contained in:
+86
-87
@@ -5,41 +5,24 @@ AC_ARG_ENABLE(drivers,
|
|||||||
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
||||||
[ drivers may be separated with commas.]
|
[ drivers may be separated with commas.]
|
||||||
[ Possible choices are:]
|
[ Possible choices are:]
|
||||||
[ mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,]
|
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
|
||||||
[ hd44780,joy,irman,lirc,bayrad,glk,mtc_s16209x]
|
[ hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,]
|
||||||
[ stv5730,sed1330,sed1520,svga,lcdm001,t6963]
|
[ lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,]
|
||||||
[ lcterm,icp_a106,ms6931,iowarrior,glcdlib,imon,xosd,]
|
[ noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,]
|
||||||
[ noritakevfd,tyan,pylcd]
|
[ t6963,text,tyan,xosd]
|
||||||
[ \"all\" compiles all drivers],
|
[ \"all\" compiles all drivers],
|
||||||
drivers="$enableval",
|
drivers="$enableval",
|
||||||
drivers=[lcdm001,mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,bayrad,glk,pylcd])
|
drivers=[bayrad,cfontz,cfontz633,curses,cwlnx,glk,lb216,lcdm001,mtxorb,pylcd,text])
|
||||||
|
|
||||||
if test "$drivers" = "all"; then
|
if test "$drivers" = "all"; then
|
||||||
|
drivers=[bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,t6963,text,tyan,xosd]
|
||||||
drivers=[mtxorb,cfontz,cfontz633,curses,cwlnx,text,lb216,mtc_s16209x,hd44780,joy,irman,lirc,bayrad,glk,stv5730,sed1330,sed1520,svga,lcdm001,t6963,lcterm,icp_a106,ms6931,iowarrior,glcdlib,imon,xosd,noritakevfd,tyan,pylcd]
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
drivers=`echo $drivers | sed 's/,/ /g'`
|
drivers=`echo $drivers | sed 's/,/ /g'`
|
||||||
for driver in $drivers
|
for driver in $drivers
|
||||||
do
|
do
|
||||||
|
|
||||||
case "$driver" in
|
case "$driver" in
|
||||||
lcdm001)
|
|
||||||
DRIVERS="$DRIVERS lcdm001${SO}"
|
|
||||||
actdrivers=["$actdrivers lcdm001"]
|
|
||||||
;;
|
|
||||||
pylcd)
|
|
||||||
DRIVERS="$DRIVERS pylcd${SO}"
|
|
||||||
actdrivers=["$actdrivers pylcd"]
|
|
||||||
;;
|
|
||||||
mtxorb)
|
|
||||||
DRIVERS="$DRIVERS MtxOrb${SO}"
|
|
||||||
actdrivers=["$actdrivers mtxorb"]
|
|
||||||
;;
|
|
||||||
glk)
|
|
||||||
DRIVERS="$DRIVERS glk${SO}"
|
|
||||||
actdrivers=["$actdrivers glk"]
|
|
||||||
;;
|
|
||||||
bayrad)
|
bayrad)
|
||||||
DRIVERS="$DRIVERS bayrad${SO}"
|
DRIVERS="$DRIVERS bayrad${SO}"
|
||||||
actdrivers=["$actdrivers bayrad"]
|
actdrivers=["$actdrivers bayrad"]
|
||||||
@@ -57,26 +40,6 @@ fi
|
|||||||
AC_MSG_WARN([The CFontz633 driver needs the select() function])
|
AC_MSG_WARN([The CFontz633 driver needs the select() function])
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
noritakevfd)
|
|
||||||
DRIVERS="$DRIVERS NoritakeVFD${SO}"
|
|
||||||
actdrivers=["$actdrivers noritakevfd"]
|
|
||||||
;;
|
|
||||||
lcterm)
|
|
||||||
DRIVERS="$DRIVERS lcterm${SO}"
|
|
||||||
actdrivers=["$actdrivers lcterm"]
|
|
||||||
;;
|
|
||||||
icp_a106)
|
|
||||||
DRIVERS="$DRIVERS icp_a106${SO}"
|
|
||||||
actdrivers=["$actdrivers icp_a106"]
|
|
||||||
;;
|
|
||||||
ms6931)
|
|
||||||
DRIVERS="$DRIVERS ms6931${SO}"
|
|
||||||
actdrivers=["$actdrivers ms6931"]
|
|
||||||
;;
|
|
||||||
sli)
|
|
||||||
DRIVERS="$DRIVERS wirz-sli${SO}"
|
|
||||||
actdrivers=["$actdrivers sli"]
|
|
||||||
;;
|
|
||||||
curses)
|
curses)
|
||||||
AC_CHECK_HEADERS(ncurses.h curses.h)
|
AC_CHECK_HEADERS(ncurses.h curses.h)
|
||||||
AC_CHECK_LIB(ncurses, main, [
|
AC_CHECK_LIB(ncurses, main, [
|
||||||
@@ -133,17 +96,26 @@ dnl else
|
|||||||
DRIVERS="$DRIVERS CwLnx${SO}"
|
DRIVERS="$DRIVERS CwLnx${SO}"
|
||||||
actdrivers=["$actdrivers cwlnx"]
|
actdrivers=["$actdrivers cwlnx"]
|
||||||
;;
|
;;
|
||||||
text)
|
glcdlib)
|
||||||
DRIVERS="$DRIVERS text${SO}"
|
AC_CHECK_HEADERS([glcdproclib/glcdprocdriver.h],[
|
||||||
actdrivers=["$actdrivers text"]
|
AC_CHECK_LIB(glcdprocdriver, main,[
|
||||||
|
LIBGLCD="-lglcddrivers -lglcdgraphics -lglcdprocdriver"
|
||||||
|
DRIVERS="$DRIVERS glcdlib${SO}"
|
||||||
|
actdrivers=["$actdrivers glcdlib"]
|
||||||
|
],[
|
||||||
|
dnl else
|
||||||
|
AC_MSG_WARN([The glcdlib driver needs the glcdprocdriver library])
|
||||||
|
],
|
||||||
|
[-lglcddrivers -lglcdgraphics -lglcdprocdriver]
|
||||||
|
)
|
||||||
|
],[
|
||||||
|
dnl else
|
||||||
|
AC_MSG_WARN([The glcdlib driver needs glcdproclib/glcdprocdriver.h])
|
||||||
|
])
|
||||||
;;
|
;;
|
||||||
lb216)
|
glk)
|
||||||
DRIVERS="$DRIVERS lb216${SO}"
|
DRIVERS="$DRIVERS glk${SO}"
|
||||||
actdrivers=["$actdrivers lb216"]
|
actdrivers=["$actdrivers glk"]
|
||||||
;;
|
|
||||||
mtc_s16209x)
|
|
||||||
DRIVERS="$DRIVERS mtc_s16209x${SO}"
|
|
||||||
actdrivers=["$actdrivers mtc_s16209x"]
|
|
||||||
;;
|
;;
|
||||||
hd44780)
|
hd44780)
|
||||||
if test "$ac_cv_port_have_lpt" = yes ; then
|
if test "$ac_cv_port_have_lpt" = yes ; then
|
||||||
@@ -157,14 +129,13 @@ dnl else
|
|||||||
DRIVERS="$DRIVERS hd44780${SO}"
|
DRIVERS="$DRIVERS hd44780${SO}"
|
||||||
actdrivers=["$actdrivers hd44780"]
|
actdrivers=["$actdrivers hd44780"]
|
||||||
;;
|
;;
|
||||||
joy)
|
icp_a106)
|
||||||
AC_CHECK_HEADER(linux/joystick.h, [
|
DRIVERS="$DRIVERS icp_a106${SO}"
|
||||||
DRIVERS="$DRIVERS joy${SO}"
|
actdrivers=["$actdrivers icp_a106"]
|
||||||
actdrivers=["$actdrivers joy"]
|
;;
|
||||||
],[
|
imon)
|
||||||
dnl else
|
DRIVERS="$DRIVERS imon${SO}"
|
||||||
AC_MSG_WARN([The joy driver needs header file linux/joystick.h.])
|
actdrivers=["$actdrivers imon"]
|
||||||
])
|
|
||||||
;;
|
;;
|
||||||
iowarrior)
|
iowarrior)
|
||||||
if test "$enable_libusb" = yes ; then
|
if test "$enable_libusb" = yes ; then
|
||||||
@@ -184,6 +155,27 @@ dnl else
|
|||||||
AC_MSG_WARN([The irman driver needs the irman library.])
|
AC_MSG_WARN([The irman driver needs the irman library.])
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
|
joy)
|
||||||
|
AC_CHECK_HEADER(linux/joystick.h, [
|
||||||
|
DRIVERS="$DRIVERS joy${SO}"
|
||||||
|
actdrivers=["$actdrivers joy"]
|
||||||
|
],[
|
||||||
|
dnl else
|
||||||
|
AC_MSG_WARN([The joy driver needs header file linux/joystick.h.])
|
||||||
|
])
|
||||||
|
;;
|
||||||
|
lb216)
|
||||||
|
DRIVERS="$DRIVERS lb216${SO}"
|
||||||
|
actdrivers=["$actdrivers lb216"]
|
||||||
|
;;
|
||||||
|
lcdm001)
|
||||||
|
DRIVERS="$DRIVERS lcdm001${SO}"
|
||||||
|
actdrivers=["$actdrivers lcdm001"]
|
||||||
|
;;
|
||||||
|
lcterm)
|
||||||
|
DRIVERS="$DRIVERS lcterm${SO}"
|
||||||
|
actdrivers=["$actdrivers lcterm"]
|
||||||
|
;;
|
||||||
lirc)
|
lirc)
|
||||||
AC_CHECK_LIB(lirc_client, main,[
|
AC_CHECK_LIB(lirc_client, main,[
|
||||||
LIBLIRC_CLIENT="-llirc_client"
|
LIBLIRC_CLIENT="-llirc_client"
|
||||||
@@ -194,6 +186,26 @@ dnl else
|
|||||||
AC_MSG_WARN([The lirc driver needs the lirc client library])
|
AC_MSG_WARN([The lirc driver needs the lirc client library])
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
|
ms6931)
|
||||||
|
DRIVERS="$DRIVERS ms6931${SO}"
|
||||||
|
actdrivers=["$actdrivers ms6931"]
|
||||||
|
;;
|
||||||
|
mtc_s16209x)
|
||||||
|
DRIVERS="$DRIVERS mtc_s16209x${SO}"
|
||||||
|
actdrivers=["$actdrivers mtc_s16209x"]
|
||||||
|
;;
|
||||||
|
mtxorb)
|
||||||
|
DRIVERS="$DRIVERS MtxOrb${SO}"
|
||||||
|
actdrivers=["$actdrivers mtxorb"]
|
||||||
|
;;
|
||||||
|
noritakevfd)
|
||||||
|
DRIVERS="$DRIVERS NoritakeVFD${SO}"
|
||||||
|
actdrivers=["$actdrivers noritakevfd"]
|
||||||
|
;;
|
||||||
|
pylcd)
|
||||||
|
DRIVERS="$DRIVERS pylcd${SO}"
|
||||||
|
actdrivers=["$actdrivers pylcd"]
|
||||||
|
;;
|
||||||
sed1330)
|
sed1330)
|
||||||
if test "$ac_cv_port_have_lpt" = yes
|
if test "$ac_cv_port_have_lpt" = yes
|
||||||
then
|
then
|
||||||
@@ -212,6 +224,10 @@ dnl else
|
|||||||
AC_MSG_WARN([The sed1520 driver needs a parallel port.])
|
AC_MSG_WARN([The sed1520 driver needs a parallel port.])
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
sli)
|
||||||
|
DRIVERS="$DRIVERS wirz_sli${SO}"
|
||||||
|
actdrivers=["$actdrivers sli"]
|
||||||
|
;;
|
||||||
stv5730)
|
stv5730)
|
||||||
if test "$ac_cv_port_have_lpt" = yes
|
if test "$ac_cv_port_have_lpt" = yes
|
||||||
then
|
then
|
||||||
@@ -245,26 +261,13 @@ dnl else
|
|||||||
AC_MSG_WARN([The sed1330 driver needs a parallel port.])
|
AC_MSG_WARN([The sed1330 driver needs a parallel port.])
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
glcdlib)
|
text)
|
||||||
AC_CHECK_HEADERS([glcdproclib/glcdprocdriver.h],[
|
DRIVERS="$DRIVERS text${SO}"
|
||||||
AC_CHECK_LIB(glcdprocdriver, main,[
|
actdrivers=["$actdrivers text"]
|
||||||
LIBGLCD="-lglcddrivers -lglcdgraphics -lglcdprocdriver"
|
|
||||||
DRIVERS="$DRIVERS glcdlib${SO}"
|
|
||||||
actdrivers=["$actdrivers glcdlib"]
|
|
||||||
],[
|
|
||||||
dnl else
|
|
||||||
AC_MSG_WARN([The glcdlib driver needs the glcdprocdriver library])
|
|
||||||
],
|
|
||||||
[-lglcddrivers -lglcdgraphics -lglcdprocdriver]
|
|
||||||
)
|
|
||||||
],[
|
|
||||||
dnl else
|
|
||||||
AC_MSG_WARN([The glcdlib driver needs glcdproclib/glcdprocdriver.h])
|
|
||||||
])
|
|
||||||
;;
|
;;
|
||||||
imon)
|
tyan)
|
||||||
DRIVERS="$DRIVERS imon${SO}"
|
DRIVERS="$DRIVERS tyan${SO}"
|
||||||
actdrivers=["$actdrivers imon"]
|
actdrivers=["$actdrivers tyan"]
|
||||||
;;
|
;;
|
||||||
xosd)
|
xosd)
|
||||||
AC_CHECK_HEADERS([xosd.h],[
|
AC_CHECK_HEADERS([xosd.h],[
|
||||||
@@ -281,10 +284,6 @@ dnl else
|
|||||||
AC_MSG_WARN([The xosd driver needs xosd.h])
|
AC_MSG_WARN([The xosd driver needs xosd.h])
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
tyan)
|
|
||||||
DRIVERS="$DRIVERS tyan${SO}"
|
|
||||||
actdrivers=["$actdrivers tyan"]
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
AC_MSG_ERROR([Unknown driver $driver])
|
AC_MSG_ERROR([Unknown driver $driver])
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -43,26 +43,28 @@ First you need to add your driver name to the list of possible choices in the he
|
|||||||
<para>This:</para>
|
<para>This:</para>
|
||||||
<screen>
|
<screen>
|
||||||
AC_ARG_ENABLE(drivers,
|
AC_ARG_ENABLE(drivers,
|
||||||
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
||||||
[ drivers may be separated with commas.]
|
[ drivers may be separated with commas.]
|
||||||
[ Possible choices are:]
|
[ Possible choices are:]
|
||||||
[ mtxorb,cfontz,cfontz633,curses,text,lb216,]
|
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
|
||||||
[ hd44780,joy,irman,lirc,bayrad,glk,,mtc_s16209x]
|
[ hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,]
|
||||||
[ stv5730,sed1330,sed1520,svga,lcdm001,t6963]
|
[ lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,]
|
||||||
[ lcterm,icp_a106]
|
[ noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,]
|
||||||
|
[ t6963,text,tyan,xosd]
|
||||||
[ \"all\" compiles all drivers],
|
[ \"all\" compiles all drivers],
|
||||||
drivers="$enableval",
|
drivers="$enableval",
|
||||||
</screen>
|
</screen>
|
||||||
<para>becomes:</para>
|
<para>becomes:</para>
|
||||||
<screen>
|
<screen>
|
||||||
AC_ARG_ENABLE(drivers,
|
AC_ARG_ENABLE(drivers,
|
||||||
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
[ --enable-drivers=<list> compile driver for LCDs in <list>.]
|
||||||
[ drivers may be separated with commas.]
|
[ drivers may be separated with commas.]
|
||||||
[ Possible choices are:]
|
[ Possible choices are:]
|
||||||
[ mtxorb,cfontz,cfontz633,curses,text,lb216,]
|
[ bayrad,cfontz,cfontz633,curses,cwlnx,glcdlib,glk,]
|
||||||
[ hd44780,joy,irman,lirc,bayrad,glk,,mtc_s16209x]
|
[ hd44780,icp_a106,imon,iowarrior,irman,joy,lb216,]
|
||||||
[ stv5730,sed1330,sed1520,svga,lcdm001,t6963]
|
[ lcdm001,lcterm,lirc,ms6931,mtc_s16209x,mtxorb,]
|
||||||
[ lcterm,icp_a106,<emphasis>myDriver</emphasis>]
|
[ noritakevfd,pylcd,sed1330,sed1520,sli,stv5730,svga,]
|
||||||
|
[ t6963,text,tyan,xosd,<emphasis>myDriver</emphasis>]
|
||||||
[ \"all\" compiles all drivers],
|
[ \"all\" compiles all drivers],
|
||||||
drivers="$enableval",
|
drivers="$enableval",
|
||||||
</screen>
|
</screen>
|
||||||
@@ -76,15 +78,15 @@ AC_ARG_ENABLE(drivers,
|
|||||||
|
|
||||||
<para>This:</para>
|
<para>This:</para>
|
||||||
<screen>
|
<screen>
|
||||||
if test "$drivers" = "all"; then
|
if test "$drivers" = "all"; then
|
||||||
drivers=[mtxorb,cfontz,...biglist...,lcterm,icp_a106]
|
drivers=[bayrad,cfontz,...(big list)...,tyan,xosd]
|
||||||
fi
|
fi
|
||||||
</screen>
|
</screen>
|
||||||
<para>becomes:</para>
|
<para>becomes:</para>
|
||||||
<screen>
|
<screen>
|
||||||
if test "$drivers" = "all"; then
|
if test "$drivers" = "all"; then
|
||||||
drivers=[mtxorb,cfontz,...biglist...,lcterm,icp_a106,<emphasis>myDriver</emphasis>]
|
drivers=[bayrad,cfontz,...(big list)...,tyan,xosd,<emphasis>myDriver</emphasis>]
|
||||||
fi
|
fi
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
@@ -121,11 +123,11 @@ If your driver only works in some platform or requires a particular library or h
|
|||||||
|
|
||||||
<para>This</para>
|
<para>This</para>
|
||||||
<screen>
|
<screen>
|
||||||
EXTRA_PROGRAMS = bayrad CFontz ...biglist... text wirz_sli
|
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... wirz_sli xosd
|
||||||
</screen>
|
</screen>
|
||||||
<para>becomes</para>
|
<para>becomes</para>
|
||||||
<screen>
|
<screen>
|
||||||
EXTRA_PROGRAMS = bayrad CFontz ...biglist... text wirz_sli <emphasis>myDriver</emphasis>
|
EXTRA_PROGRAMS = bayrad CFontz ...(big list)... wirz_sli xosd <emphasis>myDriver</emphasis>
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|||||||
+11
-10
@@ -18,7 +18,7 @@ AM_LDFLAGS = @LDSHARED@
|
|||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
pkglib_PROGRAMS = @DRIVERS@
|
pkglib_PROGRAMS = @DRIVERS@
|
||||||
EXTRA_PROGRAMS = bayrad CFontz CFontz633 NoritakeVFD curses CwLnx glk hd44780 irman icp_a106 joy lb216 mtc_s16209x lcdm001 lcterm lirc MtxOrb pylcd sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli ms6931 IOWarrior glcdlib imon xosd
|
EXTRA_PROGRAMS = bayrad CFontz CFontz633 curses CwLnx glcdlib glk hd44780 icp_a106 imon IOWarrior irman joy lb216 lcdm001 lcterm lirc ms6931 mtc_s16209x MtxOrb NoritakeVFD pylcd sed1330 sed1520 stv5730 svga t6963 text tyan wirz_sli xosd
|
||||||
noinst_LIBRARIES = libLCD.a
|
noinst_LIBRARIES = libLCD.a
|
||||||
|
|
||||||
IOWarrior_CFLAGS = @libusb_cflags@
|
IOWarrior_CFLAGS = @libusb_cflags@
|
||||||
@@ -26,21 +26,21 @@ hd44780_CFLAGS = @libusb_cflags@
|
|||||||
|
|
||||||
CFontz_LDADD = libLCD.a
|
CFontz_LDADD = libLCD.a
|
||||||
CFontz633_LDADD = libLCD.a
|
CFontz633_LDADD = libLCD.a
|
||||||
NoritakeVFD_LDADD = libLCD.a
|
|
||||||
curses_LDADD = @LIBCURSES@
|
curses_LDADD = @LIBCURSES@
|
||||||
CwLnx_LDADD = libLCD.a
|
CwLnx_LDADD = libLCD.a
|
||||||
CwLnx_SOURCES = lcd.h CwLnx.c CwLnx.h report.h
|
CwLnx_SOURCES = lcd.h CwLnx.c CwLnx.h report.h
|
||||||
|
glcdlib_LDADD = libLCD.a @LIBGLCD@
|
||||||
hd44780_LDADD = libLCD.a @HD44780_DRIVERS@ @libusb_libs@
|
hd44780_LDADD = libLCD.a @HD44780_DRIVERS@ @libusb_libs@
|
||||||
hd44780_DEPENDENCIES = @HD44780_DRIVERS@
|
hd44780_DEPENDENCIES = @HD44780_DRIVERS@
|
||||||
icp_a106_LDADD = libLCD.a
|
icp_a106_LDADD = libLCD.a
|
||||||
|
imon_LDADD = libLCD.a
|
||||||
IOWarrior_LDADD = @libusb_libs@ libLCD.a
|
IOWarrior_LDADD = @libusb_libs@ libLCD.a
|
||||||
irman_LDADD = @LIBIRMAN@
|
irman_LDADD = @LIBIRMAN@
|
||||||
lirc_LDADD = @LIBLIRC_CLIENT@
|
lirc_LDADD = @LIBLIRC_CLIENT@
|
||||||
lcterm_LDADD = libLCD.a
|
lcterm_LDADD = libLCD.a
|
||||||
|
NoritakeVFD_LDADD = libLCD.a
|
||||||
svga_LDADD = @LIBSVGA@
|
svga_LDADD = @LIBSVGA@
|
||||||
t6963_LDADD = libLCD.a
|
t6963_LDADD = libLCD.a
|
||||||
glcdlib_LDADD = libLCD.a @LIBGLCD@
|
|
||||||
imon_LDADD = libLCD.a
|
|
||||||
xosd_LDADD = @LIBXOSD@
|
xosd_LDADD = @LIBXOSD@
|
||||||
|
|
||||||
libLCD_a_SOURCES = lcd_lib.h lcd_lib.c
|
libLCD_a_SOURCES = lcd_lib.h lcd_lib.c
|
||||||
@@ -48,22 +48,26 @@ libLCD_a_SOURCES = lcd_lib.h lcd_lib.c
|
|||||||
bayrad_SOURCES = lcd.h bayrad.h bayrad.c report.h
|
bayrad_SOURCES = lcd.h bayrad.h bayrad.c report.h
|
||||||
CFontz_SOURCES = lcd.h CFontz.c CFontz.h CFontz-charmap.h report.h
|
CFontz_SOURCES = lcd.h CFontz.c CFontz.h CFontz-charmap.h report.h
|
||||||
CFontz633_SOURCES = lcd.h CFontz633.c CFontz633.h CFontz-charmap.h CFontz633io.c CFontz633io.h report.h
|
CFontz633_SOURCES = lcd.h CFontz633.c CFontz633.h CFontz-charmap.h CFontz633io.c CFontz633io.h report.h
|
||||||
NoritakeVFD_SOURCES = lcd.h NoritakeVFD.c NoritakeVFD.h report.h
|
|
||||||
curses_SOURCES = lcd.h curses_drv.h curses_drv.c report.h
|
curses_SOURCES = lcd.h curses_drv.h curses_drv.c report.h
|
||||||
|
glcdlib_SOURCES = lcd.h glcdlib.h glcdlib.c report.h
|
||||||
glk_SOURCES = lcd.h glk.c glk.h glkproto.c glkproto.h report.h
|
glk_SOURCES = lcd.h glk.c glk.h glkproto.c glkproto.h report.h
|
||||||
hd44780_SOURCES = lcd.h hd44780.h hd44780.c hd44780-drivers.h hd44780-low.h hd44780-charmap.h report.h
|
hd44780_SOURCES = lcd.h hd44780.h hd44780.c hd44780-drivers.h hd44780-low.h hd44780-charmap.h report.h
|
||||||
EXTRA_hd44780_SOURCES = hd44780-4bit.c hd44780-4bit.h hd44780-ext8bit.c hd44780-ext8bit.h lcd_sem.c lcd_sem.h hd44780-serialLpt.c hd44780-serialLpt.h hd44780-winamp.c hd44780-winamp.h hd44780-picanlcd.c hd44780-picanlcd.h hd44780-bwct-usb.c hd44780-bwct-usb.h hd44780-lcdserializer.c hd44780-lcdserializer.h hd44780-lis2.c hd44780-lis2.h port.h lpt-port.h timing.h
|
EXTRA_hd44780_SOURCES = hd44780-4bit.c hd44780-4bit.h hd44780-ext8bit.c hd44780-ext8bit.h lcd_sem.c lcd_sem.h hd44780-serialLpt.c hd44780-serialLpt.h hd44780-winamp.c hd44780-winamp.h hd44780-picanlcd.c hd44780-picanlcd.h hd44780-bwct-usb.c hd44780-bwct-usb.h hd44780-lcdserializer.c hd44780-lcdserializer.h hd44780-lis2.c hd44780-lis2.h port.h lpt-port.h timing.h
|
||||||
|
|
||||||
icp_a106_SOURCES = lcd.h icp_a106.c icp_a106.h report.h
|
icp_a106_SOURCES = lcd.h icp_a106.c icp_a106.h report.h
|
||||||
|
imon_SOURCES = lcd.h imon.h imon.c report.h
|
||||||
IOWarrior_SOURCES = lcd.h lcd_lib.h hd44780-charmap.h IOWarrior.c IOWarrior.h report.h
|
IOWarrior_SOURCES = lcd.h lcd_lib.h hd44780-charmap.h IOWarrior.c IOWarrior.h report.h
|
||||||
irman_SOURCES = lcd.h irmanin.c irmanin.h report.h
|
irman_SOURCES = lcd.h irmanin.c irmanin.h report.h
|
||||||
joy_SOURCES = lcd.h joy.c joy.h port.h report.h
|
joy_SOURCES = lcd.h joy.c joy.h port.h report.h
|
||||||
lb216_SOURCES = lcd.h lb216.c lb216.h report.h
|
lb216_SOURCES = lcd.h lb216.c lb216.h report.h
|
||||||
mtc_s16209x_SOURCES = lcd.h mtc_s16209x.c mtc_s16209x.h report.h
|
|
||||||
lcterm_SOURCES = lcd.h lcterm.c lcterm.h report.h
|
|
||||||
lcdm001_SOURCES = lcd.h lcdm001.c lcdm001.h report.h
|
lcdm001_SOURCES = lcd.h lcdm001.c lcdm001.h report.h
|
||||||
|
lcterm_SOURCES = lcd.h lcterm.c lcterm.h report.h
|
||||||
lirc_SOURCES = lcd.h lircin.c lircin.h report.h
|
lirc_SOURCES = lcd.h lircin.c lircin.h report.h
|
||||||
|
ms6931_SOURCES = lcd.h ms6931.h ms6931.c report.h
|
||||||
|
mtc_s16209x_SOURCES = lcd.h mtc_s16209x.c mtc_s16209x.h report.h
|
||||||
MtxOrb_SOURCES = lcd.h MtxOrb.c MtxOrb.h report.h bigfont.h
|
MtxOrb_SOURCES = lcd.h MtxOrb.c MtxOrb.h report.h bigfont.h
|
||||||
|
NoritakeVFD_SOURCES = lcd.h NoritakeVFD.c NoritakeVFD.h report.h
|
||||||
|
pylcd_SOURCES = lcd.h pylcd.c pylcd.h
|
||||||
sed1330_SOURCES = lcd.h sed1330.h sed1330.c port.h lpt-port.h timing.h report.h
|
sed1330_SOURCES = lcd.h sed1330.h sed1330.c port.h lpt-port.h timing.h report.h
|
||||||
sed1520_SOURCES = lcd.h sed1520.c sed1520.h sed1520fm.c sed1520fm.h port.h report.h
|
sed1520_SOURCES = lcd.h sed1520.c sed1520.h sed1520fm.c sed1520fm.h port.h report.h
|
||||||
stv5730_SOURCES = lcd.h stv5730.c stv5730.h report.h
|
stv5730_SOURCES = lcd.h stv5730.c stv5730.h report.h
|
||||||
@@ -72,9 +76,6 @@ t6963_SOURCES = lcd.h t6963.c t6963.h t6963_font.h report.h
|
|||||||
text_SOURCES = lcd.h text.h text.c report.h
|
text_SOURCES = lcd.h text.h text.c report.h
|
||||||
tyan_SOURCES = lcd.h tyan_lcdm.h tyan_lcdm.c report.h
|
tyan_SOURCES = lcd.h tyan_lcdm.h tyan_lcdm.c report.h
|
||||||
wirz_sli_SOURCES = lcd.h wirz-sli.h wirz-sli.c report.h
|
wirz_sli_SOURCES = lcd.h wirz-sli.h wirz-sli.c report.h
|
||||||
ms6931_SOURCES = lcd.h ms6931.h ms6931.c report.h
|
|
||||||
glcdlib_SOURCES = lcd.h glcdlib.h glcdlib.c report.h
|
|
||||||
imon_SOURCES = lcd.h imon.h imon.c report.h
|
|
||||||
xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h
|
xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
//#include "drv_base.h"
|
//#include "drv_base.h"
|
||||||
#include "report.h"
|
#include "report.h"
|
||||||
|
|
||||||
#include "shared/debug.h"
|
//#include "shared/debug.h"
|
||||||
#include "shared/str.h"
|
#include "shared/str.h"
|
||||||
|
|
||||||
#define SLI_DEFAULT_DEVICE "/dev/lcd"
|
#define SLI_DEFAULT_DEVICE "/dev/lcd"
|
||||||
@@ -57,7 +57,7 @@ sli_init (Driver *drvthis)
|
|||||||
struct termios portset;
|
struct termios portset;
|
||||||
char out[2];
|
char out[2];
|
||||||
|
|
||||||
char device[256] = WIRZ_DEFAULT_DEVICE;
|
char device[256] = SLI_DEFAULT_DEVICE;
|
||||||
int speed = B19200;
|
int speed = B19200;
|
||||||
|
|
||||||
/* Read config file */
|
/* Read config file */
|
||||||
@@ -523,15 +523,15 @@ sli_icon (Driver *drvthis, int x, int y, int icon)
|
|||||||
custom = beat;
|
custom = beat;
|
||||||
switch( icon ) {
|
switch( icon ) {
|
||||||
case ICON_BLOCK_FILLED:
|
case ICON_BLOCK_FILLED:
|
||||||
CFontz_chr( drvthis, x, y, 255 );
|
sli_chr( drvthis, x, y, 255 );
|
||||||
break;
|
break;
|
||||||
case ICON_HEART_FILLED:
|
case ICON_HEART_FILLED:
|
||||||
CFontz_set_char( drvthis, 0, icons[1] );
|
sli_set_char( drvthis, 0, icons[1] );
|
||||||
CFontz_chr( drvthis, x, y, 0 );
|
sli_chr( drvthis, x, y, 0 );
|
||||||
break;
|
break;
|
||||||
case ICON_HEART_OPEN:
|
case ICON_HEART_OPEN:
|
||||||
CFontz_set_char( drvthis, 0, icons[0] );
|
sli_set_char( drvthis, 0, icons[0] );
|
||||||
CFontz_chr( drvthis, x, y, 0 );
|
sli_chr( drvthis, x, y, 0 );
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user