Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – //branches/algol60/src/tools/tspec/Makefile – Rev 38

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
 
38 7u83 2
.include "../Makefile.inc"
3
 
2 7u83 4
# Standard directories and files
5
 
7 7u83 6
DEST=${OBJ_DIR}/src/lib
7
#SRC=${BASE}/src/tools/tspec
8
API_DIR=${BASE_DIR}/src/lib/apis
9
 
2 7u83 10
# Standard variables
11
 
7 7u83 12
WARNS?=		2
13
 
14
TCCOPTS=	-Yposix1 -Xs
15
CCOPTS=		${TCCOPTS} -I${BASE_DIR}/${INCLUDE} -I${.CURDIR}
2 7u83 16
LIBS=
17
 
18
# Dependencies and construction rules
19
 
38 7u83 20
PROG=		tspec
7 7u83 21
WRAPPER=	tspec.sh
2 7u83 22
 
38 7u83 23
OBJS=		hash.o index.o lex.o main.o makefile.o name.o object.o print.o\
24
		syntax.o type.o utility.o variable.o
2 7u83 25
 
38 7u83 26
.c.o:
27
	$(CC) -c $(CFLAGS) -o $@ $<
28
 
29
$(PROG): $(OBJS)
30
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS)
31
 
32
clean:
33
	rm -f $(OBJS)
34
	rm -f $(PROG)
35
 
36
install: $(PROG)
37
	install -d $(INSTALL_BINDIR)
38
	install $(PROG) $(INSTALL_BINDIR)/$(PROG)
39
 
40
depend:
41
	mkdep $(CFLAGS) *.c
42
 
43
 
44
-include .depend
7 7u83 45
#LEXI=lexi
46
#SID=sid
47
#SIDOPTS=-l ossg-c -s no-lines
48
#
38 7u83 49
#SID_OUT=${SRC}/syntax.o ${SRC}/syntax.h
7 7u83 50
#LEXI_OUT=${SRC}/lexer.h ${SRC}/keyword.h
51
#
52
#auto : ${SID_OUT} ${LEXI_OUT}
53
#
38 7u83 54
#${SRC}/syntax.o : ${SRC}/syntax.sid ${SRC}/syntax.act
7 7u83 55
#	@${REMOVE} ${SID_OUT}
56
#	${SID} ${SIDOPTS} ${SRC}/syntax.sid ${SRC}/syntax.act ${SID_OUT}
57
#
58
#${SRC}/lexer.h : ${SRC}/lexer.lxi
59
#	@${REMOVE} ${SRC}/lexer.h
60
#	${LEXI} ${SRC}/lexer.lxi ${SRC}/lexer.h
61
#
62
#${SRC}/keyword.h : ${SRC}/lexer.lxi
63
#	@${REMOVE} ${SRC}/keyword.h
64
#	${LEXI} -k ${SRC}/lexer.lxi ${SRC}/keyword.h
65
#
66
#auto_clobber :
67
#	${REMOVE} ${SID_OUT} ${LEXI_OUT}
2 7u83 68