| 1 | schorsch | 2.33 | # RCSid: $Id: Rmakefile,v 2.32 2003/05/14 21:40:40 greg Exp $ | 
| 2 | greg | 1.1 | # | 
| 3 | greg | 2.10 | # Radiance makefile for utility programs | 
| 4 |  |  | # | 
| 5 | greg | 1.1 |  | 
| 6 | greg | 1.16 | MACH = -DBSD | 
| 7 | greg | 1.1 |  | 
| 8 |  |  | OPT = -O | 
| 9 |  |  |  | 
| 10 | greg | 2.31 | CFLAGS = -I../common -I../rt -L../lib $(OPT) $(MACH) | 
| 11 | greg | 1.1 |  | 
| 12 | greg | 2.3 | CC = cc | 
| 13 |  |  |  | 
| 14 | gwlarson | 2.28 | SPECIAL = | 
| 15 |  |  |  | 
| 16 | greg | 1.14 | INSTDIR = /usr/local/bin | 
| 17 | greg | 1.1 |  | 
| 18 | greg | 2.12 | LIBDIR = /usr/local/lib/ray | 
| 19 |  |  |  | 
| 20 | greg | 2.31 | PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ | 
| 21 |  |  | vwrays xglaresrc | 
| 22 | greg | 1.1 |  | 
| 23 | gwlarson | 2.30 | all:    $(PROGS) | 
| 24 | greg | 1.1 |  | 
| 25 | gwlarson | 2.30 | install:        all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \ | 
| 26 |  |  | rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh | 
| 27 | greg | 1.1 | cp $(PROGS) $(INSTDIR) | 
| 28 |  |  | cp objview.csh $(INSTDIR)/objview | 
| 29 | greg | 2.17 | cp objline.csh $(INSTDIR)/objline | 
| 30 | greg | 1.1 | cp objpict.csh $(INSTDIR)/objpict | 
| 31 | greg | 1.9 | cp glare.csh $(INSTDIR)/glare | 
| 32 | greg | 1.11 | cp dayfact.csh $(INSTDIR)/dayfact | 
| 33 | greg | 1.15 | cp debugcal.csh $(INSTDIR)/debugcal | 
| 34 | greg | 2.6 | cp rlux.csh $(INSTDIR)/rlux | 
| 35 | greg | 2.10 | cp raddepend.csh $(INSTDIR)/raddepend | 
| 36 | gregl | 2.25 | cp compamb.csh $(INSTDIR)/compamb | 
| 37 | greg | 2.31 | cp vinfo.csh $(INSTDIR)/vinfo | 
| 38 | greg | 2.15 | chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \ | 
| 39 |  |  | $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \ | 
| 40 | gregl | 2.25 | $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \ | 
| 41 | greg | 2.31 | $(INSTDIR)/compamb $(INSTDIR)/vinfo | 
| 42 | greg | 2.16 | csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl | 
| 43 | greg | 1.1 |  | 
| 44 |  |  | clean: | 
| 45 | greg | 2.31 | set nonomatch; rm -f *.o $(PROGS) glrad core | 
| 46 | greg | 1.1 |  | 
| 47 | gwlarson | 2.27 | ogl:    glrad | 
| 48 |  |  | cp glrad $(INSTDIR) | 
| 49 | gwlarson | 2.28 |  | 
| 50 |  |  | x10: | 
| 51 |  |  |  | 
| 52 |  |  | aed: | 
| 53 |  |  |  | 
| 54 |  |  | sgi: | 
| 55 |  |  |  | 
| 56 |  |  | sun: | 
| 57 | gwlarson | 2.27 |  | 
| 58 | greg | 1.1 | scanner:        scanner.o | 
| 59 | greg | 2.10 | $(CC) $(CFLAGS) -o scanner scanner.o -lm | 
| 60 | greg | 1.1 |  | 
| 61 | greg | 1.12 | makedist:       makedist.o setscan.o | 
| 62 | greg | 2.10 | $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm | 
| 63 | greg | 1.1 |  | 
| 64 | greg | 1.12 | findglare:      findglare.o glareval.o glaresrc.o setscan.o | 
| 65 | greg | 2.3 | $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \ | 
| 66 | greg | 2.10 | setscan.o -lrt -lm | 
| 67 | greg | 1.7 |  | 
| 68 | greg | 1.12 | glarendx:       glarendx.o | 
| 69 | greg | 2.10 | $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm | 
| 70 | greg | 1.3 |  | 
| 71 | greg | 1.12 | xglaresrc:      xglaresrc.o x11findwind.o | 
| 72 | greg | 2.3 | $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \ | 
| 73 | greg | 2.10 | x11findwind.o -lrt -lX11 -lm | 
| 74 | greg | 1.4 |  | 
| 75 | greg | 2.23 | rad:    rad.o | 
| 76 |  |  | $(CC) $(CFLAGS) -o rad rad.o -lrt -lm | 
| 77 | greg | 2.19 |  | 
| 78 | greg | 2.23 | ranimate:       ranimate.o netproc.o | 
| 79 |  |  | $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm | 
| 80 | greg | 2.6 |  | 
| 81 | greg | 2.31 | ranimove:       ranimove.o ranimove1.o ranimove2.o \ | 
| 82 |  |  | ../lib/raypcalls.o ../lib/raycalls.o | 
| 83 |  |  | $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \ | 
| 84 | schorsch | 2.33 | ../lib/raypcalls.o ../lib/raycalls.o -lradiance -lrt -lm | 
| 85 | greg | 2.31 |  | 
| 86 | greg | 2.5 | rpiece: rpiece.o Version.o | 
| 87 | greg | 2.10 | $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm | 
| 88 | greg | 2.14 |  | 
| 89 |  |  | vwright:        vwright.o | 
| 90 |  |  | $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm | 
| 91 | gregl | 2.24 |  | 
| 92 |  |  | vwrays:         vwrays.o | 
| 93 |  |  | $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm | 
| 94 | greg | 2.22 |  | 
| 95 |  |  | getinfo:        getinfo.o | 
| 96 |  |  | $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt | 
| 97 | greg | 2.4 |  | 
| 98 | gwlarson | 2.27 | glrad:  glrad.o | 
| 99 | gwlarson | 2.29 | $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \ | 
| 100 |  |  | -lX11 -lXext -lm | 
| 101 | gwlarson | 2.27 |  | 
| 102 | greg | 1.1 | contour:        contour.o | 
| 103 | greg | 2.10 | $(CC) $(CFLAGS) -o contour contour.o -lm | 
| 104 | greg | 1.1 |  | 
| 105 |  |  | pranim: pranim.o client/libclient.a | 
| 106 | greg | 2.3 | $(CC) $(CFLAGS) -o pranim pranim.o \ | 
| 107 | greg | 1.1 | client/libclient.a -lrpcsvc | 
| 108 |  |  |  | 
| 109 |  |  | t16anim:        t16anim.o client/libclient.a | 
| 110 | greg | 2.3 | $(CC) $(CFLAGS) -o t16anim t16anim.o \ | 
| 111 | greg | 1.1 | client/libclient.a -lrpcsvc | 
| 112 |  |  |  | 
| 113 |  |  | t16anim.o pranim.o:     client/clnt.h | 
| 114 |  |  |  | 
| 115 | greg | 1.3 | setscan.o makedist.o:   setscan.h | 
| 116 |  |  |  | 
| 117 |  |  | findglare.o glareval.o \ | 
| 118 | greg | 1.12 | glaresrc.o:     glare.h ../common/standard.h ../common/mat4.h \ | 
| 119 |  |  | ../common/fvect.h ../common/view.h ../common/color.h setscan.h | 
| 120 | greg | 1.10 |  | 
| 121 | greg | 1.12 | glaresrc.o:     ../common/linregr.h | 
| 122 | greg | 1.3 |  | 
| 123 | greg | 2.4 | rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h | 
| 124 |  |  |  | 
| 125 | greg | 2.20 | rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \ | 
| 126 | greg | 2.6 | ../common/mat4.h ../common/fvect.h | 
| 127 | greg | 2.4 |  | 
| 128 |  |  | xglaresrc.o:    ../common/view.h | 
| 129 | greg | 1.3 |  | 
| 130 | greg | 1.12 | swaprasheader.o:        ../common/rasterfile.h | 
| 131 | greg | 1.17 |  | 
| 132 | greg | 1.18 | glareval.o xglaresrc.o: ../common/resolu.h | 
| 133 | greg | 2.2 |  | 
| 134 |  |  | xglaresrc.o:    ../common/vfork.h | 
| 135 | greg | 2.18 |  | 
| 136 | greg | 2.23 | rad.o ranimate.o:       ../common/vars.h | 
| 137 | greg | 2.20 |  | 
| 138 | greg | 2.31 | ranimove1.o ranimove2.o:        ../common/random.h | 
| 139 |  |  |  | 
| 140 | greg | 2.20 | rad.o:  ../common/paths.h | 
| 141 |  |  |  | 
| 142 |  |  | ranimate.o netproc.o:   netproc.h | 
| 143 |  |  |  | 
| 144 | greg | 2.31 | ranimove1.o:    ../common/otypes.h | 
| 145 |  |  |  | 
| 146 | greg | 2.21 | netproc.o:      ../common/paths.h | 
| 147 |  |  |  | 
| 148 | greg | 2.31 | rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h | 
| 149 | gwlarson | 2.27 |  | 
| 150 |  |  | glrad.o:        ../common/radogl.h \ | 
| 151 |  |  | ../common/standard.h ../common/mat4.h ../common/fvect.h \ | 
| 152 |  |  | ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h | 
| 153 |  |  |  | 
| 154 |  |  | glrad.o:        glradicon.h ../common/view.h ../common/paths.h | 
| 155 | greg | 2.31 |  | 
| 156 |  |  | ranimove.o ranimove1.o ranimove2.o:     ranimove.h \ | 
| 157 |  |  | ../common/vars.h ../common/view.h \ | 
| 158 |  |  | ../rt/ray.h ../common/standard.h ../common/octree.h \ | 
| 159 |  |  | ../common/mat4.h ../common/fvect.h ../common/object.h ../common/color.h | 
| 160 |  |  |  | 
| 161 |  |  | Version.c:      ../rt/Version.c | 
| 162 |  |  | cp ../rt/Version.c . | 
| 163 |  |  |  | 
| 164 |  |  | x11findwind.c:  ../common/x11findwind.c | 
| 165 |  |  | cp ../common/x11findwind.c . |