CFLAGS = $(OPTIMIZE) $(INCLUDES) $(DEFINES)
rm -f $(ALLO) disp_asc.out errs makefile.bak sys.lib
lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} -DTN3270 \
${TNMAIN} ${MOSTC} -lcurses
lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${MSMAIN} map3270.c -lcurses
disp_asc.out: ../ctlr/ebc_disp.o
(cd ../tools; make mkdstoas $(MFLAGS) )
grep '^#include' ${ALLC} ${ALLH} | grep -v '<' | \
sed -e 's/:[^"]*"\([^"]*\)".*/: \1/' \
awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
else rec = rec " " $$2 } } \
END { print rec } ' > makedep
echo '$$r makedep' >>eddep
echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
echo '$$r makedep' >>eddep
# DO NOT DELETE THIS LINE
termout.o: ../general/general.h terminal.h ../telnet.ext ../ctlr/hostctlr.h
termout.o: ../ctlr/inbound.ext ../ctlr/oia.h ../ctlr/options.ext
termout.o: ../ctlr/outbound.ext ../ctlr/screen.h ../ascii/map3270.ext
termout.o: ../general/globals.h disp_asc.out