# $Id: Makefile,v 1.6 1995/07/18 18:37:45 stuart Exp $

include $(SRCROOT)/src/Configfile

CFLAGS=		$(_CFLAGS) $(NOASM)
CPPFLAGS=	$(_CPPFLAGS) -I$(SRCROOT)/src/sys/server

OBJS =	_brk.o _longjerr.o _reboot.o _seekdir.o asynchio.o \
	bcmp.o bcopy.o bzero.o cat.o crypt.o \
	environ.o errno.o execlp.o ffs.o \
	fprintk.o fputk.o fslib.o fsversion.o getgrent.o \
	getlogin.o getopt.o getpass.o getpw.o getpwent.o \
	hypot.o index.o itoa.o killpg.o libconf.o loadname.o \
	lock.o lrand.o lsearch.o lstat.o memccpy.o mntent.o \
	mtab.o nlist.o peekpoke.o popen.o printk.o putenv.o \
	putpwent.o readlink.o regexp.o regsub.o \
	rindex.o stderr.o swab.o symlink.o syscall.o sysconf.o \
	syslib.o telldir.o ttyname.o utmp.o \
	vfork.o xdr_utmp.o

# Files which have been superceeded by the estdio equivalents:
# ctermid.o cuserid.o getw.o putw.o fdopen.c

all:		$(OBJS)

ar:		all
		for i in $(OBJS); do ln -f $$i ../tmp/$$i; done

depend:
		$(MAKEDEPEND) $(CPPFLAGS) *.c >.depend

clean:
		rm -f *.o *.s *.bak

clobber:	clean
		>.depend

include .depend
