# $Id: Makefile.in,v 1.1 2000-01-01 05:38:52 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@
lbindir=@lbindir@
mandir=@mandir@

CC=@CC@
DEFS=@DEFS@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}

all: syncupdate

syncupdate: syncupdate.o
	${CC} ${LDFLAGS} -o syncupdate syncupdate.o ${LIBS}

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

check:

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${lbindir}
	${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
	${INSTALL_PROGRAM} syncupdate ${DESTDIR}${lbindir}
	${INSTALL} -m 444 ${srcdir}/syncupdate.1 ${DESTDIR}${mandir}/man1

clean:
	rm -f syncupdate.o syncupdate

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