##############################################################################
#    Instructions to Make, for compilation of MMDF-MTS library 
#
#	This file is automatically generated.  Do not edit!
# @(#)$Id: mmdf,v 1.2 90/11/25 18:56:17 sharpe Exp $
##############################################################################

# The following entries were inserted during MH configuration
OPTIONS	=	-DISI -DMHRC -DWHATNOW -DMHE -DBSD42 -DBERK -DNETWORK -DBIND -DRPATHS -DDPOP -DRPOP -DFOLDPROT='"0700"' -DMSGPROT='"0600"' -DTYPESIG='void' -DPOPSERVICE='"pop"' -DSPRINTF='int' -DSENDMTS -DSMTP -DPOP -DX400 -O -I..

CC	=	(MHCOMPILER)
CFLAGS	=	$(OPTIONS)
LINT	=	lint
LFLAGS	=	-bhu $(OPTIONS)
LLIBS	=

LIB	=	mmdfmts.a

CFILES	=	hosts.c
OFILES	=	hosts.o


##############################################################################
#	Generation Rules
##############################################################################

.c.o:;		$(CC) $(CFLAGS) -c $*.c
		-ld -x -r $@
		mv a.out $@


##############################################################################
#	Here it is...
##############################################################################

all:		$(LIB)
depend:;
lint:		l-mmdf



l-mmdf:;	$(LINT) $(LFLAGS) $(CFILES) $(LLIBS)

hosts.o:	Makefile


##############################################################################
#	Miscellaneous tasks
##############################################################################

unconfig:	distribution
		-rm -f Makefile

distribution:   clean

clean:		unclean
		-rm -f *.o $(LIB) z$(LIB)

unclean:;	-rm -f _* :* core
