##############################################################################
#    Instructions to Make, for compilation of X400S /SMTP-MTS  library
#
#	This file is automatically generated.  Do not edit!
##############################################################################

# 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	=	cc
CFLAGS	=	-O    $(OPTIONS)
LFLAGS	=	-bhu $(OPTIONS)

LIB	=	x400mts.a

CFILES	=	hosts.c x4mail.c
OFILES	=	hosts.o x4mail.o


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

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


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

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

$(LIB):		$(OFILES)
		-if [ -f $@ ] ; then \
			mv $@ z$@ ; \
		 fi;exit 0
		ar r $@ $(OFILES); ranlib $@
		-rm -f ../libx400s.a
		ln $@ ../libx400s.a
		-rm -f ../llib-lx400
		ln llib-lx400 ../llib-lx400
		-@ls -l $@
		-@echo "X400S /SMTP-MTS library built normally"
l-x400mts:;	lint $(LFLAGS) $(CFILES) $(LLIBS)

hosts.o:	Makefile
x4mail.o:	Makefile x4mail.h


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

distribution:   clean
		-rm -f bboardsMH.m4 popMH.m4

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

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







































