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

Comparing ray/src/util/Rmakefile (file contents):
Revision 1.14 by greg, Wed Oct 23 10:48:43 1991 UTC vs.
Revision 2.32 by greg, Wed May 14 21:40:40 2003 UTC

# Line 1 | Line 1
1 + # RCSid: $Id$
2   #
3 < # SCCSid "$SunId$ LBL"
3 > # Radiance makefile for utility programs
4   #
5  
6 < MACH = -DBSD -DSTRUCTASSIGN
6 > MACH = -DBSD
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 +
14 + SPECIAL =
15 +
16   INSTDIR = /usr/local/bin
17  
18 < PROGS = findglare xglaresrc glarendx
18 > LIBDIR = /usr/local/lib/ray
19  
20 + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \
21 +                vwrays xglaresrc
22 +
23   all:    $(PROGS)
24  
25 < install:        all objview.csh objpict.csh proj.csh glare.csh dayfact.csh
25 > install:        all $(SPECIAL) objview.csh objpict.csh glare.csh dayfact.csh \
26 > rlux.csh raddepend.csh trad.wsh objline.csh compamb.csh
27          cp $(PROGS) $(INSTDIR)
28          cp objview.csh $(INSTDIR)/objview
29 +        cp objline.csh $(INSTDIR)/objline
30          cp objpict.csh $(INSTDIR)/objpict
31          cp glare.csh $(INSTDIR)/glare
32          cp dayfact.csh $(INSTDIR)/dayfact
33 +        cp debugcal.csh $(INSTDIR)/debugcal
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
39 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
40 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
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)
49 +
50 + x10:
51 +
52 + aed:
53 +
54 + sgi:
55 +
56 + sun:
57 +
58   scanner:        scanner.o
59 <        cc $(CFLAGS) -o scanner scanner.o -lm
59 >        $(CC) $(CFLAGS) -o scanner scanner.o -lm
60  
61   makedist:       makedist.o setscan.o
62 <        cc $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
62 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
63  
64   findglare:      findglare.o glareval.o glaresrc.o setscan.o
65 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
65 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
66   setscan.o -lrt -lm
67  
68   glarendx:       glarendx.o
69 <        cc $(CFLAGS) -o glarendx glarendx.o -lrt -lm
69 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
70  
71   xglaresrc:      xglaresrc.o x11findwind.o
72 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o \
72 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
73   x11findwind.o -lrt -lX11 -lm
74  
75 + rad:    rad.o
76 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
77 +
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 + ../lib/raypcalls.o ../lib/raycalls.o
83 +        $(CC) $(CFLAGS) -o ranimove ranimove.o ranimove1.o ranimove2.o \
84 + -lraypcalls.o -lraycalls.o -lradiance -lrt -lm
85 +
86 + rpiece: rpiece.o Version.o
87 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
88 +
89 + vwright:        vwright.o
90 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
91 +
92 + vwrays:         vwrays.o
93 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
94 +
95 + getinfo:        getinfo.o
96 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
97 +
98 + glrad:  glrad.o
99 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL \
100 + -lX11 -lXext -lm
101 +
102   contour:        contour.o
103 <        cc $(CFLAGS) -o contour contour.o -lm
103 >        $(CC) $(CFLAGS) -o contour contour.o -lm
104  
105   pranim: pranim.o client/libclient.a
106 <        cc $(CFLAGS) -o pranim pranim.o \
106 >        $(CC) $(CFLAGS) -o pranim pranim.o \
107   client/libclient.a -lrpcsvc
108  
109   t16anim:        t16anim.o client/libclient.a
110 <        cc $(CFLAGS) -o t16anim t16anim.o \
110 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
111   client/libclient.a -lrpcsvc
112  
113   t16anim.o pranim.o:     client/clnt.h
# Line 64 | Line 120 | glaresrc.o:    glare.h ../common/standard.h ../common/mat
120  
121   glaresrc.o:     ../common/linregr.h
122  
123 < image.o xglaresrc.o:    ../common/standard.h ../common/mat4.h \
68 < ../common/fvect.h ../common/view.h
123 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
124  
125 + rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
126 + ../common/mat4.h ../common/fvect.h
127 +
128 + xglaresrc.o:    ../common/view.h
129 +
130   swaprasheader.o:        ../common/rasterfile.h
131 +
132 + glareval.o xglaresrc.o: ../common/resolu.h
133 +
134 + xglaresrc.o:    ../common/vfork.h
135 +
136 + rad.o ranimate.o:       ../common/vars.h
137 +
138 + ranimove1.o ranimove2.o:        ../common/random.h
139 +
140 + rad.o:  ../common/paths.h
141 +
142 + ranimate.o netproc.o:   netproc.h
143 +
144 + ranimove1.o:    ../common/otypes.h
145 +
146 + netproc.o:      ../common/paths.h
147 +
148 + rad.o ranimate.o ranimove.o:    ../common/view.h ../common/resolu.h
149 +
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 +
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 .

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines