# $Id: Makefile.in,v 1.2 2002-04-09 05:54:30 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@
sbindir=@sbindir@

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

all: messaged

OBJS=messaged.o

messaged: ${OBJS}
	${CC} ${LDFLAGS} -o messaged ${OBJS} ${LIBS}

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

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
	${INSTALL_PROGRAM} messaged ${DESTDIR}${sbindir}

clean:
	rm -f messaged ${OBJS}

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