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.9 by greg, Thu Dec 9 17:32:14 1993 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 10 | Line 11 | CFLAGS = $(MACH) $(OPT) -I../common -L../lib
11  
12   CC = cc
13  
13 MLIB = -lm
14
14   INSTDIR = /usr/local/bin
15  
16 < PROGS = findglare xglaresrc glarendx rpiece rad
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 glare.csh dayfact.csh rlux.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 \
36 <                $(INSTDIR)/rlux
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 $(MLIB)
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 $(MLIB)
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 \
54 < setscan.o -lrt $(MLIB)
54 > setscan.o -lrt -lm
55  
56   glarendx:       glarendx.o
57 <        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt $(MLIB)
57 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
58  
59   xglaresrc:      xglaresrc.o x11findwind.o
60          $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
61 < x11findwind.o -lrt -lX11 $(MLIB)
61 > x11findwind.o -lrt -lX11 -lm
62  
63   rad:    rad.o
64 <        $(CC) $(CFLAGS) -o rad rad.o -lrt $(MLIB)
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 $(MLIB)
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 $(MLIB)
85 >        $(CC) $(CFLAGS) -o contour contour.o -lm
86  
87   pranim: pranim.o client/libclient.a
88          $(CC) $(CFLAGS) -o pranim pranim.o \
# Line 79 | Line 104 | glaresrc.o:    ../common/linregr.h
104  
105   rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
106  
107 < rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
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
# Line 89 | Line 114 | swaprasheader.o:       ../common/rasterfile.h
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