aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 6c10ccd464d654b70f547d65fe5087e631876585 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
DRIVERS=@DRIVERS@
PLUGINS=@PLUGINS@

bin_PROGRAMS = lcd4linux
#lib_LTLIBRARIES = liblcd4linux.la

AM_CFLAGS = $(X_CFLAGS) -D_GNU_SOURCE -Wall

lcd4linux_LDFLAGS = $(X_LIBS)
lcd4linux_LDADD   = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@
#lcd4linux_LDADD  = liblcd4linux.la @DRVLIBS@ 
#remove next line for liblcd4linux
lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@

lcd4linux_SOURCES =         \
lcd4linux.c                 \
cfg.c         cfg.h         \
debug.c       debug.h       \
drv.c         drv.h         \
evaluator.c   evaluator.h   \
hash.c        hash.h        \
layout.c      layout.h      \
lock.c 	      lock.h        \
pid.c         pid.h         \
timer.c       timer.h       \
thread.c      thread.h      \
udelay.c      udelay.h      \
qprintf.c     qprintf.h     \
                            \
widget.c      widget.h      \
widget_text.c widget_text.h \
widget_bar.c  widget_bar.h  \
widget_icon.c widget_icon.h \
                            \
plugin.c      plugin.h      \
plugin_cfg.c                \
plugin_math.c               \
plugin_string.c             \
plugin_time.c

#liblcd4linux_la_DEPENDENCIES = @DRIVERS@
#liblcd4linux_la_LDFLAGS = -version-info 9:12:9
#liblcd4linux_la_LIBADD = @DRIVERS@

#liblcd4linux_la_SOURCES =

EXTRA_lcd4linux_SOURCES=    \
drv_generic_text.c          \
drv_generic_text.h          \
drv_generic_graphic.c       \
drv_generic_graphic.h       \
drv_generic_serial.c        \
drv_generic_serial.h        \
drv_generic_parport.c       \
drv_generic_parport.h       \
BeckmannEgle.c              \
drv_Crystalfontz.c          \
drv_Cwlinux.c               \
drv_HD44780.c               \
drv_Image.c                 \
drv_M50530.c                \
drv_T6963.c                 \
drv_USBLCD.c                \
drv_MatrixOrbital.c         \
MilfordInstruments.c        \
PalmPilot.c                 \
drv_X11.c                   \
Text.c                      \
font_6x8.h                  \
                            \
plugin_apm.c                \
plugin_cpuinfo.c            \
plugin_dvb.c                \
plugin_exec.c               \
plugin_i2c_sensors.c        \
plugin_imon.c               \
plugin_isdn.c               \
plugin_loadavg.c            \
plugin_meminfo.c            \
plugin_mysql.c              \
plugin_netdev.c             \
plugin_pop3.c               \
plugin_ppp.c                \
plugin_proc_stat.c          \
plugin_seti.c               \
plugin_uname.c              \
plugin_uptime.c             \
plugin_wireless.c           \
plugin_xmms.c


EXTRA_DIST =                \
lcd4linux.conf.sample       \
lcd4kde.conf                \
lcd4linux.kdelnk            \
lcd4linux.xpm               \
lcd4linux.lsm               \
curses.m4                   \
AUTHORS                     \
CREDITS                     \
FAQ                         \
NEWS                        \
TODO                        \
README                      \
README.Rows                 \
README.Tokens               \
README.Drivers              \
README.Plugins              \
README.KDE                  \
plugin_sample.c
' href='#n459'>459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845
/* $Id: font_6x8.h,v 1.1 2004/02/15 21:43:43 reinelt Exp $
 *
 * 6x8 font
 *
 * Copyright 1999, 2000, 2004 Michael Reinelt <reinelt@eunet.at>
 * Copyright 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
 *
 * This file is part of LCD4Linux.
 *
 * LCD4Linux 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.
 *
 * LCD4Linux 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 should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *
 * $Log: font_6x8.h,v $
 * Revision 1.1  2004/02/15 21:43:43  reinelt
 * T6963 driver nearly finished
 * framework for graphic displays done
 * i2c_sensors patch from Xavier
 * some more old generation files removed
 *
 */

#define ______ 0x00
#define _____O 0x01
#define ____O_ 0x02
#define ____OO 0x03
#define ___O__ 0x04
#define ___O_O 0x05
#define ___OO_ 0x06
#define ___OOO 0x07
#define __O___ 0x08
#define __O__O 0x09
#define __O_O_ 0x0a
#define __O_OO 0x0b
#define __OO__ 0x0c
#define __OO_O 0x0d
#define __OOO_ 0x0e
#define __OOOO 0x0f
#define _O____ 0x10
#define _O___O 0x11
#define _O__O_ 0x12
#define _O__OO 0x13
#define _O_O__ 0x14
#define _O_O_O 0x15
#define _O_OO_ 0x16
#define _O_OOO 0x17
#define _OO___ 0x18
#define _OO__O 0x19
#define _OO_O_ 0x1a
#define _OO_OO 0x1b
#define _OOO__ 0x1c
#define _OOO_O 0x1d
#define _OOOO_ 0x1e
#define _OOOOO 0x1f

unsigned char Font_6x8[256][8]={
  [0x20] { ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x21] { ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ______,
	   ______,
	   ___O__,
	   ______ },
  [0x22] { __O_O_,
	   __O_O_,
	   __O_O_,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x23] { __O_O_,
	   __O_O_,
	   _OOOOO,
	   __O_O_,
	   _OOOOO,
	   __O_O_,
	   __O_O_,
	   ______ },
  [0x24] { ___O__,
	   __OOOO,
	   _O_O__,
	   __OOO_,
	   ___O_O,
	   _OOOO_,
	   ___O__,
	   ______ },
  [0x25] { _OO___,
	   _OO__O,
	   ____O_,
	   ___O__,
	   __O___,
	   _O__OO,
	   ____OO,
	   ______ },
  [0x26] { __OO__,
	   _O__O_,
	   _O_O__,
	   __O___,
	   _O_O_O,
	   _O__O_,
	   __OO_O,
	   ______ },
  [0x27] { __OO__,
	   ___O__,
	   __O___,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x28] { ____O_,
	   ___O__,
	   __O___,
	   __O___,
	   __O___,
	   ___O__,
	   ____O_,
	   ______ },
  [0x29] { __O___,
	   ___O__,
	   ____O_,
	   ____O_,
	   ____O_,
	   ___O__,
	   __O___,
	   ______ },
  [0x2a] { ______,
	   ___O__,
	   _O_O_O,
	   __OOO_,
	   _O_O_O,
	   ___O__,
	   ______,
	   ______ },
  [0x2b] { ______,
	   ___O__,
	   ___O__,
	   _OOOOO,
	   ___O__,
	   ___O__,
	   ______,
	   ______ },
  [0x2c] { ______,
	   ______,
	   ______,
	   ______,
	   __OO__,
	   ___O__,
	   __O___,
	   ______ },
  [0x2d] { ______,
	   ______,
	   ______,
	   _OOOOO,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x2e] { ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   __OO__,
	   __OO__,
	   ______ },
  [0x2f] { ______,
	   _____O,
	   ____O_,
	   ___O__,
	   __O___,
	   _O____,
	   ______,
	   ______ },
  [0x30] { __OOO_,
	   _O___O,
	   _O__OO,
	   _O_O_O,
	   _OO__O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x31] { ___O__,
	   __OO__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   __OOO_,
	   ______ },
  [0x32] { __OOO_,
	   _O___O,
	   _____O,
	   ____O_,
	   ___O__,
	   __O___,
	   _OOOOO,
	   ______ },
  [0x33] { _OOOOO,
	   ____O_,
	   ___O__,
	   ____O_,
	   _____O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x34] { ____O_,
	   ___OO_,
	   __O_O_,
	   _O__O_,
	   _OOOOO,
	   ____O_,
	   ____O_,
	   ______ },
  [0x35] { _OOOOO,
	   _O____,
	   _O____,
	   _OOOO_,
	   _____O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x36] { ___OO_,
	   __O___,
	   _O____,
	   _OOOO_,
	   _O___O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x37] { _OOOOO,
	   _____O,
	   ____O_,
	   ___O__,
	   __O___,
	   __O___,
	   __O___,
	   ______ },
  [0x38] { __OOO_,
	   _O___O,
	   _O___O,
	   __OOO_,
	   _O___O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x39] { __OOO_,
	   _O___O,
	   _O___O,
	   __OOOO,
	   _____O,
	   ____O_,
	   __OO__,
	   ______ },
  [0x3a] { ______,
	   __OO__,
	   __OO__,
	   ______,
	   __OO__,
	   __OO__,
	   ______,
	   ______ },
  [0x3b] { ______,
	   __OO__,
	   __OO__,
	   ______,
	   __OO__,
	   ___O__,
	   __O___,
	   ______ },
  [0x3c] { ____O_,
	   ___O__,
	   __O___,
	   _O____,
	   __O___,
	   ___O__,
	   ____O_,
	   ______ },
  [0x3d] { ______,
	   ______,
	   _OOOOO,
	   ______,
	   _OOOOO,
	   ______,
	   ______,
	   ______ },
  [0x3e] { _O____,
	   __O___,
	   ___O__,
	   ____O_,
	   ___O__,
	   __O___,
	   _O____,
	   ______ },
  [0x3f] { __OOO_,
	   _O___O,
	   _____O,
	   ____O_,
	   ___O__,
	   ______,
	   ___O__,
	   ______ },
  [0x40] { __OOO_,
	   _O___O,
	   _____O,
	   __OO_O,
	   _O_O_O,
	   _O_O_O,
	   __OOO_,
	   ______ },
  [0x41] { __OOO_,
	   _O___O,
	   _O___O,
	   _O___O,
	   _OOOOO,
	   _O___O,
	   _O___O,
	   ______ },
  [0x42] { _OOOO_,
	   _O___O,
	   _O___O,
	   _OOOO_,
	   _O___O,
	   _O___O,
	   _OOOO_,
	   ______ },
  [0x43] { __OOO_,
	   _O___O,
	   _O____,
	   _O____,
	   _O____,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x44] { _OOO__,
	   _O__O_,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O__O_,
	   _OOO__,
	   ______ },
  [0x45] { _OOOOO,
	   _O____,
	   _O____,
	   _OOOO_,
	   _O____,
	   _O____,
	   _OOOOO,
	   ______ },
  [0x46] { _OOOOO,
	   _O____,
	   _O____,
	   _OOOO_,
	   _O____,
	   _O____,
	   _O____,
	   ______ },
  [0x47] { __OOO_,
	   _O___O,
	   _O____,
	   _O_OOO,
	   _O___O,
	   _O___O,
	   __OOOO,
	   ______ },
  [0x48] { _O___O,
	   _O___O,
	   _O___O,
	   _OOOOO,
	   _O___O,
	   _O___O,
	   _O___O,
	   ______ },
  [0x49] { __OOO_,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   __OOO_,
	   ______ },
  [0x4a] { ___OOO,
	   ____O_,
	   ____O_,
	   ____O_,
	   ____O_,
	   _O__O_,
	   __OO__,
	   ______ },
  [0x4b] { _O___O,
	   _O__O_,
	   _O_O__,
	   _OO___,
	   _O_O__,
	   _O__O_,
	   _O___O,
	   ______ },
  [0x4c] { _O____,
	   _O____,
	   _O____,
	   _O____,
	   _O____,
	   _O____,
	   _OOOOO,
	   ______ },
  [0x4d] { _O___O,
	   _OO_OO,
	   _O_O_O,
	   _O_O_O,
	   _O___O,
	   _O___O,
	   _O___O,
	   ______ },
  [0x4e] { _O___O,
	   _O___O,
	   _OO__O,
	   _O_O_O,
	   _O__OO,
	   _O___O,
	   _O___O,
	   ______ },
  [0x4f] { __OOO_,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x50] { _OOOO_,
	   _O___O,
	   _O___O,
	   _OOOO_,
	   _O____,
	   _O____,
	   _O____,
	   ______ },
  [0x51] { __OOO_,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O_O_O,
	   _O__O_,
	   __OO_O,
	   ______ },
  [0x52] { _OOOO_,
	   _O___O,
	   _O___O,
	   _OOOO_,
	   _O_O__,
	   _O__O_,
	   _O___O,
	   ______ },
  [0x53] { __OOOO,
	   _O____,
	   _O____,
	   __OOO_,
	   _____O,
	   _____O,
	   _OOOO_,
	   ______ },
  [0x54] { _OOOOO,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ______ },
  [0x55] { _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x56] { _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   __O_O_,
	   ___O__,
	   ______ },
  [0x57] { _O___O,
	   _O___O,
	   _O___O,
	   _O_O_O,
	   _O_O_O,
	   _O_O_O,
	   __O_O_,
	   ______ },
  [0x58] { _O___O,
	   _O___O,
	   __O_O_,
	   ___O__,
	   __O_O_,
	   _O___O,
	   _O___O,
	   ______ },
  [0x59] { _O___O,
	   _O___O,
	   _O___O,
	   __O_O_,
	   ___O__,
	   ___O__,
	   ___O__,
	   ______ },
  [0x5a] { _OOOOO,
	   _____O,
	   ____O_,
	   ___O__,
	   __O___,
	   _O____,
	   _OOOOO,
	   ______ },
  [0x5b] { __OOO_,
	   __O___,
	   __O___,
	   __O___,
	   __O___,
	   __O___,
	   __OOO_,
	   ______ },
  [0x5c] { _O___O,
	   __O_O_,
	   _OOOOO,
	   ___O__,
	   _OOOOO,
	   ___O__,
	   ___O__,
	   ______ },
  [0x5d] { __OOO_,
	   ____O_,
	   ____O_,
	   ____O_,
	   ____O_,
	   ____O_,
	   __OOO_,
	   ______ },
  [0x5e] { ___O__,
	   __O_O_,
	   _O___O,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x5f] { ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______,
	   _OOOOO,
	   ______ },
  [0x60] { __O___,
	   ___O__,
	   ____O_,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
  [0x61] { ______,
	   ______,
	   __OOO_,
	   _____O,
	   __OOOO,
	   _O___O,
	   __OOOO,
	   ______ },
  [0x62] { _O____,
	   _O____,
	   _O____,
	   _O_OO_,
	   _OO__O,
	   _O___O,
	   _OOOO_,
	   ______ },
  [0x63] { ______,
	   ______,
	   __OOO_,
	   _O____,
	   _O____,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x64] { _____O,
	   _____O,
	   _____O,
	   __OO_O,
	   _O__OO,
	   _O___O,
	   __OOOO,
	   ______ },
  [0x65] { ______,
	   ______,
	   __OOO_,
	   _O___O,
	   _OOOOO,
	   _O____,
	   __OOO_,
	   ______ },
  [0x66] { ___OO_,
	   __O__O,
	   __O___,
	   _OOO__,
	   __O___,
	   __O___,
	   __O___,
	   ______ },
  [0x67] { ______,
	   __OOOO,
	   _O___O,
	   _O___O,
	   __OOOO,
	   _____O,
	   __OOO_,
	   ______ },
  [0x68] { _O____,
	   _O____,
	   _O_OO_,
	   _OO__O,
	   _O___O,
	   _O___O,
	   _O___O,
	   ______ },
  [0x69] { ___O__,
	   ______,
	   __OO__,
	   ___O__,
	   ___O__,
	   ___O__,
	   __OOO_,
	   ______ },
  [0x6a] { ____O_,
	   ______,
	   ___OO_,
	   ____O_,
	   ____O_,
	   _O__O_,
	   __OO__,
	   ______ },
  [0x6b] { __O___,
	   __O___,
	   __O__O,
	   __O_O_,
	   __OO__,
	   __O_O_,
	   __O__O,
	   ______ },
  [0x6c] { __OO__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   __OOO_,
	   ______ },
  [0x6d] { ______,
	   ______,
	   _OO_O_,
	   _O_O_O,
	   _O_O_O,
	   _O___O,
	   _O___O,
	   ______ },
  [0x6e] { ______,
	   ______,
	   _OOOO_,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O___O,
	   ______ },
  [0x6f] { ______,
	   ______,
	   __OOO_,
	   _O___O,
	   _O___O,
	   _O___O,
	   __OOO_,
	   ______ },
  [0x70] { ______,
	   ______,
	   _OOOO_,
	   _O___O,
	   _OOOO_,
	   _O____,
	   _O____,
	   ______ },
  [0x71] { ______,
	   ______,
	   __OO_O,
	   _O__OO,
	   __OOOO,
	   _____O,
	   _____O,
	   ______ },
  [0x72] { ______,
	   ______,
	   _O_OO_,
	   _OO__O,
	   _O____,
	   _O____,
	   _O____,
	   ______ },
  [0x73] { ______,
	   ______,
	   __OOO_,
	   _O____,
	   __OOO_,
	   _____O,
	   _OOOO_,
	   ______ },
  [0x74] { __O___,
	   _OOO__,
	   __O___,
	   __O___,
	   __O___,
	   __O__O,
	   ___OO_,
	   ______ },
  [0x75] { ______,
	   ______,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O__OO,
	   __OO_O,
	   ______ },
  [0x76] { ______,
	   ______,
	   _O___O,
	   _O___O,
	   _O___O,
	   __O_O_,
	   ___O__,
	   ______ },
  [0x77] { ______,
	   ______,
	   _O___O,
	   _O___O,
	   _O___O,
	   _O_O_O,
	   __O_O_,
	   ______ },
  [0x78] { ______,
	   ______,
	   _O___O,
	   __O_O_,
	   ___O__,
	   __O_O_,
	   _O___O,
	   ______ },
  [0x79] { ______,
	   ______,
	   _O___O,
	   _O___O,
	   __OOOO,
	   _____O,
	   __OOO_,
	   ______ },
  [0x7a] { ______,
	   ______,
	   _OOOOO,
	   ____O_,
	   ___O__,
	   __O___,
	   _OOOOO,
	   ______ },
  [0x7b] { ____O_,
	   ___O__,
	   ___O__,
	   __O___,
	   ___O__,
	   ___O__,
	   ____O_,
	   ______ },
  [0x7c] { ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ___O__,
	   ______ },
  [0x7d] { __O___,
	   ___O__,
	   ___O__,
	   ____O_,
	   ___O__,
	   ___O__,
	   __O___,
	   ______ },
  [0x7e] { ______,
	   ___O__,
	   ____O_,
	   _OOOOO,
	   ____O_,
	   ___O__,
	   ______,
	   ______ },

  [0x7f] { ______,
	   ___O__,
	   __O___,
	   _OOOOO,
	   __O___,
	   ___O__,
	   ______,
	   ______ },
  [0xb0] { __OOO_,
	   __O_O_,
	   __OOO_,
	   ______,
	   ______,
	   ______,
	   ______,
	   ______ },
};