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.10 by greg, Tue Apr 30 16:24:06 1991 UTC vs.
Revision 2.14 by greg, Mon Nov 21 16:50:03 1994 UTC

# Line 1 | Line 1
1   #
2   # SCCSid "$SunId$ LBL"
3 + # Radiance makefile for utility programs
4   #
5  
6 < MACH = -f68881 /usr/lib/libm.il -DIEEE -DBSD -DSTRUCTASSIGN
6 > MACH = -DBSD
7  
8   OPT = -O
9  
10 < CFLAGS = $(MACH) $(OPT)
10 > CFLAGS = $(MACH) $(OPT) -I../common -L../lib
11  
12 < INSTDIR = /lumen/lumen/ray/bin.sun3
12 > CC = cc
13  
14 < PROGS = makedist swaprasheader findglare xglaresrc glarendx
14 > INSTDIR = /usr/local/bin
15  
16 + LIBDIR = /usr/local/lib/ray
17 +
18 + PROGS = findglare xglaresrc glarendx rpiece rad vwright
19 +
20 + TLIBFILES = do_action.tcl do_file.tcl do_options.tcl do_results.tcl \
21 +                do_scene.tcl do_views.tcl do_zone.tcl \
22 +                getfile.tcl gethelp.tcl util.tcl tclIndex \
23 +                trad.hlp help.hlp file.hlp trad.icon
24 +
25   all:    $(PROGS)
26  
27 < install:        all objview.csh objpict.csh proj.csh glare.csh
27 > install:        all objview.csh objpict.csh glare.csh dayfact.csh rlux.csh \
28 > raddepend.csh ivprep.csh ivpict.csh trad.wsh
29          cp $(PROGS) $(INSTDIR)
30          cp objview.csh $(INSTDIR)/objview
31          cp objpict.csh $(INSTDIR)/objpict
32          cp glare.csh $(INSTDIR)/glare
33 <        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict $(INSTDIR)/glare
33 >        cp dayfact.csh $(INSTDIR)/dayfact
34 >        cp debugcal.csh $(INSTDIR)/debugcal
35 >        cp rlux.csh $(INSTDIR)/rlux
36 >        cp raddepend.csh $(INSTDIR)/raddepend
37 >        cp ivprep.csh $(INSTDIR)/ivprep
38 >        cp ivpict.csh $(INSTDIR)/ivpict
39 >        sed -e "1s|/usr/local/bin/wish|`which wish`|" \
40 >                -e "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" \
41 >                trad.wsh > $(INSTDIR)/trad
42 >        chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
43 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
44 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
45 >                $(INSTDIR)/ivpict $(INSTDIR)/trad
46 >        cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES)
47 >        cp $(TLIBFILES) $(LIBDIR)/tcl
48  
49   clean:
50          set nonomatch; rm -f *.o $(PROGS) core
51  
52   scanner:        scanner.o
53 <        cc $(CFLAGS) -o scanner scanner.o -lm
53 >        $(CC) $(CFLAGS) -o scanner scanner.o -lm
54  
55 < makedist:       makedist.o fvect.o setscan.o
56 <        cc $(CFLAGS) -o makedist makedist.o fvect.o setscan.o -lm
55 > makedist:       makedist.o setscan.o
56 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
57  
58 < findglare:      findglare.o glareval.o glaresrc.o color.o fvect.o image.o \
59 < header.o resolu.o setscan.o linregr.o
60 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
36 < color.o fvect.o image.o header.o resolu.o setscan.o linregr.o -lm
58 > findglare:      findglare.o glareval.o glaresrc.o setscan.o
59 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
60 > setscan.o -lrt -lm
61  
62 < glarendx:       glarendx.o image.o header.o erf.o fvect.o resolu.o
63 <        cc $(CFLAGS) -o glarendx glarendx.o image.o header.o fvect.o \
40 < erf.o resolu.o -lm
62 > glarendx:       glarendx.o
63 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
64  
65 < xglaresrc:      xglaresrc.o fvect.o image.o resolu.o header.o x11findwind.o
66 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o fvect.o image.o \
67 < header.o resolu.o x11findwind.o -lm -lX11
65 > xglaresrc:      xglaresrc.o x11findwind.o
66 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
67 > x11findwind.o -lrt -lX11 -lm
68  
69 + rad:    rad.o
70 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
71 +
72 + rpiece: rpiece.o Version.o
73 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
74 +
75 + vwright:        vwright.o
76 +        $(CC) $(CFLAGS) -o vwright vwright.o -lrt -lm
77 +
78   contour:        contour.o
79 <        cc $(CFLAGS) -o contour contour.o -lm
79 >        $(CC) $(CFLAGS) -o contour contour.o -lm
80  
81   pranim: pranim.o client/libclient.a
82 <        cc $(CFLAGS) -o pranim pranim.o \
82 >        $(CC) $(CFLAGS) -o pranim pranim.o \
83   client/libclient.a -lrpcsvc
84  
85   t16anim:        t16anim.o client/libclient.a
86 <        cc $(CFLAGS) -o t16anim t16anim.o \
86 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
87   client/libclient.a -lrpcsvc
88  
89   t16anim.o pranim.o:     client/clnt.h
# Line 59 | Line 91 | t16anim.o pranim.o:    client/clnt.h
91   setscan.o makedist.o:   setscan.h
92  
93   findglare.o glareval.o \
94 < glaresrc.o:     glare.h standard.h mat4.h fvect.h view.h color.h setscan.h
94 > glaresrc.o:     glare.h ../common/standard.h ../common/mat4.h \
95 > ../common/fvect.h ../common/view.h ../common/color.h setscan.h
96  
97 < glaresrc.o linregr.o:   linregr.h
97 > glaresrc.o:     ../common/linregr.h
98  
99 < image.o xglaresrc.o:    standard.h mat4.h fvect.h view.h
99 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
100  
101 < fvect.o:        fvect.h
101 > rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
102 > ../common/mat4.h ../common/fvect.h
103  
104 < resolu.o:       color.h
104 > xglaresrc.o:    ../common/view.h
105  
106 < swaprasheader.o:        rasterfile.h
106 > swaprasheader.o:        ../common/rasterfile.h
107 >
108 > glareval.o xglaresrc.o: ../common/resolu.h
109 >
110 > xglaresrc.o:    ../common/vfork.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines