view sbr/Makefile @ 12:441a2190cfae

Lion fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 Apr 2012 13:10:49 +0900
parents f89a9a79e124
children 07f8972434be
line wrap: on
line source

##############################################################################
#    Instructions to Make, for compilation of MH modules
#
#	This file is automatically generated.  Do not edit!
# @(#)$Id: Makefile,v 1.2 2005/04/19 15:25:08 kono Exp $
##############################################################################

OPTIONS	=	-DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETMG -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop"' -DAPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/less"' -DNNTP -DMAILGROUP -DSENDMTS -DSMTP -DPOP -DSPRINTFTYPE=int -DTYPESIG=void -O2 -g

CC	=	gcc
CPP	=	gcc -E
CFLAGS	=	$(OPTIONS)
LINT	=	lint
LFLAGS	=	-bhu $(OPTIONS)
LLIBS	=


LIBS	=	libmh.a


CFILES	=	add.c adios.c admonish.c addrsbr.c advertise.c advise.c \
		ambigsw.c atooi.c brkstring.c closefds.c concat.c copy.c \
		copyip.c cpydata.c cpydgst.c discard.c done.c fdcompare.c \
		gans.c getans.c getanswer.c getcpy.c help.c fmtcompile.c \
		formataddr.c formatsbr.c m_atoi.c m_backup.c m_convert.c \
		m_delete.c m_draft.c m_find.c m_fmsg.c m_foil.c m_getdefs.c \
		m_getfld.c m_getfolder.c m_gmprot.c m_gmsg.c m_maildir.c \
		m_name.c m_readefs.c m_remsg.c m_replace.c m_scratch.c \
		m_seq.c m_seqbits.c m_seqflag.c m_seqnew.c m_setcur.c \
		m_setseq.c m_setvis.c m_sync.c m_tmpfil.c m_update.c \
		ml_codeconv.c \
		ml_exthdr.c \
		makedir.c path.c peekc.c pidwait.c pidstatus.c \
		printsw.c push.c putenv.c pwd.c refile.c remdir.c r1bindex.c \
		ruserpass.c \
		showfile.c smatch.c sprintb.c ssequal.c strindex.c trimcpy.c \
		uleq.c uprf.c vfgets.c formatdef.c m_msgdef.c


OFILES	=	add.o adios.o admonish.o addrsbr.o advertise.o advise.o \
		ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o \
		copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o \
		gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o \
		formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o \
		m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o \
		m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o \
		m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o \
		m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o \
		m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o \
		ml_codeconv.o \
		ml_exthdr.o \
		makedir.o path.o peekc.o pidwait.o pidstatus.o \
		printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o \
		ruserpass.o \
		showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o \
		uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o


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






##############################################################################
#	Generate MH subroutine library
##############################################################################

all:		$(LIBS)

libmh.a: 	$(OFILES)
		-if [ -f $@ ]; then \
		    mv $@ z$@; \
		fi
		ar r $@ $(OFILES); ranlib $@
		-@ls -l $@
		-@echo "MH library built normally"


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

inst-lib:;

lint:;		$(LINT) $(LFLAGS) $(CFILES) $(LLIBS)

unconfig:	distribution
		-rm -f Makefile
		-rm -rf shared

distribution:   clean
		-rm -f version

clean:		unclean
		-rm -f *.o libmh.*

unclean:;	-rm -f zlibmh.* _* :* core *.core eddep makedep


##############################################################################
#  MODIFICATIONS -- Adding a new routine (e.g., pickle)
##############################################################################

#
#    Add any new .c files to CFILES
#    Add any new .o files to OFILES
#
#
#    Under the "Dependencies" section, add a line for pickle.o
#	pickle.o:	../h/mh.h
#
#    If other includes are read, modify this rule to reflect this
#    Of course, if pickle.c doesn't include ../h/mh.h (or any
#    other includes), you can leave this line out altogether


##############################################################################
#	Dependencies
##############################################################################

MODULES	=	$(CFILES)

depend:
		for m in $(MODULES); do ( \
		    i=`basename $$m .c`; \
		    $(CPP) -M $(OPTIONS) $$i.c >> makedep \
		); done
		echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
		echo '$$r makedep' >> eddep
		echo 'w' >> eddep
		cp Makefile _Makefile
		ed - Makefile < eddep
		rm eddep makedep
		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
add.o: add.c
add.o: ../h/mh.h
#add.o: /usr/include/stdio.h
adios.o: adios.c
adios.o: ../h/mh.h
admonish.o: admonish.c
admonish.o: ../h/mh.h
addrsbr.o: addrsbr.c
addrsbr.o: ../h/mh.h
addrsbr.o: ../h/addrsbr.h
addrsbr.o: ../zotnet/mf.h
#addrsbr.o: /usr/include/stdio.h
#addrsbr.o: /usr/include/ctype.h
advertise.o: advertise.c
advertise.o: ../h/mh.h
#advertise.o: /usr/include/stdio.h
#advertise.o: /usr/include/sys/types.h
#advertise.o: /usr/include/sys/uio.h
advise.o: advise.c
advise.o: ../h/mh.h
ambigsw.o: ambigsw.c
ambigsw.o: ../h/mh.h
#ambigsw.o: /usr/include/stdio.h
atooi.o: atooi.c
brkstring.o: brkstring.c
brkstring.o: ../h/mh.h
closefds.o: closefds.c
closefds.o: ../h/mh.h
#closefds.o: /usr/include/stdio.h
concat.o: concat.c
concat.o: ../h/mh.h
#concat.o: /usr/include/stdio.h
#concat.o: /usr/include/varargs.h
copy.o: copy.c
copyip.o: copyip.c
cpydata.o: cpydata.c
cpydata.o: ../h/mh.h
#cpydata.o: /usr/include/stdio.h
cpydgst.o: cpydgst.c
cpydgst.o: ../h/mh.h
#cpydgst.o: /usr/include/stdio.h
discard.o: discard.c
discard.o: ../h/mh.h
#discard.o: /usr/include/stdio.h
#discard.o: /usr/include/sgtty.h
#discard.o: /usr/include/sys/types.h
#discard.o: /usr/include/termio.h
#discard.o: /usr/include/sys/ioctl.h
done.o: done.c
done.o: ../h/mh.h
fdcompare.o: fdcompare.c
fdcompare.o: ../h/mh.h
#fdcompare.o: /usr/include/stdio.h
gans.o: gans.c
gans.o: ../h/mh.h
#gans.o: /usr/include/stdio.h
getans.o: getans.c
getans.o: ../h/mh.h
#getans.o: /usr/include/setjmp.h
#getans.o: /usr/include/signal.h
#getans.o: /usr/include/stdio.h
getanswer.o: getanswer.c
getanswer.o: ../h/mh.h
#getanswer.o: /usr/include/stdio.h
getcpy.o: getcpy.c
getcpy.o: ../h/mh.h
#getcpy.o: /usr/include/stdio.h
help.o: help.c
help.o: ../h/mh.h
#help.o: /usr/include/stdio.h
formatsbr.o: formatsbr.c
formatsbr.o: ../h/mh.h
formatsbr.o: ../h/addrsbr.h
formatsbr.o: ../h/formatsbr.h
formatsbr.o: ../zotnet/tws.h
formatsbr.o: ../h/fmtcompile.h
#formatsbr.o: /usr/include/ctype.h
#formatsbr.o: /usr/include/stdio.h
#formatsbr.o: /usr/include/sys/types.h
#formatsbr.o: /usr/include/sys/stat.h
fmtcompile.o: fmtcompile.c
fmtcompile.o: ../h/mh.h
fmtcompile.o: ../h/addrsbr.h
fmtcompile.o: ../h/formatsbr.h
fmtcompile.o: ../zotnet/tws.h
fmtcompile.o: ../h/fmtcompile.h
#fmtcompile.o: /usr/include/ctype.h
#fmtcompile.o: /usr/include/stdio.h
#fmtcompile.o: /usr/include/sys/types.h
#fmtcompile.o: /usr/include/sys/stat.h
formataddr.o: formataddr.c
formataddr.o: ../h/mh.h
formataddr.o: ../h/addrsbr.h
formataddr.o: ../h/formatsbr.h
#formataddr.o: /usr/include/ctype.h
#formataddr.o: /usr/include/stdio.h
m_atoi.o: m_atoi.c
m_atoi.o: ../h/mh.h
m_backup.o: m_backup.c
m_backup.o: ../h/mh.h
#m_backup.o: /usr/include/stdio.h
m_convert.o: m_convert.c
m_convert.o: ../h/mh.h
#m_convert.o: /usr/include/stdio.h
#m_convert.o: /usr/include/ctype.h
m_delete.o: m_delete.c
m_delete.o: ../h/mh.h
#m_delete.o: /usr/include/stdio.h
m_draft.o: m_draft.c
m_draft.o: ../h/mh.h
#m_draft.o: /usr/include/errno.h
#m_draft.o: /usr/include/stdio.h
#m_draft.o: /usr/include/sys/types.h
#m_draft.o: /usr/include/sys/stat.h
m_find.o: m_find.c
m_find.o: ../h/mh.h
#m_find.o: /usr/include/stdio.h
m_fmsg.o: m_fmsg.c
m_fmsg.o: ../h/mh.h
#m_fmsg.o: /usr/include/stdio.h
m_foil.o: m_foil.c
m_foil.o: ../h/mh.h
#m_foil.o: /usr/include/stdio.h
m_getdefs.o: m_getdefs.c
m_getdefs.o: ../h/mh.h
#m_getdefs.o: /usr/include/stdio.h
#m_getdefs.o: /usr/include/errno.h
#m_getdefs.o: /usr/include/sys/types.h
#m_getdefs.o: /usr/include/sys/stat.h
#m_getdefs.o: /usr/include/pwd.h
m_getfld.o: m_getfld.c
m_getfld.o: ../h/mh.h
#m_getfld.o: /usr/include/stdio.h
m_getfld.o: ../zotnet/mts.h
#m_getfld.o: /usr/include/ctype.h
m_getfolder.o: m_getfolder.c
m_getfolder.o: ../h/mh.h
#m_getfolder.o: /usr/include/stdio.h
m_gmprot.o: m_gmprot.c
m_gmprot.o: ../h/mh.h
#m_gmprot.o: /usr/include/stdio.h
m_gmsg.o: m_gmsg.c
m_gmsg.o: ../h/mh.h
m_gmsg.o: ../h/local.h
#m_gmsg.o: /usr/include/stdio.h
#m_gmsg.o: /usr/include/sys/types.h
#m_gmsg.o: /usr/include/sys/stat.h
#m_gmsg.o: /usr/include/ndir.h
#m_gmsg.o: /usr/include/dir.h
#m_gmsg.o: /usr/include/sys/dir.h
m_maildir.o: m_maildir.c
m_maildir.o: ../h/mh.h
#m_maildir.o: /usr/include/stdio.h
m_name.o: m_name.c
m_name.o: ../h/mh.h
#m_name.o: /usr/include/stdio.h
m_readefs.o: m_readefs.c
m_readefs.o: ../h/mh.h
#m_readefs.o: /usr/include/stdio.h
m_remsg.o: m_remsg.c
m_remsg.o: ../h/mh.h
#m_remsg.o: /usr/include/stdio.h
m_replace.o: m_replace.c
m_replace.o: ../h/mh.h
#m_replace.o: /usr/include/stdio.h
m_scratch.o: m_scratch.c
m_scratch.o: ../h/mh.h
#m_scratch.o: /usr/include/stdio.h
m_seq.o: m_seq.c
m_seq.o: ../h/mh.h
#m_seq.o: /usr/include/stdio.h
m_seqbits.o: m_seqbits.c
m_seqbits.o: ../h/mh.h
#m_seqbits.o: /usr/include/stdio.h
m_seqflag.o: m_seqflag.c
m_seqflag.o: ../h/mh.h
m_seqnew.o: m_seqnew.c
m_seqnew.o: ../h/mh.h
#m_seqnew.o: /usr/include/ctype.h
#m_seqnew.o: /usr/include/stdio.h
m_setcur.o: m_setcur.c
m_setcur.o: ../h/mh.h
#m_setcur.o: /usr/include/stdio.h
m_setseq.o: m_setseq.c
m_setseq.o: ../h/mh.h
#m_setseq.o: /usr/include/stdio.h
m_setvis.o: m_setvis.c
m_setvis.o: ../h/mh.h
#m_setvis.o: /usr/include/stdio.h
m_sync.o: m_sync.c
m_sync.o: ../h/mh.h
#m_sync.o: /usr/include/stdio.h
m_tmpfil.o: m_tmpfil.c
m_tmpfil.o: ../h/mh.h
#m_tmpfil.o: /usr/include/stdio.h
m_update.o: m_update.c
m_update.o: ../h/mh.h
#m_update.o: /usr/include/stdio.h
#m_update.o: /usr/include/signal.h
makedir.o: makedir.c
makedir.o: ../h/mh.h
#makedir.o: /usr/include/stdio.h
path.o: path.c
path.o: ../h/mh.h
#path.o: /usr/include/stdio.h
peekc.o: peekc.c
peekc.o: ../h/mh.h
#peekc.o: /usr/include/stdio.h
pidwait.o: pidwait.c
pidwait.o: ../h/mh.h
#pidwait.o: /usr/include/signal.h
#pidwait.o: /usr/include/stdio.h
#pidwait.o: /usr/include/sys/wait.h
pidstatus.o: pidstatus.c
pidstatus.o: ../h/mh.h
#pidstatus.o: /usr/include/signal.h
#pidstatus.o: /usr/include/stdio.h
printsw.o: printsw.c
printsw.o: ../h/mh.h
push.o: push.c
push.o: ../h/mh.h
#push.o: /usr/include/stdio.h
#push.o: /usr/include/signal.h
putenv.o: putenv.c
putenv.o: ../h/mh.h
#putenv.o: /usr/include/stdio.h
pwd.o: pwd.c
pwd.o: ../h/mh.h
pwd.o: ../h/local.h
#pwd.o: /usr/include/stdio.h
#pwd.o: /usr/include/sys/types.h
#pwd.o: /usr/include/sys/stat.h
#pwd.o: /usr/include/ndir.h
#pwd.o: /usr/include/dir.h
refile.o: refile.c
refile.o: ../h/mh.h
#refile.o: /usr/include/stdio.h
remdir.o: remdir.c
remdir.o: ../h/mh.h
#remdir.o: /usr/include/stdio.h
r1bindex.o: r1bindex.c
showfile.o: showfile.c
showfile.o: ../h/mh.h
#showfile.o: /usr/include/stdio.h
smatch.o: smatch.c
smatch.o: ../h/mh.h
sprintb.o: sprintb.c
sprintb.o: ../h/mh.h
#sprintb.o: /usr/include/stdio.h
ssequal.o: ssequal.c
strindex.o: strindex.c
trimcpy.o: trimcpy.c
trimcpy.o: ../h/mh.h
#trimcpy.o: /usr/include/ctype.h
#trimcpy.o: /usr/include/stdio.h
uleq.o: uleq.c
uprf.o: uprf.c
vfgets.o: vfgets.c
vfgets.o: ../h/mh.h
#vfgets.o: /usr/include/stdio.h
ml_codeconv.o: ../h/mh.h
ml_exthdr.o: ../h/mh.h
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY