Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# Automatically generated by make_mf version 1.1
# Standard directories and files
BASE=/u/g/release/Source
UTIL=${BASE}/src/utilities
SRC=${UTIL}/make_tdf
SRC2=${SRC}/obj_c
SRC2A=${SRC}/obj_tok
SRCX=${UTIL}/shared
# Standard variables
CC=tcc
TCCOPTS=-Yansi -Xs
CCOPTS=${TCCOPTS} -I${SRC} -I${SRC2} -I${SRCX}
MAIN_CC=${CC} ${CCOPTS} -c
LINK_CC=${CC} ${TCCOPTS}
LIBS=
REMOVE=rm -f
MOVE=mv
COPY=cp
ECHO=echo
SHELL=/bin/sh
# Dependencies and construction rules
NAME=make_tdf
EXTRA=auto
EXTRA_CLEAN=
EXTRA_CLOBBER=
OFILES=error.o input.o lex.o main.o output.o syntax.o tdf.o xalloc.o
${NAME} : ${OFILES}
${LINK_CC} -o ${NAME} ${OFILES} ${LIBS}
all : ${EXTRA} ${NAME}
@${ECHO} all done
extra : ${EXTRA}
@${ECHO} done
error.o : ${SRCX}/error.c ${SRCX}/config.h ${SRCX}/error.h\
${SRCX}/release.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRCX}/error.c
input.o : ${SRC}/input.c ${SRCX}/config.h ${SRC2}/cons_ops.h\
${SRCX}/error.h ${SRC2}/info_ops.h ${SRC}/input.h ${SRC2}/link_ops.h\
${SRC2}/par_ops.h ${SRC2}/sort_ops.h ${SRC2}/tdf.h ${SRCX}/xalloc.h\
${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRC}/input.c
lex.o : ${SRC}/lex.c ${SRC2}/cmd_ops.h ${SRCX}/config.h ${SRCX}/error.h\
${SRC}/input.h ${SRC}/keyword.h ${SRC}/lex.h ${SRC}/lexer.h\
${SRC2}/spec_ops.h ${SRC}/syntax.h ${SRC2}/tdf.h ${SRCX}/xalloc.h\
${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRC}/lex.c
main.o : ${SRC}/main.c ${SRC2}/cmd_ops.h ${SRCX}/config.h ${SRCX}/error.h\
${SRC}/input.h ${SRC}/lex.h ${SRC}/output.h ${SRC2}/spec_ops.h\
${SRC}/syntax.h ${SRC2}/tdf.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRC}/main.c
output.o : ${SRC}/output.c ${SRC2}/cmd_ops.h ${SRCX}/config.h\
${SRC2}/cons_ops.h ${SRCX}/error.h ${SRC2}/info_ops.h ${SRC}/input.h\
${SRC}/lex.h ${SRC2}/link_ops.h ${SRC}/output.h ${SRC2}/par_ops.h\
${SRC2}/sort_ops.h ${SRC2}/spec_ops.h ${SRC2}/tdf.h ${SRCX}/ossg.h\
${SRCX}/ossg_api.h
${MAIN_CC} ${SRC}/output.c
syntax.o : ${SRC}/syntax.c ${SRC2}/cmd_ops.h ${SRCX}/config.h\
${SRC2}/cons_ops.h ${SRCX}/error.h ${SRC2}/info_ops.h ${SRC}/input.h\
${SRC}/lex.h ${SRC2}/link_ops.h ${SRC2}/par_ops.h ${SRC2}/sort_ops.h\
${SRC2}/spec_ops.h ${SRC}/syntax.h ${SRC2}/tdf.h ${SRCX}/xalloc.h\
${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRC}/syntax.c
tdf.o : ${SRC2}/tdf.c ${SRC2}/assert_def.h ${SRCX}/config.h\
${SRCX}/error.h ${SRC2}/tdf.h ${SRCX}/xalloc.h ${SRCX}/ossg.h\
${SRCX}/ossg_api.h
${MAIN_CC} ${SRC2}/tdf.c
xalloc.o : ${SRCX}/xalloc.c ${SRCX}/config.h ${SRCX}/error.h\
${SRCX}/xalloc.h ${SRCX}/ossg.h ${SRCX}/ossg_api.h
${MAIN_CC} ${SRCX}/xalloc.c
clean : ${EXTRA_CLEAN}
${REMOVE} ${OFILES}
${REMOVE} core
clobber : clean ${EXTRA_CLOBBER}
${REMOVE} ${NAME}
CALCULUS=calculus
LEXI=lexi
SID=sid
SIDOPTS=-l ossg-c -s no-lines
SID_OUT=${SRC}/syntax.c ${SRC}/syntax.h
C_OUT=${SRC2}/tdf.h
TOK_OUT=${SRC2A}/tdf.h
LEXI_OUT=${SRC}/lexer.h ${SRC}/keyword.h
auto : ${SID_OUT} ${C_OUT} ${TOK_OUT} ${LEXI_OUT}
${SRC}/syntax.c : ${SRC}/syntax.sid ${SRC}/syntax.act
@${REMOVE} ${SID_OUT}
${SID} ${SIDOPTS} ${SRC}/syntax.sid ${SRC}/syntax.act ${SID_OUT}
${SRC2}/tdf.h : ${SRC}/tdf.alg
@${REMOVE} ${SRC2}/*.h
${CALCULUS} -a -x ${SRC}/tdf.alg ${SRC2}
${SRC2A}/tdf.h : ${SRC}/tdf.alg
@${REMOVE} ${SRC2A}/*.h
${CALCULUS} -a -x -t ${SRC}/tdf.alg ${SRC2A}
${SRC}/lexer.h : ${SRC}/lexer.lxi
@${REMOVE} ${SRC}/lexer.h
${LEXI} ${SRC}/lexer.lxi ${SRC}/lexer.h
${SRC}/keyword.h : ${SRC}/lexer.lxi
@${REMOVE} ${SRC}/keyword.h
${LEXI} -k ${SRC}/lexer.lxi ${SRC}/keyword.h
auto_clobber :
${REMOVE} ${SID_OUT} ${LEXI_OUT}
${REMOVE} ${SRC2}/*.h
${REMOVE} ${SRC2A}/*.h