CFLAGS = $(OPTIMIZE) $(INCLUDES) $(DEFINES)
# How to install the bloody thing...
BINDIR = $(DESTDIR)/usr/ucb
MANDIR = $(DESTDIR)/usr/man/man
# Names for the terminal libraries...
ALLH = bsubs.ext general.h globals.h
ALLPRINT = ${ALLH} ${ALLC}
ALLSOURCE = ${ALLPRINT} makefile makefile.mak
# In a vax environment, we use vaxbsubs.s, which gives us a fair amount
# of increased performance. We have provided genbsubs.c, which perform
# (more or less) the same function.
ALLO = globals.o ${SUBSO}
/lib/cpp -E $< | as -o $@
ar cr general.lib ${ALLO}
rm -f $(ALLO) errs makefile.bak general.lib
@for i in ${ALLSOURCE}; \
do (echo ${DIRPATH}/$$i); done
lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${ALLC}
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
globals.o: ../ctlr/hostctlr.h ../ascii/ascebc.h ../ctlr/dctype.h
globals.o: ../ctlr/options.h ../ctlr/screen.h ../ascii/state.h globals.h
globals.o: ../general/general.h