
# @(#) Makefile 2.1 89/07/26 19:15:39
# Makefile for "xtail" (generated by /local/bin/makemake version 1.00.07)
# Created by bin@vector on Wed Jul 26 17:36:37 CDT 1989

SHELL = /bin/sh
CC = cc
DEFS = 
COPTS = -O
LOPTS = 
LIBS = -lx
DEBUG = -g -DDEBUG 
LINTFLAGS = -DLINT

TARG = xtail
OTHERS = 

SRCS = xtail.c entryfuncs.c miscfuncs.c

OBJS = xtail.o entryfuncs.o miscfuncs.o

# Any edits below this line will be lost if "makemake" is rerun!
# Commands may be inserted after the '#%custom' line at the end of this file.

CFLAGS = $(COPTS) $(DEFS) # $(DEBUG)
LFLAGS = $(LOPTS) # $(DEBUG)

all:		$(TARG) $(OTHERS)
install:	all		; inst Install
clean:				; rm -f $(TARG) $(OBJS) a.out core $(TARG).lint
clobber:	clean		; inst -u Install
lint:		$(TARG).lint

$(TARG):		$(OBJS)
		$(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)

$(TARG).lint:	$(TARG)
		lint $(LINTFLAGS) $(DEFS) $(SRCS) $(LIBS) > $@

xtail.o: /usr/include/signal.h /usr/include/stdio.h /usr/include/sys/signal.h \
        /usr/include/sys/stat.h /usr/include/sys/types.h xtail.c \
        xtail.h
entryfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
        /usr/include/sys/errno.h /usr/include/sys/fcntl.h \
        /usr/include/sys/lockcmn.h /usr/include/sys/stat.h \
        /usr/include/sys/types.h entryfuncs.c xtail.h
miscfuncs.o: /usr/include/fcntl.h /usr/include/stdio.h \
        /usr/include/sys/fcntl.h /usr/include/sys/lockcmn.h \
        /usr/include/sys/ndir.h /usr/include/sys/stat.h \
        /usr/include/sys/types.h /usr/include/time.h miscfuncs.c \
        xtail.h

make:		;
		/local/bin/makemake -i -v1.00.07 -aMakefile \
		    -DSHELL='$(SHELL)' -DCC='$(CC)' -DDEFS='$(DEFS)' \
		    -DCOPTS='$(COPTS)' -DLOPTS='$(LOPTS)' -DLIBS='$(LIBS)' \
		    -DDEBUG='$(DEBUG)' -DLINTFLAGS='$(LINTFLAGS)' \
		    -DOTHERS='$(OTHERS)' $(TARG) $(SRCS)

#%custom - commands below this line will be maintained if 'makemake' is rerun

ARLIST = README xtail.h xtail.c entryfuncs.c miscfuncs.c Makefile xtail.man

shar:		xtail.shar
xtail.shar:	$(ARLIST)	; shar $(ARLIST) > xtail.shar

