# Copyright (c) 1988 Regents of the University of California.
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
# @(#)makefile 3.2 (Berkeley) 3/28/88
# msdos versus unix defines
#PC_LINT_ARGS = -DLINT_ARGS
#PC_DEBUG_FLAGS = -Zi -Od
#PC_RANLIB = echo "Done with "
CFLAGS = ${DEBUG_FLAGS} -I..
ALLPRINT = ${ALLH} ${ALLC}
ALLSOURCE = ${ALLPRINT} makefile makefile.mak
${CC} ${CFLAGS} -o $@ tnrecv$O $L ../api/apilib.a
for i in makefile.bak ${ALLO} errs tnrecv$X; \
sourcelist: ${ALLSOURCE} tarread.exe
@for i in ${ALLSOURCE} tarread.exe; \
do (echo ${DIRPATH}$$i); done
grep '^#include' ${ALLC} | 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
#include "tncomp.h" "../api/api.h" "../ctlr/function.h" "../ctlr/hostctlr.h"
#include "../ctlr/oia.h" "../ctlr/screen.h" "../apilib/disp_asc.h"
#include "../apilib/astosc.h" "../general/general.h"