#
# Copyright (c) 1992 Regents of the University of Michigan.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of Michigan at Ann Arbor. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
# Internet Rover Host File Manager
#
DEFINES=
INCLUDES=	-I../../include
CFLAGS=		${INCLUDES} ${DEFINES} ${ACFLAGS}

SRCS=	manager.c fileio.c
OBJS=	manager.o fileio.o
HDRS=	HostfileManager.h Hostfileio.h HostfileioP.h

default:
	(cd ../.. ; make HostfileManager)

all:	HostfileManager.a

HostfileManager.a: ${OBJS} ${LIBC}
	  	ar cru HostfileManager.a ${OBJS}
		cp HostfileManager.a ${LIBDIR}/libHostfileManager.a
		ranlib ${LIBDIR}/libHostfileManager.a

.c.o:
	${CC} ${CFLAGS} -c $*.c

install:
	cp HostfileManager.a ${LIBDIR}/libHostfileManager.a
	ranlib ${LIBDIR}/libHostfileManager.a

depend: ${SRCS}
	mkdep ${CFLAGS} ${SRCS}

lint: ${SRCS} ${HDRS}
	lint -Dlint ${INCLUDES} ${DEFINES} ${SRCS}

aixlint: ${SRCS} ${HDRS}
	lint -wK -Dlint ${INCLUDES} ${DEFINES} ${SRCS}

tags:
	ctags -t ${SRCS} ${HDRS}

clean:
	rm -f *.o core *.a 

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

manager.c:
fileio.c:

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
