| 1 | 
+ | 
# RCSid: $Id$ | 
| 2 | 
  | 
# | 
| 2 | 
– | 
# SCCSid "$SunId$ SGI" | 
| 3 | 
  | 
# Radiance makefile for utility programs | 
| 4 | 
  | 
# | 
| 5 | 
  | 
 | 
| 7 | 
  | 
 | 
| 8 | 
  | 
OPT = -O | 
| 9 | 
  | 
 | 
| 10 | 
< | 
CFLAGS = $(MACH) $(OPT) -I../common -L../lib | 
| 10 | 
> | 
CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH) | 
| 11 | 
  | 
 | 
| 12 | 
  | 
CC = cc | 
| 13 | 
  | 
 | 
| 17 | 
  | 
 | 
| 18 | 
  | 
LIBDIR = /usr/local/lib/ray | 
| 19 | 
  | 
 | 
| 20 | 
< | 
PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo vwrays | 
| 20 | 
> | 
PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ | 
| 21 | 
> | 
                vwrays xglaresrc | 
| 22 | 
  | 
 | 
| 23 | 
  | 
all:    $(PROGS) | 
| 24 | 
  | 
 | 
| 34 | 
  | 
        cp rlux.csh $(INSTDIR)/rlux | 
| 35 | 
  | 
        cp raddepend.csh $(INSTDIR)/raddepend | 
| 36 | 
  | 
        cp compamb.csh $(INSTDIR)/compamb | 
| 37 | 
+ | 
        cp vinfo.csh $(INSTDIR)/vinfo | 
| 38 | 
  | 
        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ | 
| 39 | 
  | 
                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ | 
| 40 | 
  | 
                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \ | 
| 41 | 
< | 
                $(INSTDIR)/compamb | 
| 41 | 
> | 
                $(INSTDIR)/compamb $(INSTDIR)/vinfo | 
| 42 | 
  | 
        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl | 
| 43 | 
  | 
 | 
| 44 | 
  | 
clean: | 
| 45 | 
< | 
        set nonomatch; rm -f *.o $(PROGS) core | 
| 45 | 
> | 
        set nonomatch; rm -f *.o $(PROGS) glrad core | 
| 46 | 
  | 
 | 
| 47 | 
  | 
ogl:    glrad | 
| 48 | 
  | 
        cp glrad $(INSTDIR) | 
| 78 | 
  | 
ranimate:       ranimate.o netproc.o | 
| 79 | 
  | 
        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm | 
| 80 | 
  | 
 | 
| 81 | 
+ | 
ranimove:       ranimove.o ranimove1.o ranimove2.o | 
| 82 | 
+ | 
        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \ | 
| 83 | 
+ | 
-lraycalls -lradiance -lrt -lm | 
| 84 | 
+ | 
 | 
| 85 | 
  | 
rpiece: rpiece.o Version.o | 
| 86 | 
  | 
        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm | 
| 87 | 
  | 
 | 
| 114 | 
  | 
setscan.o makedist.o:   setscan.h | 
| 115 | 
  | 
 | 
| 116 | 
  | 
findglare.o glareval.o \ | 
| 117 | 
< | 
glaresrc.o:     glare.h ../common/standard.h ../common/mat4.h \ | 
| 118 | 
< | 
../common/fvect.h ../common/view.h ../common/color.h setscan.h | 
| 117 | 
> | 
glaresrc.o:     glare.h ../common/standard.h \ | 
| 118 | 
> | 
../common/rtmisc.h ../common/rtio.h \ | 
| 119 | 
> | 
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 120 | 
> | 
../common/rterror.h \ | 
| 121 | 
> | 
../common/view.h ../common/color.h setscan.h | 
| 122 | 
  | 
 | 
| 123 | 
  | 
glaresrc.o:     ../common/linregr.h | 
| 124 | 
  | 
 | 
| 125 | 
  | 
rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h | 
| 126 | 
  | 
 | 
| 127 | 
  | 
rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \ | 
| 128 | 
< | 
../common/mat4.h ../common/fvect.h | 
| 128 | 
> | 
../common/rtmisc.h ../common/rtio.h \ | 
| 129 | 
> | 
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 130 | 
> | 
../common/rterror.h | 
| 131 | 
  | 
 | 
| 132 | 
  | 
xglaresrc.o:    ../common/view.h | 
| 133 | 
  | 
 | 
| 139 | 
  | 
 | 
| 140 | 
  | 
rad.o ranimate.o:       ../common/vars.h | 
| 141 | 
  | 
 | 
| 142 | 
+ | 
ranimove1.o ranimove2.o:        ../common/random.h | 
| 143 | 
+ | 
 | 
| 144 | 
  | 
rad.o:  ../common/paths.h | 
| 145 | 
  | 
 | 
| 146 | 
  | 
ranimate.o netproc.o:   netproc.h | 
| 147 | 
  | 
 | 
| 148 | 
+ | 
ranimove1.o:    ../common/otypes.h | 
| 149 | 
+ | 
 | 
| 150 | 
  | 
netproc.o:      ../common/paths.h | 
| 151 | 
  | 
 | 
| 152 | 
< | 
rad.o ranimate.o:       ../common/view.h | 
| 152 | 
> | 
rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h | 
| 153 | 
  | 
 | 
| 154 | 
  | 
glrad.o:        ../common/radogl.h \ | 
| 155 | 
< | 
../common/standard.h ../common/mat4.h ../common/fvect.h \ | 
| 155 | 
> | 
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ | 
| 156 | 
> | 
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 157 | 
> | 
../common/rterror.h \ | 
| 158 | 
  | 
../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h | 
| 159 | 
  | 
 | 
| 160 | 
  | 
glrad.o:        glradicon.h ../common/view.h ../common/paths.h | 
| 161 | 
+ | 
 | 
| 162 | 
+ | 
ranimove.o ranimove1.o ranimove2.o:     ranimove.h \ | 
| 163 | 
+ | 
../common/vars.h ../common/view.h \ | 
| 164 | 
+ | 
../rt/ray.h ../common/octree.h \ | 
| 165 | 
+ | 
../common/object.h ../common/color.h \ | 
| 166 | 
+ | 
../common/standard.h ../common/rtmisc.h ../common/rtio.h \ | 
| 167 | 
+ | 
../common/rtmath.h ../common/mat4.h ../common/fvect.h \ | 
| 168 | 
+ | 
../common/rterror.h | 
| 169 | 
+ | 
 | 
| 170 | 
+ | 
Version.c:      ../rt/Version.c | 
| 171 | 
+ | 
        cp ../rt/Version.c . | 
| 172 | 
+ | 
 | 
| 173 | 
+ | 
x11findwind.c:  ../common/x11findwind.c | 
| 174 | 
+ | 
        cp ../common/x11findwind.c . |