# $Id: Makefile.in,v 1.2 2005-04-07 17:29:00 ghudson Exp $

SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@

CC=@CC@
DEFS=@DEFS@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
X_CFLAGS=@X_CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
X_LIBS=@X_LIBS@
X_PRE_LIBS=@X_PRE_LIBS@
X_EXTRA_LIBS=@X_EXTRA_LIBS@
ALL_CFLAGS=`pkg-config --cflags gtk+-2.0` ${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} \
  ${DEFS}
ALL_LDFLAGS=${LDFLAGS} ${X_LIBS}
ALL_LIBS=`pkg-config --libs gtk+-2.0` ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} \
  ${LIBS}

all: gathlogout

gathlogout: gathlogout.o
	${CC} ${CFLAGS} ${ALL_LDFLAGS} -o $@ gathlogout.o ${ALL_LIBS}

.c.o:
	${CC} -c ${ALL_CFLAGS} $<

check:

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
	${INSTALL_PROGRAM} gathlogout ${DESTDIR}${bindir}

clean:
	rm -f gathlogout.o gathlogout

distclean: clean
	rm -f config.cache config.log config.status Makefile
