From b96dca61ab3e4fcbd60df88b7b5c91143572081b Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Thu, 30 Mar 2000 16:46:57 +0000 Subject: [lcd4linux @ 2000-03-30 16:46:57 by reinelt] configure now handles '--with-x' and '--without-x' correct --- Makefile.am | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f7702e2..1889b16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,25 +1,28 @@ ## Process this file with automake to produce Makefile.in AUTOMAKE_OPTIONS = foreign - CLEANFILES = *~ -AM_CFLAGS = -Wall -LDFLAGS = -L/usr/X11R6/lib -LDADD = -lX11 bin_PROGRAMS = lcd4linux + +AM_CFLAGS = $(X_CFLAGS) -Wall +lcd4linux_LDFLAGS = $(X_LIBS) +if WITH_X +lcd4linux_LDADD = -lX11 +endif + lcd4linux_SOURCES = \ - lcd4linux.c \ - cfg.c cfg.h \ - parser.c parser.h \ - processor.c processor.h \ - system.c system.h \ - isdn.c isdn.h \ - filter.c filter.h \ - display.c display.h \ - pixmap.c pixmap.h \ - fontmap.c fontmap.h \ - Skeleton.c \ - MatrixOrbital.c \ - Raster.c \ - XWindow.c +lcd4linux.c \ +cfg.c cfg.h \ +parser.c parser.h \ +processor.c processor.h \ +system.c system.h \ +isdn.c isdn.h \ +filter.c filter.h \ +display.c display.h \ +pixmap.c pixmap.h \ +fontmap.c fontmap.h \ +Skeleton.c \ +MatrixOrbital.c \ +Raster.c \ +XWindow.c -- cgit v1.2.3