ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 2.11
Committed: Wed Mar 10 19:39:22 1993 UTC (31 years, 7 months ago) by greg
Branch: MAIN
Changes since 2.10: +1 -1 lines
Log Message:
added fdate module

File Contents

# User Rev Content
1 greg 1.1 #
2     # SCCSid "$SunId$ LBL"
3     # Makefile for ray tracing library routines
4     #
5    
6 greg 1.17 OPT = -O
7 greg 1.19 MACH = -DBSD
8 greg 1.1 CFLAGS = $(MACH) $(OPT)
9 greg 2.5 CC = cc
10 greg 1.1
11 greg 2.7 COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
12 greg 1.16
13 greg 1.3 LIBDIR = /usr/local/lib/ray
14    
15 greg 1.1 RTOBJ = cone.o face.o instance.o readobj.o readoct.o otypes.o objset.o \
16 greg 1.10 octree.o readfargs.o modobject.o
17 greg 1.1
18     PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
19 greg 2.4 colrops.o font.o
20 greg 1.1
21 greg 1.6 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o fvect.o urand.o \
22 greg 1.12 urind.o peano.o calexpr.o caldefn.o calfunc.o calprnt.o \
23 greg 2.7 multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
24 greg 2.10 badarg.o fgetword.o words.o expandarg.o wordfile.o \
25     cputs.o wputs.o eputs.o quit.o
26 greg 1.1
27 greg 2.11 SYSOBJ = ealloc.o fdate.o portio.o $(COMPAT)
28 greg 1.1
29     librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
30     ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
31 greg 1.14 -ranlib librt.a
32 greg 1.16
33     install: librt.a
34     mv librt.a ../lib
35 greg 1.5
36     clean:
37 greg 2.7 rm -f *.o librt.a
38 greg 1.3
39     fropen.o: fropen.c
40 greg 2.5 $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c fropen.c
41 greg 1.1
42 greg 1.4 calexpr.o: calexpr.c calcomp.h
43 greg 2.5 $(CC) $(CFLAGS) -DVARIABLE -DFUNCTION -DRCONST -c calexpr.c
44 greg 1.4
45     caldefn.o: caldefn.c calcomp.h
46 greg 2.5 $(CC) $(CFLAGS) -DFUNCTION -c caldefn.c
47 greg 1.4
48     calfunc.o: calfunc.c calcomp.h
49 greg 2.5 $(CC) $(CFLAGS) -DVARIABLE -DBIGLIB -c calfunc.c
50 greg 1.4
51 greg 1.1 color.o colrops.o resolu.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 greg 1.2 mat4.o: mat4.h fvect.h
64 greg 1.1
65     cone.o face.o instance.o objset.o otypes.o \
66 greg 1.18 modobject.o readfargs.o readobj.o readoct.o: object.h
67 greg 1.1
68     objset.o octree.o readoct.o: octree.h
69    
70 greg 1.11 cone.o modobject.o objset.o otypes.o readobj.o readoct.o: otypes.h
71 greg 1.1
72     urand.o: random.h
73    
74 greg 1.10 cone.o face.o image.o instance.o error.o objset.o octree.o modobject.o \
75 greg 1.1 otypes.o readobj.o readoct.o xf.o: standard.h mat4.h fvect.h
76 greg 1.18
77     readfargs.o: fvect.h
78 greg 1.1
79     image.o: view.h
80 greg 1.4
81     calprnt.o: calcomp.h
82 greg 2.3
83     process.o: vfork.h
84 greg 2.4
85     font.o: font.h
86 greg 2.9
87     fropen.o getpath.o image.o: paths.h