ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 2.20
Committed: Wed Feb 7 16:36:01 1996 UTC (28 years, 3 months ago) by greg
Branch: MAIN
Changes since 2.19: +1 -1 lines
Log Message:
moved host name stuff to lib routine myhostname()

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 getlibpath.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 invmat4.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 expandarg.o wordfile.o fgetval.o \
25 clip.o plocate.o cputs.o wputs.o eputs.o quit.o lookup.o
26
27 SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
28
29 librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30 ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
31 -ranlib librt.a
32
33 install: librt.a
34 mv librt.a ../lib
35
36 clean:
37 rm -f *.o librt.a
38
39 calexpr.o: calexpr.c calcomp.h
40 $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
41
42 caldefn.o: caldefn.c calcomp.h
43 $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
44
45 calfunc.o: calfunc.c calcomp.h
46 $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
47
48 getlibpath.o: getlibpath.c
49 $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
50
51 color.o colrops.o lamps.o spec_rgb.o: color.h
52
53 cone.o: cone.h
54
55 face.o: face.h
56
57 fvect.o: fvect.h
58
59 instance.o: instance.h
60
61 linregr.o: linregr.h
62
63 mat4.o invmat4.o: mat4.h fvect.h
64
65 cone.o face.o instance.o objset.o otypes.o \
66 modobject.o readfargs.o readobj.o readoct.o: object.h
67
68 objset.o octree.o readoct.o: octree.h
69
70 cone.o modobject.o objset.o otypes.o readobj.o readoct.o: otypes.h
71
72 urand.o: random.h
73
74 cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
75 otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
76
77 readfargs.o: fvect.h
78
79 image.o: view.h
80
81 calprnt.o: calcomp.h
82
83 process.o: vfork.h
84
85 clip.o plocate.o: plocate.h
86
87 font.o: font.h
88
89 fropen.o getpath.o image.o: paths.h
90
91 lookup.o: lookup.h