xref: /original-bsd/old/lisp/fp/fp.vax/Makefile (revision 23cd6db2)
1#  FP interpreter/compiler
2#  Copyright (c) 1982  Scott B. Baden
3#  Berkeley, California
4#
5#  Copyright (c) 1982 Regents of the University of California.
6#  All rights reserved.  The Berkeley software License Agreement
7#  specifies the terms and conditions for redistribution.
8#
9#	@(#)Makefile	4.5 (Berkeley) 07/30/89
10#
11DESTDIR =
12
13FP_SYS = 	runFp.l fpMain.l\
14		scanner.l parser.l codeGen.l\
15		primFp.l utils.l fpPP.l handlers.l fpMeasures.l
16
17FP_SYSO = 	runFp.o fpMain.o\
18		scanner.o parser.o codeGen.o\
19		primFp.o utils.o  fpPP.o handlers.o fpMeasures.o
20
21.SUFFIXES:
22.SUFFIXES:	.l .o
23.l.o:
24		liszt -axq $<
25
26
27all fp:		${FP_SYSO}
28		/bin/rm -f fp
29		echo "(progn (load 'runFp)\
30			     (dumplisp fp))" | lisp > junk.fp
31		chmod 755 fp
32
33${FP_SYSO}:	specials.l fpMacs.o
34
35
36install:
37	install -s -o bin -g bin -m 755 fp ${DESTDIR}/usr/bin
38
39clean:
40		rm -f core *.[ox] junk.fp
41
42cleandir: clean
43	rm -f ${MAN} tags .depend
44
45
46listings:	${FP_SYS}
47		print runFp.l fpMain.l scanner.l parser.l codeGen.l \
48		primFp.l utils.l fpPP.l handlers.l fpMeasures.l \
49		specials.l fpMacs.l  &
50
51depend:
52