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

Comparing ray/src/rt/Rmakefile (file contents):
Revision 1.38 by greg, Sat Dec 15 15:07:02 1990 UTC vs.
Revision 1.39 by greg, Thu Mar 7 15:12:09 1991 UTC

# Line 5 | Line 5
5   #
6  
7   OPT = -O -pipe
8 < MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/f68881.il
8 > MACH = -DSTRUCTASSIGN -DBSD -DIEEE -f68881 /usr/lib/libm.il
9   CFLAGS = $(MACH) $(OPT)
10   CC = cc
11   LINT = lint
# Line 16 | Line 16 | LINTFLAGS = -DSTRUCTASSIGN -DBSD -DIEEE -DVARIABLE -DF
16   # The following are user-definable:
17   #
18   DESTDIR = .
19 < INSTDIR = /usr/local/ray
19 > INSTDIR = /lumen/lumen/ray/bin.sun3
20   INSTALL = cp
21  
22   #
# Line 34 | Line 34 | COMPAT = malloc.o
34   #
35   # Device drivers for rview (see also devtable.c):
36   #
37 < DOBJS = devtable.o devcomm.o aed.o tty.o editline.o x10.o xtwind.o \
38 <        colortab.o nwsdev.o
39 < DSRC = devtable.c devcomm.c aed.c tty.c editline.c x10.c xtwind.c \
40 <        colortab.c nwsdev.c
41 < DLIBS = -lX -lcps
42 < DRIVERS = $(DEVDIR)/sun $(DEVDIR)/sun.com $(DEVDIR)/x11
37 > DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \
38 >        colortab.o
39 > DSRC = devtable.c devcomm.c editline.c x10.c xtwind.c \
40 >        colortab.c
41 > DLIBS = -lX11
42  
43   #
44   # Standard object files:
# Line 90 | Line 89 | MISCSRC = misc.c header.c mat4.c xf.c fvect.c savestr.
89  
90   PROGS = $(DESTDIR)/rtrace $(DESTDIR)/rpict $(DESTDIR)/rview $(DESTDIR)/lookamb
91  
92 < all:    $(PROGS) $(DRIVERS)
92 > all:    $(PROGS)
93  
94 < install:        all
94 > install:        $(PROGS)
95          $(INSTALL) $(PROGS) $(INSTDIR)
96  
97 + sun:    $(DEVDIR)/sun $(DEVDIR)/sun.com
98 +
99 + x10:    $(DEVDIR)/x10
100 +
101 + aed:
102 +        @echo
103 +
104   clean:
105 <        rm -f *.o core
105 >        rm -f $(PROGS) *.o core
106  
107   lint:   $(RVSRC)
108          $(LINT) $(LINTFLAGS) -DRVIEW $(RVSRC) $(LIBS)
# Line 124 | Line 130 | editline.o -lsuntool -lsunwindow -lpixrect $(LIBS)
130   $(DEVDIR)/sun.com:      suncom.o editline.o
131          $(CC) $(CFLAGS) -s -o $(DEVDIR)/sun.com suncom.o editline.o
132  
133 < $(DEVDIR)/x11:  x11.o x11twind.o colortab.o devmain.o editline.o
134 <        $(CC) $(CFLAGS) -s -o $(DEVDIR)/x11 x11.o x11twind.o devmain.o \
135 < colortab.o editline.o -lX11 $(LIBS)
133 > $(DEVDIR)/x10:  x10.o xtwind.o colortab.o devmain.o editline.o
134 >        $(CC) $(CFLAGS) -s -o $(DEVDIR)/x10 x10.o xtwind.o devmain.o \
135 > colortab.o editline.o -lX $(LIBS)
136  
137   #
138   # Special compiles:
# Line 158 | Line 164 | devcomm.o:     devcomm.c
164   sundev.o:       sundev.c
165          $(CC) $(CFLAGS) -DTTYPROG=\"$(DEVDIR)/sun.com\" -Dsun_init=dinit -c sundev.c
166  
167 < x11.o:  x11.c
168 <        $(CC) $(CFLAGS) -Dx11_init=dinit -c x11.c
167 > x10.o:  x10.c
168 >        $(CC) $(CFLAGS) -Dx_init=dinit -c x10.c
169  
170   ambient.o:      ambient.c
171          $(CC) $(CFLAGS) -DAMBFLUSH=16 -c ambient.c

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines