source: trunk/vizservers/nanovis/Makefile.in @ 828

Last change on this file since 828 was 828, checked in by vrinside, 13 years ago

Add interpolation functions for compute values between two values with fraction

File size: 8.1 KB
Line 
1
2SHELL = /bin/sh
3
4.SUFFIX:
5.SUFFIX: .c .o .cpp
6
7.PHONY: all install clean distclean
8
9prefix          = @prefix@
10exec_prefix     = @exec_prefix@
11bindir          = @bindir@
12libdir          = @libdir@
13includedir      = @includedir@
14mandir          = @mandir@
15
16INSTALL                 = @INSTALL@
17INSTALL_PROGRAM = ${INSTALL} -m 755
18INSTALL_DATA    = ${INSTALL} -m 644
19INSTALL_SCRIPT  = ${INSTALL} -m 644
20
21CC = @CC@
22
23AUXSRC = config.h define.h global.h
24
25R2INC = ./R2/include
26MATINC = ./newmat11
27
28LIB_NANOVIS = -L@RP_DIR@/lib -ltcl8.4 -lGL -lglut -lglui -lGLEW -lCg -lCgGL -pthread -lrappture2 -lb64 -lz
29INCLUDES = -I@RP_DIR@/include -I@RP2_INCL_DIR@ -I/usr/include/GL -I$(R2INC) -I. -I$(MATINC)
30
31CFLAGS = @CFLAGS@ $(INCLUDES)
32# $(CFLAGS)
33
34OBJS  = nanovis.o Socket.o RenderVertexArray.o Plane.o ConvexPolygon.o Vector4.o Vector3.o Mat4x4.o \
35                Texture1D.o Texture3D.o Volume.o ZincBlendeVolume.o Texture2D.o ParticleSystem.o Sphere.o Color.o \
36                PerfQuery.o TransferFunction.o ControlPoint.o ColorGradient.o ColorPaletteWindow.o\
37                ColorGradientGLUTWindow.o TransferFunctionGLUTWindow.o MainWindow.o Event.o \
38                Lic.o Renderable.o Camera.o ScreenSnapper.o VolumeRenderer.o PlaneRenderer.o Nv.o \
39                NvZincBlendeVolumeShader.o NvShader.o NvVolumeShader.o NvRegularVolumeShader.o \
40                NvLoadFile.o NvDefaultTFData.o NvColorTableShader.o NvColorTableRenderer.o NvParticleAdvectionShader.o \
41                NvEventLog.o NvParticleRenderer.o NvLIC.o NvZincBlendeReconstructor.o NvStdVertexShader.o \
42                ContourLineFilter.o HeightMap.o Grid.o \
43                PointShader.o PCASplit.o BucketSort.o PointSetRenderer.o PointSet.o \
44                bandmat.o cholesky.o evalue.o fft.o hholder.o jacobi.o myexcept.o newfft.o newmat1.o newmat2.o \
45                newmat3.o newmat4.o newmat5.o newmat6.o newmat7.o newmat8.o newmat9.o newmatex.o newmatnl.o \
46                newmatrm.o nm_misc.o solution.o sort.o svd.o submat.o \
47                Image.o ImageLoader.o ImageLoaderImpl.o BMPImageLoaderImpl.o ImageLoaderFactory.o \
48                Util.o \
49                R2string.o R2FilePath.o R2Fonts.o R2Object.o R2Geometry.o R2IndexBuffer.o R2VertexBuffer.o
50
51all: nanovis
52
53install: nanovis
54        $(INSTALL_PROGRAM) nanovis $(bindir)/nanovis
55        $(INSTALL_PROGRAM) @RP_DIR@/bin/voronoi $(bindir)/voronoi
56        $(INSTALL_PROGRAM) -d $(libdir)/resources $(libdir)/shaders
57        $(INSTALL_DATA) resources/* $(libdir)/resources
58        $(INSTALL_DATA) shaders/* $(libdir)/shaders
59        $(INSTALL_DATA) @RP_DIR@/lib/librappture2.so $(libdir)/librappture2.so
60        $(INSTALL_DATA) @RP_DIR@/lib/libz.so $(libdir)/libz.so
61        $(INSTALL_DATA) @RP_DIR@/lib/libb64.so $(libdir)/libb64.so
62
63clean:
64        rm -f *.o nanovis client
65
66distclean: clean
67        rm Makefile
68
69nanovis: $(OBJS)
70        $(CC) -g -o $@ $^ $(LIB_NANOVIS)
71
72client: Socket.o ClientSocket.o RenderClient.o Event.o
73        $(CC) -g -o $(LIB_NANOVIS) $@ $^
74
75.cpp.o:
76        $(CC) $(CFLAGS) -o $@ -c $<
77
78Nv.o: Nv.cpp NvShader.cpp
79        $(CC) $(CFLAGS) -c $^
80
81ColorGradient.o: transfer-function/ColorGradient.cpp
82        $(CC) $(CFLAGS) -o $@ -c $<
83ColorPaletteWindow.o: transfer-function/ColorPaletteWindow.cpp
84        $(CC) $(CFLAGS) -o $@ -c $<
85ColorGradientGLUTWindow.o: transfer-function/ColorGradientGLUTWindow.cpp
86        $(CC) $(CFLAGS) -o $@ -c $<
87ControlPoint.o: transfer-function/ControlPoint.cpp
88        $(CC) $(CFLAGS) -o $@ -c $<
89TransferFunctionGLUTWindow.o: transfer-function/TransferFunctionGLUTWindow.cpp
90        $(CC) $(CFLAGS) -o $@ -c $<
91MainWindow.o: transfer-function/MainWindow.cpp
92        $(CC) $(CFLAGS) -o $@ -c $<
93Socket.o: socket/Socket.cpp socket/Socket.h
94        $(CC) $(CFLAGS) -o $@ -c $<
95ClientSocket.o: socket/ClientSocket.cpp socket/ClientSocket.h
96        $(CC) $(CFLAGS) -o $@ -c $<
97RenderClient.o: socket/RenderClient.cpp socket/RenderClient.h
98        $(CC) $(CFLAGS) -o $@ -c $<
99R2string.o: R2/src/R2string.cpp $(R2INC)/R2/R2string.h
100        $(CC) $(CFLAGS) -o $@ -c $<
101R2FilePath.o: R2/src/R2FilePath.cpp $(R2INC)/R2/R2FilePath.h
102        $(CC) $(CFLAGS) -o $@ -c $<
103R2Fonts.o: R2/src/R2Fonts.cpp $(R2INC)/R2/R2Fonts.h
104        $(CC) $(CFLAGS) -o $@ -c $<
105R2Object.o: R2/src/R2Object.cpp $(R2INC)/R2/R2Object.h
106        $(CC) $(CFLAGS) -o $@ -c $<
107R2Geometry.o: R2/src/R2Geometry.cpp $(R2INC)/R2/graphics/R2Geometry.h
108        $(CC) $(CFLAGS) -o $@ -c $<
109R2VertexBuffer.o: R2/src/R2VertexBuffer.cpp $(R2INC)/R2/graphics/R2VertexBuffer.h
110        $(CC) $(CFLAGS) -o $@ -c $<
111R2IndexBuffer.o: R2/src/R2IndexBuffer.cpp $(R2INC)/R2/graphics/R2IndexBuffer.h
112        $(CC) $(CFLAGS) -o $@ -c $<
113
114NvStdVertexShader.o: NvStdVertexShader.cpp NvStdVertexShader.h
115ContourLineFilter.o: ContourLineFilter.cpp ContourLineFilter.h
116HeightMap.o: HeightMap.cpp HeightMap.h
117Grid.o: Grid.cpp Grid.h
118NvLoadFile.o: NvLoadFile.cpp NvLoadFile.h
119NvParticleAdvectionShader.o: NvParticleAdvectionShader.cpp NvParticleAdvectionShader.h
120NvParticleRenderer.o: NvParticleRenderer.cpp NvParticleRenderer.h
121NvColorTableShader.o: NvColorTableShader.cpp NvColorTableShader.h
122NvLIC.o: NvLIC.cpp NvLIC.h
123NvColorTableRenderer.o: NvColorTableRenderer.cpp NvColorTableRenderer.h
124NvEventLog.o: NvEventLog.cpp NvEventLog.h
125NvShader.o: NvShader.cpp NvShader.h
126NvVolumeShader.o: NvVolumeShader.cpp NvVolumeShader.h
127NvDefaultTFData.o: NvDefaultTFData.cpp
128NvRegularVolumeShader.o: NvRegularVolumeShader.cpp NvRegularVolumeShader.h
129NvZincBlendeVolumeShader.o: NvZincBlendeVolumeShader.cpp NvZincBlendeVolumeShader.h
130RenderVertexArray.o: RenderVertexArray.cpp RenderVertexArray.h
131Color.o: Color.cpp Color.h
132Event.o: Event.cpp Event.h
133Sphere.o: Sphere.cpp Sphere.h
134TransferFunction.o: TransferFunction.cpp
135Texture1D.o: Texture1D.cpp Texture1D.h
136Texture2D.o: Texture2D.cpp Texture2D.h $(AUXSRC)
137Texture3D.o: Texture3D.cpp Texture3D.h $(AUXSRC)
138ParticleSystem.o: ParticleSystem.cpp $(AUXSRC)
139Renderable.o: Renderable.cpp Renderable.h
140Camera.o: Camera.cpp Camera.h
141ScreenSnapper.o: ScreenSnapper.cpp ScreenSnapper.h define.h
142Lic.o: Lic.cpp Lic.h $(AUXSRC)
143Volume.o: Volume.cpp Volume.h $(AUXSRC)
144ZincBlendeVolume.o: ZincBlendeVolume.cpp ZincBlendeVolume.h $(AUXSRC)
145VolumeRenderer.o: VolumeRenderer.cpp VolumeRenderer.h
146PlaneRenderer.o: PlaneRenderer.cpp PlaneRenderer.h
147Mat4x4.o: Mat4x4.cpp Mat4x4.h
148Vector4.o: Vector4.cpp Vector4.h
149Vector3.o: Vector3.cpp Vector3.h
150Plane.o: Plane.cpp Plane.h
151ConvexPolygon.o: ConvexPolygon.cpp ConvexPolygon.h
152PerfQuery.o: PerfQuery.cpp PerfQuery.h
153PointShader.o: PointShader.cpp PointShader.h
154PCASplit.o: PCASplit.cpp PCASplit.h
155BucketSort.o: BucketSort.cpp BucketSort.h
156PointSetRenderer.o: PointSetRenderer.cpp PointSetRenderer.h
157PointSet.o: PointSet.cpp PointSet.h
158bandmat.o: newmat11/bandmat.cpp
159        $(CC) $(CFLAGS) -o $@ -c $<
160cholesky.o: newmat11/cholesky.cpp
161        $(CC) $(CFLAGS) -o $@ -c $<
162evalue.o: newmat11/evalue.cpp
163        $(CC) $(CFLAGS) -o $@ -c $<
164fft.o: newmat11/fft.cpp
165        $(CC) $(CFLAGS) -o $@ -c $<
166hholder.o: newmat11/hholder.cpp
167        $(CC) $(CFLAGS) -o $@ -c $<
168jacobi.o: newmat11/jacobi.cpp
169        $(CC) $(CFLAGS) -o $@ -c $<
170myexcept.o: newmat11/myexcept.cpp
171        $(CC) $(CFLAGS) -o $@ -c $<
172newfft.o: newmat11/newfft.cpp
173        $(CC) $(CFLAGS) -o $@ -c $<
174newmat1.o: newmat11/newmat1.cpp
175        $(CC) $(CFLAGS) -o $@ -c $<
176newmat2.o: newmat11/newmat2.cpp
177        $(CC) $(CFLAGS) -o $@ -c $<
178newmat3.o: newmat11/newmat3.cpp
179        $(CC) $(CFLAGS) -o $@ -c $<
180newmat4.o: newmat11/newmat4.cpp
181        $(CC) $(CFLAGS) -o $@ -c $<
182newmat5.o: newmat11/newmat5.cpp
183        $(CC) $(CFLAGS) -o $@ -c $<
184newmat6.o: newmat11/newmat6.cpp
185        $(CC) $(CFLAGS) -o $@ -c $<
186newmat7.o: newmat11/newmat7.cpp
187        $(CC) $(CFLAGS) -o $@ -c $<
188newmat8.o: newmat11/newmat8.cpp
189        $(CC) $(CFLAGS) -o $@ -c $<
190newmat9.o: newmat11/newmat9.cpp
191        $(CC) $(CFLAGS) -o $@ -c $<
192newmatex.o: newmat11/newmatex.cpp
193        $(CC) $(CFLAGS) -o $@ -c $<
194newmatnl.o: newmat11/newmatnl.cpp
195        $(CC) $(CFLAGS) -o $@ -c $<
196newmatrm.o: newmat11/newmatrm.cpp
197        $(CC) $(CFLAGS) -o $@ -c $<
198nm_misc.o: newmat11/nm_misc.cpp
199        $(CC) $(CFLAGS) -o $@ -c $<
200solution.o: newmat11/solution.cpp
201        $(CC) $(CFLAGS) -o $@ -c $<
202sort.o: newmat11/sort.cpp
203        $(CC) $(CFLAGS) -o $@ -c $<
204svd.o: newmat11/svd.cpp
205        $(CC) $(CFLAGS) -o $@ -c $<
206submat.o: newmat11/submat.cpp
207        $(CC) $(CFLAGS) -o $@ -c $<
208
209Image.o: imgLoaders/Image.cpp
210        $(CC) $(CFLAGS) -o $@ -c $<
211ImageLoader.o: imgLoaders/ImageLoader.cpp
212        $(CC) $(CFLAGS) -o $@ -c $<
213ImageLoaderImpl.o: imgLoaders/ImageLoaderImpl.cpp
214        $(CC) $(CFLAGS) -o $@ -c $<
215BMPImageLoaderImpl.o: imgLoaders/BMPImageLoaderImpl.cpp
216        $(CC) $(CFLAGS) -o $@ -c $<
217ImageLoaderFactory.o: imgLoaders/ImageLoaderFactory.cpp
218        $(CC) $(CFLAGS) -o $@ -c $<
219
220Util.o: Util.cpp Util.h
221
222nanovis.o: nanovis.cpp nanovis.h $(AUXSRC)
Note: See TracBrowser for help on using the repository browser.