File:  [CSRG BSD Unix] / 43BSDReno / contrib / mh / mts / sendmail / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

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

# The following entries were inserted during MH configuration
OPTIONS	=	-DBSD42 -DBSD43 -DBSD44 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='".\043"' -DDBM -DSENDMTS -DSMTP -I..

CC	=	/usr/bin/cc
CFLAGS	=	-O    $(OPTIONS)
LFLAGS	=	-bhu $(OPTIONS)

LIB	=	sendmts.a

CFILES	=	hosts.c smail.c
OFILES	=	hosts.o smail.o


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

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


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

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

$(LIB):		$(OFILES)
		ar r $@ $(OFILES); ranlib $@
		-rm -f ../libmts.a
		ln $@ ../libmts.a
		-rm -f ../llib-lmts
		ln llib-lsendmail ../llib-lmts
		-@ls -l $@
		-@echo "SendMail/SMTP-MTS library built normally"

l-sendmts:;	lint $(LFLAGS) $(CFILES) $(LLIBS)

hosts.o:	Makefile
smail.o:	Makefile smail.h


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

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

clean:		unclean
		rm -f *.o $(LIB) ../libmts.a ../llib-lmts

unclean:;	rm -f _* :* core

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.