# $Id: Makefile.in,v 1.1.1.2 1998/01/21 22:33:58 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@
lsbindir=@lsbindir@

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

all: listsuidcells

listsuidcells: listsuidcells.o
	${CC} ${LDFLAGS} -o listsuidcells listsuidcells.o -lsys -lrx -llwp \
		-lsys ${LIBS}

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

check:

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${lsbindir}
	${INSTALL_PROGRAM} listsuidcells ${DESTDIR}${lsbindir}

clean:
	rm -f listsuidcells.o listsuidcells

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