Subversion Repositories tendra.SVN

Rev

Rev 2 | Rev 38 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# $Id$

# Standard directories and files

SRCC=${.CURDIR}/obj_c
SRCTOK=${.CURDIR}/obj_tok
SRCX=${.CURDIR}/../shared

# Standard variables

WARNS?=         2

TCCOPTS=        -Yansi -Xs
CCOPTS=         ${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR} -I${SRCC}\
                -I${SRCTOK} -I${SRCX}
LIBS=

# Dependencies and construction rules

PROG=           ${.CURDIR:T}

SRCS=           error.c input.c lex.c main.c output.c syntax.c tdf.c xalloc.c

.PATH:          ${SRCC} ${SRCTOK} ${SRCX}

#CALCULUS=calculus
#LEXI=lexi
#SID=sid
#SIDOPTS=-l ansi-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

.include "../Makefile.inc"