ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 2.38
Committed: Fri Mar 14 21:27:45 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.37: +8 -7 lines
Log Message:
Added -a option to obj2mesh to incorporate materials in mesh

File Contents

# User Rev Content
1 greg 2.35 # RCSid: $Id$
2 greg 1.1 #
3     # Makefile for ray tracing library routines
4     #
5    
6 greg 1.17 OPT = -O
7 greg 1.19 MACH = -DBSD
8 greg 1.1 CFLAGS = $(MACH) $(OPT)
9 greg 2.5 CC = cc
10 gwlarson 2.27 SPECIAL =
11 greg 1.1
12 greg 2.7 COMPAT = bmalloc.o erf.o strcmp.o # frexp.o fwrite.o random.o
13 greg 1.16
14 greg 1.3 LIBDIR = /usr/local/lib/ray
15    
16 greg 2.35 RTOBJ = cone.o face.o free_os.o instance.o readobj.o readoct.o otypes.o \
17     objset.o octree.o readfargs.o modobject.o getlibpath.o \
18 greg 2.38 addobjnotify.o zeroes.o mesh.o readmesh.o tmesh.o sceneio.o
19 greg 1.1
20     PICOBJ = color.o header.o image.o lamps.o resolu.o rexpr.o spec_rgb.o \
21 greg 2.35 colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o
22 greg 1.1
23 greg 2.12 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
24 greg 2.35 urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o \
25 greg 2.7 multisamp.o process.o getpath.o error.o savestr.o savqstr.o \
26 greg 2.18 badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
27 gregl 2.25 clip.o plocate.o eputs.o wputs.o quit.o lookup.o \
28 greg 2.36 loadvars.o tcos.o fputword.o chanvalue.o dircode.o
29 greg 1.1
30 greg 2.20 SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
31 greg 1.1
32 gwlarson 2.27 OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
33    
34 greg 2.37 LIBFILES = tmesh.cal
35    
36 gwlarson 2.28 all: librt.a $(SPECIAL)
37    
38 greg 1.1 librt.a: $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
39     ar rc librt.a $(RTOBJ) $(PICOBJ) $(STDOBJ) $(SYSOBJ)
40 greg 1.14 -ranlib librt.a
41 greg 1.16
42 gwlarson 2.28 install: all
43 greg 2.21 mv librt.a ../lib/librt.a
44 greg 2.37 cd $(LIBDIR) ; rm -f $(LIBFILES)
45     cp $(LIBFILES) $(LIBDIR)
46 greg 1.5
47     clean:
48 greg 2.7 rm -f *.o librt.a
49 greg 1.3
50 gwlarson 2.27 ogl: $(OGLOBJ)
51     ar rc librgl.a $(OGLOBJ)
52     -ranlib librgl.a
53     mv librgl.a ../lib/librgl.a
54 gwlarson 2.28
55     x10:
56    
57     aed:
58    
59     sgi:
60    
61     sun:
62 gwlarson 2.27
63 greg 2.13 getlibpath.o: getlibpath.c
64     $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
65 greg 1.4
66 gwlarson 2.32 tmapcolrs.o: tmapcolrs.c
67     $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c
68    
69 greg 2.19 color.o colrops.o lamps.o spec_rgb.o: color.h
70 greg 1.1
71     cone.o: cone.h
72    
73     face.o: face.h
74    
75     fvect.o: fvect.h
76    
77     instance.o: instance.h
78    
79     linregr.o: linregr.h
80    
81 greg 2.12 mat4.o invmat4.o: mat4.h fvect.h
82 greg 1.1
83     cone.o face.o instance.o objset.o otypes.o \
84 greg 2.37 mesh.o modobject.o readfargs.o readmesh.o \
85 greg 2.38 readobj.o readoct.o sceneio.o: object.h
86 greg 1.1
87 greg 2.38 mesh.o objset.o octree.o readmesh.o readoct.o sceneio.o: octree.h
88 greg 1.1
89 greg 2.38 cone.o mesh.o modobject.o otypes.o \
90     readobj.o readoct.o sceneio.o: otypes.h
91 greg 1.1
92 gregl 2.26 multisamp.o urand.o: random.h
93 greg 1.1
94 greg 2.35 cone.o face.o free_os.o image.o instance.o error.o objset.o \
95 greg 2.37 octree.o modobject.o readfargs.o otypes.o dircode.o mesh.o \
96 greg 2.38 readmesh.o readobj.o readoct.o sceneio.o xf.o: standard.h mat4.h fvect.h
97 greg 1.1
98     image.o: view.h
99 greg 1.4
100     calprnt.o: calcomp.h
101 greg 2.3
102     process.o: vfork.h
103 greg 2.17
104     clip.o plocate.o: plocate.h
105 greg 2.4
106     font.o: font.h
107 greg 2.9
108     fropen.o getpath.o image.o: paths.h
109 greg 2.16
110 greg 2.38 lookup.o: lookup.h
111 greg 2.23
112     loadvars.o: vars.h
113 greg 2.24
114 greg 2.38 mesh.o readmesh.o: mesh.h lookup.h
115 greg 2.37
116 gwlarson 2.30 tonemap.o tmapcolrs.o tmapluv.o: tmprivat.h tonemap.h color.h
117    
118 greg 2.35 tmapluv.o: uvcode.h tiffio.h tmaptiff.h tiff.h
119 greg 2.24
120     tonemap.o: tmerrmsg.h
121 gwlarson 2.27
122 greg 2.35 tmaptiff.o: tmprivat.h tmaptiff.h color.h tonemap.h
123    
124 gwlarson 2.27 rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o: radogl.h \
125     standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
126 greg 2.35
127     free_os.o: octree.h object.h otypes.h face.h cone.h instance.h
128 greg 2.37
129     tmesh.o: tmesh.h fvect.h