Rev 2 | Rev 38 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
# $Id$
# Standard directories and files
DEST=${OBJ_DIR}/src/lib
#SRC=${BASE}/src/tools/tspec
API_DIR=${BASE_DIR}/src/lib/apis
# Standard variables
WARNS?= 2
TCCOPTS= -Yposix1 -Xs
CCOPTS= ${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR}
LIBS=
# Dependencies and construction rules
PROG= ${.CURDIR:T}
WRAPPER= tspec.sh
SRCS= hash.c index.c lex.c main.c makefile.c name.c object.c print.c\
syntax.c type.c utility.c variable.c
#LEXI=lexi
#SID=sid
#SIDOPTS=-l ossg-c -s no-lines
#
#SID_OUT=${SRC}/syntax.c ${SRC}/syntax.h
#LEXI_OUT=${SRC}/lexer.h ${SRC}/keyword.h
#
#auto : ${SID_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}
#
#${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}
.include "../Makefile.inc"