lcd4linux_LDFLAGS = $(X_LIBS)
lcd4linux_LDADD = liblcd4linux.la @DRVLIBS@
-# Fixme: if this line is active, all drivers will be compiled in
-# and not taken from the library
-# lcd4linux_DEPENDENCIES = @DRIVERS@
lcd4linux_SOURCES = \
lcd4linux.c \
mail2.c \
socket.c socket.h
+liblcd4linux_la_DEPENDENCIES = @DRIVERS@
liblcd4linux_la_LDFLAGS = -version-info 9:11:9
-# Fixme: why? Why not?
-# liblcd4linux_la_LIBADD=$(DRIVERS)
+liblcd4linux_la_LIBADD = @DRIVERS@
liblcd4linux_la_SOURCES = \
display.c display.h \
bar.c bar.h \
icon.c icon.h \
fontmap.c fontmap.h \
-udelay.c udelay.h \
-@DRIVERS@
-# Fixme: wwhy? why not?
-# Fixme: $DRIVERS? S(DRIVERS)? @DRIVERS@?
-
+udelay.c udelay.h
EXTRA_lcd4linux_SOURCES= \
parport.c parport.h \
lcd4linux_LDFLAGS = $(X_LIBS)
lcd4linux_LDADD = liblcd4linux.la @DRVLIBS@
-# Fixme: if this line is active, all drivers will be compiled in
-# and not taken from the library
-# lcd4linux_DEPENDENCIES = @DRIVERS@
lcd4linux_SOURCES = lcd4linux.c pid.c pid.h parser.c parser.h processor.c processor.h evaluator.c evaluator.h expression.c expression.h system.c system.h isdn.c isdn.h mail.c mail.h seti.c seti.h battery.c battery.h dvb.c dvb.h filter.c filter.h widget.c widget.h exec.c exec.h mail2.c socket.c socket.h
+liblcd4linux_la_DEPENDENCIES = @DRIVERS@
liblcd4linux_la_LDFLAGS = -version-info 9:11:9
-# Fixme: why? Why not?
-# liblcd4linux_la_LIBADD=$(DRIVERS)
+liblcd4linux_la_LIBADD = @DRIVERS@
-liblcd4linux_la_SOURCES = display.c display.h debug.c debug.h cfg.c cfg.h lock.c lock.h pixmap.c pixmap.h bar.c bar.h icon.c icon.h fontmap.c fontmap.h udelay.c udelay.h @DRIVERS@
+liblcd4linux_la_SOURCES = display.c display.h debug.c debug.h cfg.c cfg.h lock.c lock.h pixmap.c pixmap.h bar.c bar.h icon.c icon.h fontmap.c fontmap.h udelay.c udelay.h
-# Fixme: wwhy? why not?
-# Fixme: $DRIVERS? S(DRIVERS)? @DRIVERS@?
EXTRA_lcd4linux_SOURCES = parport.c parport.h BeckmannEgle.c Crystalfontz.c Cwlinux.c HD44780.c M50530.c T6963.c USBLCD.c MatrixOrbital.c MilfordInstruments.c PalmPilot.c Raster.c SIN.c Skeleton.c XWindow.c Text.c
X_LIBS = @X_LIBS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
-liblcd4linux_la_LIBADD =
liblcd4linux_la_OBJECTS = display.lo debug.lo cfg.lo lock.lo pixmap.lo \
bar.lo icon.lo fontmap.lo udelay.lo
bin_PROGRAMS = lcd4linux$(EXEEXT)
PARPORT="no"
if test "$BECKMANNEGLE" = "yes"; then
- DRIVERS="$DRIVERS BeckmannEgle.$OBJEXT"
+ DRIVERS="$DRIVERS BeckmannEgle.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_BECKMANNEGLE 1
fi
if test "$CRYSTALFONTZ" = "yes"; then
- DRIVERS="$DRIVERS Crystalfontz.$OBJEXT"
+ DRIVERS="$DRIVERS Crystalfontz.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_CRYSTALFONTZ 1
fi
if test "$CWLINUX" = "yes"; then
- DRIVERS="$DRIVERS Cwlinux.$OBJEXT"
+ DRIVERS="$DRIVERS Cwlinux.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_CWLINUX 1
if test "$HD44780" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS HD44780.$OBJEXT"
+ DRIVERS="$DRIVERS HD44780.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_HD44780 1
if test "$M50530" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS M50530.$OBJEXT"
+ DRIVERS="$DRIVERS M50530.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_M50530 1
if test "$T6963" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS T6963.$OBJEXT"
+ DRIVERS="$DRIVERS T6963.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_T6963 1
fi
if test "$USBLCD" = "yes"; then
- DRIVERS="$DRIVERS USBLCD.$OBJEXT"
+ DRIVERS="$DRIVERS USBLCD.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_USBLCD 1
fi
if test "$MATRIXORBITAL" = "yes"; then
- DRIVERS="$DRIVERS MatrixOrbital.$OBJEXT"
+ DRIVERS="$DRIVERS MatrixOrbital.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_MATRIXORBITAL 1
fi
if test "$MILINST" = "yes"; then
- DRIVERS="$DRIVERS MilfordInstruments.$OBJEXT"
+ DRIVERS="$DRIVERS MilfordInstruments.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_MILINST 1
fi
if test "$PALMPILOT" = "yes"; then
- DRIVERS="$DRIVERS PalmPilot.$OBJEXT"
+ DRIVERS="$DRIVERS PalmPilot.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_PALMPILOT 1
fi
if test "$SIN" = "yes"; then
- DRIVERS="$DRIVERS SIN.$OBJEXT"
+ DRIVERS="$DRIVERS SIN.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_SIN 1
fi
if test "$SKELETON" = "yes"; then
- DRIVERS="$DRIVERS Skeleton.$OBJEXT"
+ DRIVERS="$DRIVERS Skeleton.lo"
cat >>confdefs.h <<\_ACEOF
#define WITH_SKELETON 1
if test "$TEXT" = "yes"; then
if test "$has_curses" = true; then
- DRIVERS="$DRIVERS Text.$OBJEXT"
+ DRIVERS="$DRIVERS Text.lo"
DRVLIBS="$DRVLIBS $CURSES_LIBS"
CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES"
echo "$as_me: error: X11 headers or libraries not available: X11 driver disabled" >&2;}
{ (exit 1); exit 1; }; }
else
- DRIVERS="$DRIVERS XWindow.$OBJEXT"
+ DRIVERS="$DRIVERS XWindow.lo"
DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
cat >>confdefs.h <<\_ACEOF
{ (exit 1); exit 1; }; }
fi
-# Raster.$OBJEXT depends on PPM or PNG
+# Raster.lo depends on PPM or PNG
if test "$RASTER" = "yes"; then
- DRIVERS="$DRIVERS Raster.$OBJEXT"
+ DRIVERS="$DRIVERS Raster.lo"
fi
# parport driver
if test "$PARPORT" = "yes"; then
- DRIVERS="$DRIVERS parport.$OBJEXT"
+ DRIVERS="$DRIVERS parport.lo"
fi
PARPORT="no"
if test "$BECKMANNEGLE" = "yes"; then
- DRIVERS="$DRIVERS BeckmannEgle.$OBJEXT"
+ DRIVERS="$DRIVERS BeckmannEgle.lo"
AC_DEFINE(WITH_BECKMANNEGLE,1,[junk])
fi
if test "$CRYSTALFONTZ" = "yes"; then
- DRIVERS="$DRIVERS Crystalfontz.$OBJEXT"
+ DRIVERS="$DRIVERS Crystalfontz.lo"
AC_DEFINE(WITH_CRYSTALFONTZ,1,[junk])
fi
if test "$CWLINUX" = "yes"; then
- DRIVERS="$DRIVERS Cwlinux.$OBJEXT"
+ DRIVERS="$DRIVERS Cwlinux.lo"
AC_DEFINE(WITH_CWLINUX,1,[junk])
fi
if test "$HD44780" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS HD44780.$OBJEXT"
+ DRIVERS="$DRIVERS HD44780.lo"
AC_DEFINE(WITH_HD44780,1,[junk])
fi
if test "$M50530" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS M50530.$OBJEXT"
+ DRIVERS="$DRIVERS M50530.lo"
AC_DEFINE(WITH_M50530,1,[junk])
fi
if test "$T6963" = "yes"; then
PARPORT="yes"
- DRIVERS="$DRIVERS T6963.$OBJEXT"
+ DRIVERS="$DRIVERS T6963.lo"
AC_DEFINE(WITH_T6963,1,[junk])
fi
if test "$USBLCD" = "yes"; then
- DRIVERS="$DRIVERS USBLCD.$OBJEXT"
+ DRIVERS="$DRIVERS USBLCD.lo"
AC_DEFINE(WITH_USBLCD,1,[junk])
fi
if test "$MATRIXORBITAL" = "yes"; then
- DRIVERS="$DRIVERS MatrixOrbital.$OBJEXT"
+ DRIVERS="$DRIVERS MatrixOrbital.lo"
AC_DEFINE(WITH_MATRIXORBITAL,1,[junk])
fi
if test "$MILINST" = "yes"; then
- DRIVERS="$DRIVERS MilfordInstruments.$OBJEXT"
+ DRIVERS="$DRIVERS MilfordInstruments.lo"
AC_DEFINE(WITH_MILINST,1,[junk])
fi
if test "$PALMPILOT" = "yes"; then
- DRIVERS="$DRIVERS PalmPilot.$OBJEXT"
+ DRIVERS="$DRIVERS PalmPilot.lo"
AC_DEFINE(WITH_PALMPILOT,1,[junk])
fi
fi
if test "$SIN" = "yes"; then
- DRIVERS="$DRIVERS SIN.$OBJEXT"
+ DRIVERS="$DRIVERS SIN.lo"
AC_DEFINE(WITH_SIN,1,[junk])
fi
if test "$SKELETON" = "yes"; then
- DRIVERS="$DRIVERS Skeleton.$OBJEXT"
+ DRIVERS="$DRIVERS Skeleton.lo"
AC_DEFINE(WITH_SKELETON,1,[junk])
fi
if test "$TEXT" = "yes"; then
if test "$has_curses" = true; then
- DRIVERS="$DRIVERS Text.$OBJEXT"
+ DRIVERS="$DRIVERS Text.lo"
DRVLIBS="$DRVLIBS $CURSES_LIBS"
CPPFLAGS="$CPPFLAGS $CURSES_INCLUDES"
AC_DEFINE(WITH_TEXT,1,[junk])
if test "$no_x" = "yes"; then
AC_MSG_ERROR(X11 headers or libraries not available: X11 driver disabled)
else
- DRIVERS="$DRIVERS XWindow.$OBJEXT"
+ DRIVERS="$DRIVERS XWindow.lo"
DRVLIBS="$DRVLIBS -L$ac_x_libraries -lX11"
AC_DEFINE(WITH_X11,1,[junk])
fi
AC_MSG_ERROR([You should include at least one driver...])
fi
-# Raster.$OBJEXT depends on PPM or PNG
+# Raster.lo depends on PPM or PNG
if test "$RASTER" = "yes"; then
- DRIVERS="$DRIVERS Raster.$OBJEXT"
+ DRIVERS="$DRIVERS Raster.lo"
fi
# parport driver
if test "$PARPORT" = "yes"; then
- DRIVERS="$DRIVERS parport.$OBJEXT"
+ DRIVERS="$DRIVERS parport.lo"
fi
AC_SUBST(DRIVERS)