ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 2.8
Committed: Mon Jul 13 15:36:26 1992 UTC (31 years, 9 months ago) by greg
Branch: MAIN
Changes since 2.7: +1 -1 lines
Log Message:
moved portable i/o routines to portio.c

File Contents

# Content
1 #
2 # SCCSid "$SunId$ LBL"
3 # Makefile for ray tracing library routines
4 #
5
6 OPT = -O
7 MACH = -DBSD
8 CFLAGS = $(MACH) $(OPT)
9 CC = cc
10
11 COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
12
13 LIBDIR = /usr/local/lib/ray
14
15 RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
16 octree.o readfargs.o modobject.o
17
18 PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
19 colrops.o font.o
20
21 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \
22 urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
23 multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
24 badarg.o fgetword.o words.o wordfile.o cputs.o wputs.o eputs.o quit.o
25
26 SYSOBJ = ealloc.o portio.o $(COMPAT)
27
28 librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
29 ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30 -ranlib librt.a
31
32 install: librt.a
33 mv librt.a ../lib
34
35 clean:
36 rm -f *.o librt.a
37
38 fropen.o: fropen.c
39 $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
40
41 calexpr.o: calexpr.c calcomp.h
42 $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
43
44 caldefn.o: caldefn.c calcomp.h
45 $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
46
47 calfunc.o: calfunc.c calcomp.h
48 $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
49
50 color.o colrops.o resolu.o spec_rgb.o: color.h
51
52 cone.o: cone.h
53
54 face.o: face.h
55
56 fvect.o: fvect.h
57
58 instance.o: instance.h
59
60 linregr.o: linregr.h
61
62 mat4.o: mat4.h fvect.h
63
64 cone.o face.o instance.o objset.o otypes.o \
65 modobject.o readfargs.o readobj.o readoct.o: object.h
66
67 objset.o octree.o readoct.o: octree.h
68
69 cone.o modobject.o objset.o otypes.o readobj.o readoct.o: otypes.h
70
71 urand.o: random.h
72
73 cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
74 otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
75
76 readfargs.o: fvect.h
77
78 image.o: view.h
79
80 calprnt.o: calcomp.h
81
82 process.o: vfork.h
83
84 font.o: font.h