a741559d265cbb2bcb99ab61fa7fe2b991862559
#/* Copyright (c) 1982 Regents of the University of California */
# static char sccsid[] = "@(#)Makefile 1.2 %G%";
# For best results edit this file in vi with tabstop=4.
# The file "defs.h" is included by all, it has most of the type
# declarations (since you can't have forward type references in C).
# It also defines various things of general use and includes <stdio.h>.
# The subdirectory "library" contains routines which are generally useful
# and are independent from pdx. These are compiled into a separate archive
# and they must be made independently from pdx.
# N.B.: My version of cerror automatically catches certain erros
# such as out of memory, I/O error. If you re-make pdx with
# the standard cerror, the program could fault unexpectedly.
# Also, this makefile contains NO HEADER DEPENDENCIES. So
# if you modify a header file in a non-trivial way, you need
# to touch the C files that include it.
LIB
= ${HOME}/library
/pdxlib
# LDFLAGS should be -i for pdp-11
CFLAGS
= -Disvaxpx
-I..
-I..
/..
/pascal
-DOBJ
-O
# Regardless of what CFLAGS is, the file "compile.csh" controls
# how compilation is done for the majority of the source files.
# source directory specifications
${BREAKPOINT}printnews.o\
@
cc ${LDFLAGS} ${OBJS} ${LIB}
@
cc ${LDFLAGS} -p
${OBJS} ${LIB}
${COMMAND}y.tab.o
: ${COMMAND}grammar.
yacc
chdir
${COMMAND}; yacc -d grammar.
yacc; cc -c
${CFLAGS} y.tab.c
${COMMAND}lex.yy.o
: ${COMMAND}token.
lex ${COMMAND}y.tab.h
chdir
${COMMAND}; lex token.
lex; cc -c
${CFLAGS} lex.yy.c
${BPOBJ}: ${BREAKPOINT}bp.rep
${RUNTIMEOBJ}: ${RUNTIME}frame.rep
${PROCOBJ}: ${PROCESS}process.rep
${TREEOBJ}: ${TREE}tree.rep
${OBJOBJ}: ${OBJECT}objsym.rep