ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/Rmakefile
(Generate patch)

Comparing ray/src/ot/Rmakefile (file contents):
Revision 1.12 by greg, Tue May 7 16:17:19 1991 UTC vs.
Revision 2.20 by greg, Thu Feb 9 00:18:05 2023 UTC

# Line 1 | Line 1
1 < # SCCSid "$SunId$ LBL"
2 <
1 > # RCSid: $Id$
2   #
3   #  Compiles for octree conversion program
4   #
5   #     The compile define "STRICT" enforces strict intersection calculations
6   #  so that no cube which does not intersect an object contains that object.
7   #  Otherwise, a somewhat faster more lax approach is taken by certain routines.
8 + #  This is set to "1" by default, so -DSTRICT=0 now turns it off.
9   #
10  
11   OPT = -O
12 < MACH = -DBSD -DSTRUCTASSIGN -f68881 /usr/lib/libm.il
13 < CFLAGS = -DSTRICT $(OPT) $(MACH)
12 > MACH = -DBSD
13 > CFLAGS = -I../common -L../lib $(OPT) $(MACH)
14 > CC = cc
15 > MLIB = -lm
16  
17 < INSTDIR = /lumen/lumen/ray/bin.sun3
17 > INSTALL = cp
18  
19 < COMPAT = bmalloc.o
19 > LIBDIR = /usr/local/lib/ray
20  
21 < oconv:  misc.o objset.o oconv.o octree.o readobj.o \
20 < readoct.o sphere.o fvect.o otypes.o writeoct.o o_face.o face.o plocate.o xf.o \
21 < clip.o cone.o o_cone.o instance.o o_instance.o bbox.o savestr.o header.o \
22 < mat4.o fgetline.o initotypes.o $(COMPAT)
23 <        cc $(CFLAGS) -o oconv oconv.o readoct.o octree.o objset.o \
24 < readobj.o writeoct.o fvect.o otypes.o sphere.o misc.o o_face.o \
25 < face.o plocate.o clip.o cone.o o_cone.o instance.o o_instance.o mat4.o xf.o \
26 < bbox.o savestr.o header.o fgetline.o initotypes.o $(COMPAT) -lm
21 > INSTDIR = /usr/local/bin
22  
23 < install:        oconv
29 <        cp oconv $(INSTDIR)
23 > PROGS = oconv getbbox obj2mesh
24  
25 + all:    $(PROGS)
26 +
27 + oconv:  oconv.o sphere.o writeoct.o o_face.o \
28 + o_cone.o o_instance.o bbox.o initotypes.o
29 +        $(CC) $(CFLAGS) -o oconv oconv.o writeoct.o sphere.o o_face.o \
30 + o_cone.o o_instance.o bbox.o \
31 + initotypes.o -lrtrad $(MLIB)
32 +
33 + getbbox:        getbbox.o readobj2.o bbox.o init2otypes.o
34 +        $(CC) $(CFLAGS) -o getbbox getbbox.o readobj2.o \
35 + bbox.o init2otypes.o -lrtrad $(MLIB)
36 +
37 + obj2mesh:       obj2mesh.o cvmesh.o wfconv.o o_face.o writemesh.o
38 +        $(CC) $(CFLAGS) -o obj2mesh obj2mesh.o cvmesh.o wfconv.o \
39 + o_face.o writemesh.o -lrtrad $(MLIB)
40 +
41 + install:        $(PROGS)
42 +        $(INSTALL) $(PROGS) $(INSTDIR)
43 +
44   clean:
45 <        set nonomatch; rm -f oconv *.o core
45 >        set nonomatch; rm -f $(PROGS) *.o
46  
47 < xf.o:   xf.c
48 <        cc $(CFLAGS) -DINVXF -c xf.c
47 > bbox.o initotypes.o o_cone.o o_face.o \
48 > o_instance.o oconv.o sphere.o \
49 > cvmesh.o obj2mesh.o wfconv.o \
50 > writeoct.o:     ../common/standard.h ../common/rtmisc.h ../common/rtio.h \
51 > ../common/rtmath.h ../common/mat4.h ../common/fvect.h \
52 > ../common/rterror.h
53  
54 < bbox.o cone.o face.o initotypes.o misc.o o_cone.o o_face.o \
55 < o_instance.o objset.o oconv.o instance.o octree.o otypes.o readobj.o \
39 < readoct.o sphere.o writeoct.o xf.o:     standard.h mat4.h fvect.h
54 > initotypes.o o_cone.o o_face.o oconv.o \
55 > sphere.o writeoct.o:    ../common/octree.h
56  
57 < initotypes.o o_cone.o o_face.o objset.o oconv.o octree.o \
58 < readoct.o sphere.o writeoct.o:  octree.h
57 > bbox.o o_cone.o o_face.o o_instance.o oconv.o \
58 > sphere.o writeoct.o:    ../common/object.h
59  
60 < bbox.o cone.o face.o o_cone.o o_face.o o_instance.o objset.o oconv.o \
45 < instance.o otypes.o readobj.o readoct.o sphere.o writeoct.o:    object.h
60 > bbox.o initotypes.o oconv.o obj2mesh.o sphere.o:        ../common/otypes.h
61  
62 < bbox.o cone.o initotypes.o objset.o oconv.o otypes.o \
48 < readobj.o readoct.o sphere.o writeoct.o:        otypes.h
62 > bbox.o getbbox.o initotypes.o oconv.o readobj2.o writeoct.o: oconv.h
63  
64 < mat4.o:         mat4.h fvect.h
64 > oconv.o:        ../common/paths.h
65  
66 < fvect.o:        fvect.h
66 > bbox.o o_cone.o:        ../common/cone.h
67  
68 < bbox.o cone.o o_cone.o: cone.h
68 > bbox.o o_face.o:        ../common/face.h
69  
70 < bbox.o face.o o_face.o: face.h
70 > bbox.o getbbox.o o_instance.o:  ../common/instance.h \
71 > ../common/mesh.h ../common/octree.h
72  
73 < bbox.o o_instance.o instance.o: instance.h octree.h
73 > o_face.o:       ../common/plocate.h
74  
75 < clip.o o_face.o plocate.o:      plocate.h
75 > clip.o plocate.o:       ../common/fvect.h
76 >
77 > initotypes.o init2otypes.o:     ../common/otypes.h
78 >
79 > cvmesh.o obj2mesh.o wfconv.o:   cvmesh.h \
80 > ../common/octree.h ../common/object.h ../common/mesh.h
81 >
82 > cvmesh.o:       ../common/otypes.h ../common/face.h ../common/tmesh.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines