ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/Rmakefile
Revision: 3.12
Committed: Tue Jan 6 15:09:24 1998 UTC (26 years, 2 months ago) by gregl
Branch: MAIN
Changes since 3.11: +5 -2 lines
Log Message:
wrote genrhenv program to create holodeck environment maps

File Contents

# User Rev Content
1 gregl 3.1 #
2     # SCCSid "$SunId$ SGI"
3     # Radiance makefile for holodeck programs
4     #
5    
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 gregl 3.2 DEVDIR = $(INSTDIR)/dev
16 gregl 3.1
17     LIBDIR = /usr/local/lib/ray
18    
19 gregl 3.12 PROGS = rholo rhcopy genrhenv
20 gregl 3.1
21 gregl 3.10 DEVS = $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi \
22     $(DEVDIR)/glx.hdi $(DEVDIR)/glxh.hdi
23 gregl 3.2
24 gregl 3.1 all: $(PROGS)
25    
26 gregl 3.2 install: all $(DEVS)
27 gregl 3.1 cp $(PROGS) $(INSTDIR)
28    
29     clean:
30     set nonomatch; rm -f *.o $(PROGS) core
31    
32 gregl 3.3 rholo: rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o holo.o holofile.o Version.o
33 gregl 3.1 $(CC) $(CFLAGS) -o rholo rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
34 gregl 3.3 holo.o holofile.o Version.o -lrt -lm
35 gregl 3.1
36 gregl 3.7 rhcopy: rhcopy.o holo.o holofile.o
37     $(CC) $(CFLAGS) -o rhcopy rhcopy.o holo.o holofile.o -lrt -lm
38    
39 gregl 3.12 genrhenv: genrhenv.o holo.o holofile.o
40     $(CC) $(CFLAGS) -o genrhenv genrhenv.o holo.o holofile.o -lrt -lm
41    
42 gregl 3.8 $(DEVDIR)/x11h.hdi: $(DEVDIR)/x11.hdi
43     rm -f $(DEVDIR)/x11h.hdi
44     ln $(DEVDIR)/x11.hdi $(DEVDIR)/x11h.hdi
45 gregl 3.1
46 gregl 3.8 $(DEVDIR)/x11.hdi: rhdisp.o rhdisp2.o rhdisp3.o rhd_x11.o rhd_qtree.o \
47 gregl 3.9 rhd_qtree2r.o rhd_ctab.o dircode.o holo.o
48 gregl 3.8 $(CC) $(CFLAGS) -o $(DEVDIR)/x11.hdi rhdisp.o rhdisp2.o rhdisp3.o \
49 gregl 3.9 rhd_x11.o rhd_qtree.o rhd_qtree2r.o rhd_ctab.o holo.o dircode.o -lrt -lX11 -lm
50 gregl 3.1
51 gregl 3.10 $(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 gregl 3.11 rhd_qtree.o rhd_qtree2c.o dircode.o holo.o
57 gregl 3.10 $(CC) $(CFLAGS) -o $(DEVDIR)/glx.hdi rhdisp.o rhdisp2.o rhdisp3.o \
58 gregl 3.11 rhd_glx.o holo.o rhd_qtree.o rhd_qtree2c.o dircode.o -lrt -lGLU -lGL -lX11 -lm
59 gregl 3.10
60 gregl 3.2 rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o \
61     rhdisp.o rhdisp2.o rhdisp3.o: rholo.h
62    
63 gregl 3.6 rholo2l.o: ../common/paths.h
64    
65 gregl 3.2 rholo4.o: rhdisp.h rholo4.c
66 gregl 3.4 $(CC) $(CFLAGS) -c rholo4.c
67 gregl 3.2
68     rhdisp.o rhdisp2.o: rhdisp.h rhdriver.h ../common/view.h
69    
70     rhdisp3.o: rhdisp.h ../common/view.h
71    
72 gregl 3.12 holo.o holofile.o rhdisp.o rhdisp2.o rhdisp3.o genrhenv.o \
73 gregl 3.7 rhcopy.o rholo.o rholo2.o rholo2l.o rholo3.o rholo4.o: holo.h \
74 gregl 3.1 ../common/vars.h ../common/color.h \
75     ../common/standard.h ../common/mat4.h ../common/fvect.h
76 gregl 3.7
77     rhcopy.o: ../common/resolu.h
78    
79     rhcopy.o: ../common/view.h
80 gregl 3.2
81 gregl 3.10 rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o: ../common/standard.h \
82 gregl 3.5 ../common/mat4.h ../common/fvect.h
83 gregl 3.10
84 gregl 3.11 rhd_glx.o rhd_x11.o rhd_qtree.o rhd_qtree2r.o: rhd_qtree.h rhdriver.h \
85 gregl 3.2 ../common/tonemap.h ../common/color.h
86    
87 gregl 3.11 rhd_glx.o rhd_x11.o: x11icon.h
88 gregl 3.9
89     dircode.o: ../common/fvect.h