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 2.2 by greg, Thu Mar 19 09:38:12 1992 UTC vs.
Revision 2.27 by gwlarson, Tue Jun 9 11:43:09 1998 UTC

# Line 1 | Line 1
1   #
2 < # SCCSid "$SunId$ LBL"
2 > # SCCSid "$SunId$ SGI"
3 > # Radiance makefile for utility programs
4   #
5  
6   MACH = -DBSD
# Line 8 | Line 9 | OPT = -O
9  
10   CFLAGS = $(MACH) $(OPT) -I../common -L../lib
11  
12 + CC = cc
13 +
14   INSTDIR = /usr/local/bin
15  
16 < PROGS = findglare xglaresrc glarendx
16 > LIBDIR = /usr/local/lib/ray
17  
18 + PROGS = findglare xglaresrc glarendx rpiece rad ranimate vwright getinfo vwrays
19 +
20   all:    $(PROGS)
21  
22 < install:        all objview.csh objpict.csh proj.csh glare.csh dayfact.csh
22 > install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \
23 > raddepend.csh trad.wsh objline.csh compamb.csh
24          cp $(PROGS) $(INSTDIR)
25          cp objview.csh $(INSTDIR)/objview
26 +        cp objline.csh $(INSTDIR)/objline
27          cp objpict.csh $(INSTDIR)/objpict
28          cp glare.csh $(INSTDIR)/glare
29          cp dayfact.csh $(INSTDIR)/dayfact
30          cp debugcal.csh $(INSTDIR)/debugcal
31 +        cp rlux.csh $(INSTDIR)/rlux
32 +        cp raddepend.csh $(INSTDIR)/raddepend
33 +        cp compamb.csh $(INSTDIR)/compamb
34          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
35 <                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal
35 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
36 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/objline \
37 >                $(INSTDIR)/compamb
38 >        csh -f tradinstall.csh $(INSTDIR) $(LIBDIR)/tcl
39  
40   clean:
41          set nonomatch; rm -f *.o $(PROGS) core
42  
43 + ogl:    glrad
44 +        cp glrad $(INSTDIR)
45 +
46   scanner:        scanner.o
47 <        cc $(CFLAGS) -o scanner scanner.o -lm
47 >        $(CC) $(CFLAGS) -o scanner scanner.o -lm
48  
49   makedist:       makedist.o setscan.o
50 <        cc $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
50 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
51  
52   findglare:      findglare.o glareval.o glaresrc.o setscan.o
53 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
53 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
54   setscan.o -lrt -lm
55  
56   glarendx:       glarendx.o
57 <        cc $(CFLAGS) -o glarendx glarendx.o -lrt -lm
57 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
58  
59   xglaresrc:      xglaresrc.o x11findwind.o
60 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o \
60 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
61   x11findwind.o -lrt -lX11 -lm
62  
63 + rad:    rad.o
64 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
65 +
66 + ranimate:       ranimate.o netproc.o
67 +        $(CC) $(CFLAGS) -o ranimate ranimate.o netproc.o -lrt -lm
68 +
69 + rpiece: rpiece.o Version.o
70 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
71 +
72 + vwright:        vwright.o
73 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
74 +
75 + vwrays:         vwrays.o
76 +        $(CC) $(CFLAGS) -o vwrays vwrays.o -lrt -lm
77 +
78 + getinfo:        getinfo.o
79 +        $(CC) $(CFLAGS) -o getinfo getinfo.o -lrt
80 +
81 + glrad:  glrad.o
82 +        $(CC) $(CFLAGS) -o glrad glrad.o -lrgl -lrt -lGLU -lGL -lX11 -lm
83 +
84   contour:        contour.o
85 <        cc $(CFLAGS) -o contour contour.o -lm
85 >        $(CC) $(CFLAGS) -o contour contour.o -lm
86  
87   pranim: pranim.o client/libclient.a
88 <        cc $(CFLAGS) -o pranim pranim.o \
88 >        $(CC) $(CFLAGS) -o pranim pranim.o \
89   client/libclient.a -lrpcsvc
90  
91   t16anim:        t16anim.o client/libclient.a
92 <        cc $(CFLAGS) -o t16anim t16anim.o \
92 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
93   client/libclient.a -lrpcsvc
94  
95   t16anim.o pranim.o:     client/clnt.h
# Line 65 | Line 102 | glaresrc.o:    glare.h ../common/standard.h ../common/mat
102  
103   glaresrc.o:     ../common/linregr.h
104  
105 < image.o xglaresrc.o:    ../common/standard.h ../common/mat4.h \
69 < ../common/fvect.h ../common/view.h
105 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
106  
107 + rad.o ranimate.o rpiece.o xglaresrc.o:  ../common/standard.h \
108 + ../common/mat4.h ../common/fvect.h
109 +
110 + xglaresrc.o:    ../common/view.h
111 +
112   swaprasheader.o:        ../common/rasterfile.h
113  
114   glareval.o xglaresrc.o: ../common/resolu.h
115  
116   xglaresrc.o:    ../common/vfork.h
117 +
118 + rad.o ranimate.o:       ../common/vars.h
119 +
120 + rad.o:  ../common/paths.h
121 +
122 + ranimate.o netproc.o:   netproc.h
123 +
124 + netproc.o:      ../common/paths.h
125 +
126 + rad.o ranimate.o:       ../common/view.h
127 +
128 + glrad.o:        ../common/radogl.h \
129 + ../common/standard.h ../common/mat4.h ../common/fvect.h \
130 + ../common/color.h ../common/object.h ../common/otypes.h ../common/lookup.h
131 +
132 + glrad.o:        glradicon.h ../common/view.h ../common/paths.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines