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

Comparing ray/src/hd/Rmakefile (file contents):
Revision 3.2 by gregl, Wed Nov 19 17:05:29 1997 UTC vs.
Revision 3.12 by gregl, Tue Jan 6 15:09:24 1998 UTC

# Line 16 | Line 16 | DEVDIR = $(INSTDIR)/dev
16  
17   LIBDIR = /usr/local/lib/ray
18  
19 < PROGS = rholo
19 > PROGS = rholo rhcopy genrhenv
20  
21 < DEVS = $(DEVDIR)/x11.hdisp $(DEVDIR)/x11h.hdisp
21 > DEVS = $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi \
22 > $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
23  
24   all:    $(PROGS)
25  
# Line 28 | Line 29 | install:       all $(DEVS)
29   clean:
30          set nonomatch; rm -f *.o $(PROGS) core
31  
32 < rholo:  rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o
32 > rholo:  rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o Version.o
33          $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
34 < holo.o holofile.o -lrt -lm
34 > holo.o holofile.o Version.o -lrt -lm
35  
36 < $(DEVDIR)/x11h.hdisp:   $(DEVDIR)/x11.hdisp
37 <        rm -f $(DEVDIR)/x11h.hdisp
37 <        ln $(DEVDIR)/x11.hdisp $(DEVDIR)/x11h.hdisp
36 > rhcopy: rhcopy.o holo.o holofile.o
37 >        $(CC) $(CFLAGS) -o rhcopy rhcopy.o holo.o holofile.o -lrt -lm
38  
39 < $(DEVDIR)/x11.hdisp:    rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
40 < rhd_ctab.o holo.o
41 <        $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdisp rhdisp.o rhdisp2.o rhdisp3.o \
42 < rhd_x11.o rhd_qtree.o rhd_ctab.o holo.o -lrt -lX11 -lm
39 > genrhenv:       genrhenv.o holo.o holofile.o
40 >        $(CC) $(CFLAGS) -o genrhenv genrhenv.o holo.o holofile.o -lrt -lm
41  
42 + $(DEVDIR)/x11h.hdi:     $(DEVDIR)/x11.hdi
43 +        rm -f $(DEVDIR)/x11h.hdi
44 +        ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
45 +
46 + $(DEVDIR)/x11.hdi:      rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
47 + rhd_qtree2r.o rhd_ctab.o dircode.o holo.o
48 +        $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o rhdisp3.o \
49 + rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o dircode.o -lrt -lX11 -lm
50 +
51 + $(DEVDIR)/glxh.hdi:     $(DEVDIR)/glx.hdi
52 +        rm -f $(DEVDIR)/glxh.hdi
53 +        ln $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
54 +
55 + $(DEVDIR)/glx.hdi:      rhdisp.o rhdisp2.o rhdisp3.o rhd_glx.o \
56 + rhd_qtree.o rhd_qtree2c.o dircode.o holo.o
57 +        $(CC) $(CFLAGS) -o $(DEVDIR)/glx.hdi rhdisp.o rhdisp2.o rhdisp3.o \
58 + rhd_glx.o holo.o rhd_qtree.o rhd_qtree2c.o dircode.o -lrt -lGLU -lGL -lX11 -lm
59 +
60   rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
61   rhdisp.o rhdisp2.o rhdisp3.o:   rholo.h
62  
63 + rholo2l.o:      ../common/paths.h
64 +
65   rholo4.o:       rhdisp.h rholo4.c
66 <        $(CC) $(CFLAGS) -DDEVPATH=\"$(DEVDIR)\" -c rholo4.c
66 >        $(CC) $(CFLAGS) -c rholo4.c
67  
68   rhdisp.o rhdisp2.o:     rhdisp.h rhdriver.h ../common/view.h
69  
70   rhdisp3.o:      rhdisp.h ../common/view.h
71  
72 < holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o \
73 < rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o:   holo.h \
72 > holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o genrhenv.o \
73 > rhcopy.o rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o:  holo.h \
74   ../common/vars.h ../common/color.h \
75   ../common/standard.h ../common/mat4.h ../common/fvect.h
76  
77 < rhd_x11.o rhd_qtree.o:  ../common/standard.h ../common/mat4.h ../common/fvect.h
77 > rhcopy.o:       ../common/resolu.h
78  
79 < rhd_x11.o rhd_qtree.o:  rhd_qtree.h rhdriver.h \
79 > rhcopy.o:       ../common/view.h
80 >
81 > rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o:  ../common/standard.h \
82 > ../common/mat4.h ../common/fvect.h
83 >
84 > rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o:  rhd_qtree.h rhdriver.h \
85   ../common/tonemap.h ../common/color.h
86  
87 < rhd_x11.o:      x11icon.h
87 > rhd_glx.o rhd_x11.o:    x11icon.h
88 >
89 > dircode.o:      ../common/fvect.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines