##############################################################################
# Instructions to Make, for compilation of ZOT UIP/utility processes
# This file is automatically generated. Do not edit!
# @(#)$Id: mts,v 1.8 1992/02/06 17:29:00 jromine Exp $
##############################################################################
# The following entries were inserted during MH configuration
BINDIR
= $(DESTDIR
)/usr
/contrib
/mh-6.8
/bin
ETCDIR
= $(DESTDIR
)/usr
/contrib
/mh-6.8
/lib
OPTIONS
= -DBIND
-DBSD42
-DBSD43
-DDBMPWD
-DMORE
='"/usr/bin/more"' -DSYS5DIR
-DNTOHLSWAP
-DOVERHEAD
-DVSPRINTF
-DWHATNOW
-DZONEINFO
-DMHE
-DMHRC
-DMIME
-DPOSIX
-DBSD44
-DWAITINT
-DUNISTD
-DPOP2
-DRPOP
-DPOPSERVICE
='"pop3"' -DSENDMTS
-DSMTP
-DPOP
-DBPOP
-DNNTP
-DSPRINTFTYPE
=int
-DTYPESIG
=void
-O
-I..
LDLIBS
= $(LIBES
) $(LDOPTLIB
)
OFILES
= mts.o lock.o client.o
LFILES
= l-mts l-lock l-client
######################################################################
######################################################################
@make
-n inst-all
> MAKEMTS
tar $(TFLAGS
) MAKEMTS mtstailor
-cd
$(ETCDIR
); rm -f mtstailor
##############################################################################
##############################################################################
l-mts
:; $(LINT
) $(LFLAGS
) mts.c
$(LLIBS
)
##############################################################################
##############################################################################
l-lock
:; $(LINT
) $(LFLAGS
) lock.c
$(LLIBS
)
##############################################################################
##############################################################################
l-client
:; $(LINT
) $(LFLAGS
) client.c
$(LLIBS
)
##############################################################################
##############################################################################
inst-mtstailor
: $(ETCDIR
)/mtstailor
$(ETCDIR
)/mtstailor
: mtstailor
$(REMOVE
) $@ zmtstailor
; \
echo
"Will not overwrite existing $@"; \
##############################################################################
##############################################################################
unclean
:; -rm -f z
* _
* :* core eddep makedep MAKEMTS
##############################################################################
##############################################################################
MODULES
= mts lock client
depend
:; for m in
$(MODULES
); do
( \
echo
$$i.o
: $$i.c
>> makedep
; \
grep
'^#[ ]*include' $$i.c | \
sed
-e
's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
-e
's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
-e
's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
echo
'/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
echo
'$$r makedep' >> eddep
echo
'# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
echo
'# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
# DO NOT DELETE THIS LINE
# DEPENDENCIES START HERE
#mts.o: /usr/include/ctype.h
#mts.o: /usr/include/stdio.h
#mts.o: /usr/include/netdb.h
#mts.o: /usr/include/whoami.h
#mts.o: /usr/include/sys/utsname.h
#mts.o: /usr/include/pwd.h
#mts.o: /usr/include/fcntl.h
lock.o
: ..
/..
/h
/strings.h
#lock.o: /usr/include/stdio.h
#lock.o: /usr/include/sys/types.h
#lock.o: /usr/include/sys/stat.h
#lock.o: /usr/include/sys/file.h
#lock.o: /usr/include/signal.h
client.o
: ..
/..
/h
/strings.h
#client.o: /usr/include/stdio.h
#client.o: /usr/include/errno.h
#client.o: /usr/include/sys/types.h
#client.o: /usr/include/sys/socket.h
#client.o: /usr/include/netinet/in.h
#client.o: /usr/include/netdb.h
#client.o: /usr/include/arpa/inet.h
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY