ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/Rmakefile
Revision: 2.62
Committed: Wed Jun 17 20:41:47 2009 UTC (14 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad4R0
Changes since 2.61: +10 -3 lines
Log Message:
Created dctimestep utility for daylight coefficient calculations

File Contents

# User Rev Content
1 greg 2.62 # RCSid: $Id: Rmakefile,v 2.61 2009/05/21 18:08:43 greg Exp $
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.54 COMPAT = erf.o strcmp.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.43 colrops.o font.o tonemap.o tmapcolrs.o tmapluv.o tmaptiff.o \
22 greg 2.56 tmap16bit.o bmpfile.o falsecolor.o
23 greg 1.1
24 greg 2.62 UTLOBJ = ezxml.o bsdf.o
25    
26 greg 2.12 STDOBJ = fgetline.o fropen.o linregr.o xf.o mat4.o invmat4.o fvect.o urand.o \
27 schorsch 2.41 urind.o calexpr.o caldefn.o calfunc.o calprnt.o biggerlib.o multisamp.o \
28 greg 2.47 unix_process.o process.o gethomedir.o getpath.o error.o savestr.o \
29 schorsch 2.46 savqstr.o badarg.o fgetword.o words.o expandarg.o wordfile.o fgetval.o \
30 greg 2.54 clip.o plocate.o eputs.o wputs.o quit.o lookup.o bmalloc.o \
31 greg 2.59 loadvars.o tcos.o fputword.o chanvalue.o dircode.o paths.o byteswap.o
32 greg 1.1
33 greg 2.20 SYSOBJ = ealloc.o fdate.o portio.o myhostname.o $(COMPAT)
34 greg 1.1
35 gwlarson 2.27 OGLOBJ = rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o
36    
37 greg 2.37 LIBFILES = tmesh.cal
38    
39 greg 2.62 librtrad.a: $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
40 schorsch 2.58 rm -f librtrad.a
41 greg 2.62 ar rc librtrad.a $(RTOBJ) $(PICOBJ) $(UTLOBJ) $(STDOBJ) $(SYSOBJ)
42 schorsch 2.58 -ranlib librtrad.a
43 greg 1.16
44 gwlarson 2.28 install: all
45 schorsch 2.58 mv -f librtrad.a ../lib
46 greg 2.45 cd $(LIBDIR) && rm -f $(LIBFILES)
47 greg 2.57 cp -f $(LIBFILES) $(LIBDIR)
48    
49 schorsch 2.58 all: librtrad.a $(SPECIAL)
50 greg 1.5
51     clean:
52 schorsch 2.58 rm -f *.o librtrad.a
53 greg 1.3
54 gwlarson 2.27 ogl: $(OGLOBJ)
55 greg 2.57 rm -f librgl.a
56 gwlarson 2.27 ar rc librgl.a $(OGLOBJ)
57     -ranlib librgl.a
58 greg 2.57 mv -f librgl.a ../lib
59 gwlarson 2.28
60     x10:
61    
62     aed:
63    
64     sgi:
65    
66     sun:
67 gwlarson 2.27
68 greg 2.13 getlibpath.o: getlibpath.c
69     $(CC) $(CFLAGS) -DDEFPATH=\":$(LIBDIR)\" -c getlibpath.c
70 greg 1.4
71 gwlarson 2.32 tmapcolrs.o: tmapcolrs.c
72     $(CC) $(CFLAGS) -DPCOND=\"pcond\" -c tmapcolrs.c
73    
74 greg 2.19 color.o colrops.o lamps.o spec_rgb.o: color.h
75 greg 1.1
76     cone.o: cone.h
77    
78     face.o: face.h
79    
80     fvect.o: fvect.h
81    
82     instance.o: instance.h
83    
84     linregr.o: linregr.h
85    
86 greg 2.12 mat4.o invmat4.o: mat4.h fvect.h
87 greg 1.1
88     cone.o face.o instance.o objset.o otypes.o \
89 greg 2.37 mesh.o modobject.o readfargs.o readmesh.o \
90 greg 2.38 readobj.o readoct.o sceneio.o: object.h
91 greg 1.1
92 greg 2.38 mesh.o objset.o octree.o readmesh.o readoct.o sceneio.o: octree.h
93 greg 1.1
94 greg 2.38 cone.o mesh.o modobject.o otypes.o \
95     readobj.o readoct.o sceneio.o: otypes.h
96 greg 1.1
97 gregl 2.26 multisamp.o urand.o: random.h
98 greg 1.1
99 greg 2.42 cone.o face.o free_os.o image.o instance.o objset.o \
100     octree.o modobject.o readfargs.o otypes.o mesh.o \
101     readmesh.o readobj.o readoct.o sceneio.o: standard.h \
102 greg 2.60 rtmisc.h rtio.h rtmath.h rterror.h fvect.h mat4.h tiff.h
103 greg 1.1
104     image.o: view.h
105 greg 1.4
106 greg 2.39 caldefn.o calexpr.o calfunc.o calprnt.o: calcomp.h
107 greg 2.17
108     clip.o plocate.o: plocate.h
109 greg 2.4
110     font.o: font.h
111 greg 2.9
112     fropen.o getpath.o image.o: paths.h
113 greg 2.16
114 greg 2.38 lookup.o: lookup.h
115 greg 2.23
116     loadvars.o: vars.h
117 greg 2.24
118 greg 2.38 mesh.o readmesh.o: mesh.h lookup.h
119 greg 2.37
120 greg 2.43 tonemap.o tmapcolrs.o tmapluv.o tmap16bit.o: tmprivat.h tonemap.h \
121 greg 2.60 tiff.h color.h
122 gwlarson 2.30
123 greg 2.55 tmapluv.o: tiffio.h tmaptiff.h tiff.h
124 greg 2.24
125 greg 2.60 falsecolor.o: falsecolor.h tmprivat.h tonemap.h color.h tiff.h
126 greg 2.56
127 greg 2.24 tonemap.o: tmerrmsg.h
128 gwlarson 2.27
129 greg 2.60 tmaptiff.o: tmprivat.h tmaptiff.h color.h tonemap.h tiff.h
130 greg 2.35
131 gwlarson 2.27 rglfile.o rglmat.o rgldomat.o rglsurf.o rglinst.o rglsrc.o: radogl.h \
132     standard.h mat4.h fvect.h color.h object.h otypes.h lookup.h
133 greg 2.35
134     free_os.o: octree.h object.h otypes.h face.h cone.h instance.h
135 greg 2.37
136     tmesh.o: tmesh.h fvect.h
137 greg 2.42
138 greg 2.53 fgetword.o fputword.o fgetval.o fgetline.o fdate.o unix_process.o \
139 greg 2.59 byteswap.o expandarg.o badarg.o xf.o: rtio.h
140 greg 2.42
141     expandarg.o: rtmisc.h
142    
143 greg 2.60 dircode.o xf.o: rtmath.h mat4.h fvect.h tiff.h
144 greg 2.42
145     error.o: rterror.h
146 greg 2.49
147 greg 2.60 bmpfile.o: bmpfile.h tiff.h
148 greg 2.61
149     header.o readmesh.o readoct.o resolu.o rglinst.o tmapcolrs.o: resolu.h
150    
151 greg 2.62 ezxml.o bsdf.o: ezxml.h
152    
153     bsdf.o: ../common/paths.h
154    
155     bsdf.o: bsdf.h standard.h rtmisc.h rtio.h rtmath.h mat4.h fvect.h rterror.h