aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorreinelt <>2003-10-04 07:54:18 +0000
committerreinelt <>2003-10-04 07:54:18 +0000
commit4ba1a07d3323760bc6b07296574b4cf28ffba295 (patch)
treef9802927ea146f2d83c71f2286f7f79f430de260 /Makefile.am
parent3c7c74b35051ae9a82ce18e2f863bf39847cce11 (diff)
downloadlcd4linux-4ba1a07d3323760bc6b07296574b4cf28ffba295.tar.gz
[lcd4linux @ 2003-10-04 07:54:17 by reinelt]
autoconf/automake/libtool fixes from Ronald Landheer-Cieslak
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am46
1 files changed, 17 insertions, 29 deletions
diff --git a/Makefile.am b/Makefile.am
index 8881956..459021e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,23 +2,19 @@
AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
+DRIVERS=@DRIVERS@
bin_PROGRAMS = lcd4linux
-# deactivateing shared lib target for the moment until
-# libtool works cleanly...
-#lib_LTLIBRARIES = liblcd4linux.la
+lib_LTLIBRARIES = liblcd4linux.la
AM_CFLAGS = $(X_CFLAGS) -D_GNU_SOURCE -Wall
lcd4linux_LDFLAGS = $(X_LIBS)
-lcd4linux_LDADD = @DRIVERS@ @DRVLIBS@
+lcd4linux_LDADD = @DRIVERS@ @DRVLIBS@ liblcd4linux.la
lcd4linux_DEPENDENCIES = @DRIVERS@
lcd4linux_SOURCES = \
lcd4linux.c \
-debug.c debug.h \
-cfg.c cfg.h \
-lock.c lock.h \
pid.c pid.h \
parser.c parser.h \
processor.c processor.h \
@@ -29,19 +25,27 @@ seti.c seti.h \
battery.c battery.h \
dvb.c dvb.h \
filter.c filter.h \
-udelay.c udelay.h \
+widget.c widget.h \
+exec.c exec.h \
+mail2.c \
+socket.c socket.h
+
+liblcd4linux_la_LDFLAGS = -version-info 9:11:9
+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 \
-widget.c widget.h \
bar.c bar.h \
icon.c icon.h \
fontmap.c fontmap.h \
-exec.c exec.h \
-mail2.c \
-socket.c socket.h
+parport.c parport.h \
+udelay.c udelay.h
EXTRA_lcd4linux_SOURCES= \
-parport.c parport.h \
BeckmannEgle.c \
Crystalfontz.c \
Cwlinux.c \
@@ -58,22 +62,6 @@ Skeleton.c \
XWindow.c \
Text.c
-# deactivated
-# liblcd4linux_la_LDFLAGS = -version-info 9:11:9
-
-# 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 \
-parport.c parport.h \
-udelay.c udelay.h \
-@DRIVERS@
-
EXTRA_DIST = \
lcd4linux.conf.sample \
lcd4kde.conf \