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.12 by greg, Thu Oct 27 22:07:06 1994 UTC

# Line 1 | Line 1
1   #
2   # 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
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
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 dayfact.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          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 "s|^set radlib .*|set radlib $(LIBDIR)/tcl|" trad.wsh > $(INSTDIR)/trad
40          chmod 755 $(INSTDIR)/objview $(INSTDIR)/objpict \
41 <                $(INSTDIR)/glare $(INSTDIR)/dayfact
41 >                $(INSTDIR)/glare $(INSTDIR)/dayfact $(INSTDIR)/debugcal \
42 >                $(INSTDIR)/rlux $(INSTDIR)/raddepend $(INSTDIR)/ivprep \
43 >                $(INSTDIR)/ivpict $(INSTDIR)/trad
44 >        cd $(LIBDIR)/tcl ; rm -f $(TLIBFILES)
45 >        cp $(TLIBFILES) $(LIBDIR)/tcl
46  
47   clean:
48          set nonomatch; rm -f *.o $(PROGS) core
49  
50   scanner:        scanner.o
51 <        cc $(CFLAGS) -o scanner scanner.o -lm
51 >        $(CC) $(CFLAGS) -o scanner scanner.o -lm
52  
53   makedist:       makedist.o setscan.o
54 <        cc $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
54 >        $(CC) $(CFLAGS) -o makedist makedist.o setscan.o -lrt -lm
55  
56   findglare:      findglare.o glareval.o glaresrc.o setscan.o
57 <        cc $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
57 >        $(CC) $(CFLAGS) -o findglare findglare.o glareval.o glaresrc.o \
58   setscan.o -lrt -lm
59  
60   glarendx:       glarendx.o
61 <        cc $(CFLAGS) -o glarendx glarendx.o -lrt -lm
61 >        $(CC) $(CFLAGS) -o glarendx glarendx.o -lrt -lm
62  
63   xglaresrc:      xglaresrc.o x11findwind.o
64 <        cc $(CFLAGS) -o xglaresrc xglaresrc.o \
64 >        $(CC) $(CFLAGS) -o xglaresrc xglaresrc.o \
65   x11findwind.o -lrt -lX11 -lm
66  
67 + rad:    rad.o
68 +        $(CC) $(CFLAGS) -o rad rad.o -lrt -lm
69 +
70 + rpiece: rpiece.o Version.o
71 +        $(CC) $(CFLAGS) -o rpiece rpiece.o Version.o -lrt -lm
72 +
73   contour:        contour.o
74 <        cc $(CFLAGS) -o contour contour.o -lm
74 >        $(CC) $(CFLAGS) -o contour contour.o -lm
75  
76   pranim: pranim.o client/libclient.a
77 <        cc $(CFLAGS) -o pranim pranim.o \
77 >        $(CC) $(CFLAGS) -o pranim pranim.o \
78   client/libclient.a -lrpcsvc
79  
80   t16anim:        t16anim.o client/libclient.a
81 <        cc $(CFLAGS) -o t16anim t16anim.o \
81 >        $(CC) $(CFLAGS) -o t16anim t16anim.o \
82   client/libclient.a -lrpcsvc
83  
84   t16anim.o pranim.o:     client/clnt.h
# Line 64 | Line 91 | glaresrc.o:    glare.h ../common/standard.h ../common/mat
91  
92   glaresrc.o:     ../common/linregr.h
93  
94 < image.o xglaresrc.o:    ../common/standard.h ../common/mat4.h \
68 < ../common/fvect.h ../common/view.h
94 > rpiece.o:       ../common/color.h ../common/view.h ../common/resolu.h
95  
96 + rad.o rpiece.o xglaresrc.o:     ../common/standard.h \
97 + ../common/mat4.h ../common/fvect.h
98 +
99 + xglaresrc.o:    ../common/view.h
100 +
101   swaprasheader.o:        ../common/rasterfile.h
102 +
103 + glareval.o xglaresrc.o: ../common/resolu.h
104 +
105 + xglaresrc.o:    ../common/vfork.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines