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

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

Add PointSet?.o

File size: 8.0 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                R2string.o R2FilePath.o R2Fonts.o R2Object.o R2Geometry.o R2IndexBuffer.o R2VertexBuffer.o
49
50all: nanovis
51
52install: nanovis
53        $(INSTALL_PROGRAM) nanovis $(bindir)/nanovis
54        $(INSTALL_PROGRAM) @RP_DIR@/bin/voronoi $(bindir)/voronoi
55        $(INSTALL_PROGRAM) -d $(libdir)/resources $(libdir)/shaders
56        $(INSTALL_DATA) resources/* $(libdir)/resources
57        $(INSTALL_DATA) shaders/* $(libdir)/shaders
58        $(INSTALL_DATA) @RP_DIR@/lib/librappture2.so $(libdir)/librappture2.so
59        $(INSTALL_DATA) @RP_DIR@/lib/libz.so $(libdir)/libz.so
60        $(INSTALL_DATA) @RP_DIR@/lib/libb64.so $(libdir)/libb64.so
61
62clean:
63        rm -f *.o nanovis client
64
65distclean: clean
66        rm Makefile
67
68nanovis: $(OBJS)
69        $(CC) -g -o $@ $^ $(LIB_NANOVIS)
70
71client: Socket.o ClientSocket.o RenderClient.o Event.o
72        $(CC) -g -o $(LIB_NANOVIS) $@ $^
73
74.cpp.o:
75        $(CC) $(CFLAGS) -o $@ -c $<
76
77Nv.o: Nv.cpp NvShader.cpp
78        $(CC) $(CFLAGS) -c $^
79
80ColorGradient.o: transfer-function/ColorGradient.cpp
81        $(CC) $(CFLAGS) -o $@ -c $<
82ColorPaletteWindow.o: transfer-function/ColorPaletteWindow.cpp
83        $(CC) $(CFLAGS) -o $@ -c $<
84ColorGradientGLUTWindow.o: transfer-function/ColorGradientGLUTWindow.cpp
85        $(CC) $(CFLAGS) -o $@ -c $<
86ControlPoint.o: transfer-function/ControlPoint.cpp
87        $(CC) $(CFLAGS) -o $@ -c $<
88TransferFunctionGLUTWindow.o: transfer-function/TransferFunctionGLUTWindow.cpp
89        $(CC) $(CFLAGS) -o $@ -c $<
90MainWindow.o: transfer-function/MainWindow.cpp
91        $(CC) $(CFLAGS) -o $@ -c $<
92Socket.o: socket/Socket.cpp socket/Socket.h
93        $(CC) $(CFLAGS) -o $@ -c $<
94ClientSocket.o: socket/ClientSocket.cpp socket/ClientSocket.h
95        $(CC) $(CFLAGS) -o $@ -c $<
96RenderClient.o: socket/RenderClient.cpp socket/RenderClient.h
97        $(CC) $(CFLAGS) -o $@ -c $<
98R2string.o: R2/src/R2string.cpp $(R2INC)/R2/R2string.h
99        $(CC) $(CFLAGS) -o $@ -c $<
100R2FilePath.o: R2/src/R2FilePath.cpp $(R2INC)/R2/R2FilePath.h
101        $(CC) $(CFLAGS) -o $@ -c $<
102R2Fonts.o: R2/src/R2Fonts.cpp $(R2INC)/R2/R2Fonts.h
103        $(CC) $(CFLAGS) -o $@ -c $<
104R2Object.o: R2/src/R2Object.cpp $(R2INC)/R2/R2Object.h
105        $(CC) $(CFLAGS) -o $@ -c $<
106R2Geometry.o: R2/src/R2Geometry.cpp $(R2INC)/R2/graphics/R2Geometry.h
107        $(CC) $(CFLAGS) -o $@ -c $<
108R2VertexBuffer.o: R2/src/R2VertexBuffer.cpp $(R2INC)/R2/graphics/R2VertexBuffer.h
109        $(CC) $(CFLAGS) -o $@ -c $<
110R2IndexBuffer.o: R2/src/R2IndexBuffer.cpp $(R2INC)/R2/graphics/R2IndexBuffer.h
111        $(CC) $(CFLAGS) -o $@ -c $<
112
113NvStdVertexShader.o: NvStdVertexShader.cpp NvStdVertexShader.h
114ContourLineFilter.o: ContourLineFilter.cpp ContourLineFilter.h
115HeightMap.o: HeightMap.cpp HeightMap.h
116Grid.o: Grid.cpp Grid.h
117NvLoadFile.o: NvLoadFile.cpp NvLoadFile.h
118NvParticleAdvectionShader.o: NvParticleAdvectionShader.cpp NvParticleAdvectionShader.h
119NvParticleRenderer.o: NvParticleRenderer.cpp NvParticleRenderer.h
120NvColorTableShader.o: NvColorTableShader.cpp NvColorTableShader.h
121NvLIC.o: NvLIC.cpp NvLIC.h
122NvColorTableRenderer.o: NvColorTableRenderer.cpp NvColorTableRenderer.h
123NvEventLog.o: NvEventLog.cpp NvEventLog.h
124NvShader.o: NvShader.cpp NvShader.h
125NvVolumeShader.o: NvVolumeShader.cpp NvVolumeShader.h
126NvDefaultTFData.o: NvDefaultTFData.cpp
127NvRegularVolumeShader.o: NvRegularVolumeShader.cpp NvRegularVolumeShader.h
128NvZincBlendeVolumeShader.o: NvZincBlendeVolumeShader.cpp NvZincBlendeVolumeShader.h
129RenderVertexArray.o: RenderVertexArray.cpp RenderVertexArray.h
130Color.o: Color.cpp Color.h
131Event.o: Event.cpp Event.h
132Sphere.o: Sphere.cpp Sphere.h
133TransferFunction.o: TransferFunction.cpp
134Texture1D.o: Texture1D.cpp Texture1D.h
135Texture2D.o: Texture2D.cpp Texture2D.h $(AUXSRC)
136Texture3D.o: Texture3D.cpp Texture3D.h $(AUXSRC)
137ParticleSystem.o: ParticleSystem.cpp $(AUXSRC)
138Renderable.o: Renderable.cpp Renderable.h
139Camera.o: Camera.cpp Camera.h
140ScreenSnapper.o: ScreenSnapper.cpp ScreenSnapper.h define.h
141Lic.o: Lic.cpp Lic.h $(AUXSRC)
142Volume.o: Volume.cpp Volume.h $(AUXSRC)
143ZincBlendeVolume.o: ZincBlendeVolume.cpp ZincBlendeVolume.h $(AUXSRC)
144VolumeRenderer.o: VolumeRenderer.cpp VolumeRenderer.h
145PlaneRenderer.o: PlaneRenderer.cpp PlaneRenderer.h
146Mat4x4.o: Mat4x4.cpp Mat4x4.h
147Vector4.o: Vector4.cpp Vector4.h
148Vector3.o: Vector3.cpp Vector3.h
149Plane.o: Plane.cpp Plane.h
150ConvexPolygon.o: ConvexPolygon.cpp ConvexPolygon.h
151PerfQuery.o: PerfQuery.cpp PerfQuery.h
152PointShader.o: PointShader.cpp PointShader.h
153PCASplit.o: PCASplit.cpp PCASplit.h
154BucketSort.o: BucketSort.cpp BucketSort.h
155PointSetRenderer.o: PointSetRenderer.cpp PointSetRenderer.h
156PointSet.o: PointSet.cpp PointSet.h
157bandmat.o: newmat11/bandmat.cpp
158        $(CC) $(CFLAGS) -o $@ -c $<
159cholesky.o: newmat11/cholesky.cpp
160        $(CC) $(CFLAGS) -o $@ -c $<
161evalue.o: newmat11/evalue.cpp
162        $(CC) $(CFLAGS) -o $@ -c $<
163fft.o: newmat11/fft.cpp
164        $(CC) $(CFLAGS) -o $@ -c $<
165hholder.o: newmat11/hholder.cpp
166        $(CC) $(CFLAGS) -o $@ -c $<
167jacobi.o: newmat11/jacobi.cpp
168        $(CC) $(CFLAGS) -o $@ -c $<
169myexcept.o: newmat11/myexcept.cpp
170        $(CC) $(CFLAGS) -o $@ -c $<
171newfft.o: newmat11/newfft.cpp
172        $(CC) $(CFLAGS) -o $@ -c $<
173newmat1.o: newmat11/newmat1.cpp
174        $(CC) $(CFLAGS) -o $@ -c $<
175newmat2.o: newmat11/newmat2.cpp
176        $(CC) $(CFLAGS) -o $@ -c $<
177newmat3.o: newmat11/newmat3.cpp
178        $(CC) $(CFLAGS) -o $@ -c $<
179newmat4.o: newmat11/newmat4.cpp
180        $(CC) $(CFLAGS) -o $@ -c $<
181newmat5.o: newmat11/newmat5.cpp
182        $(CC) $(CFLAGS) -o $@ -c $<
183newmat6.o: newmat11/newmat6.cpp
184        $(CC) $(CFLAGS) -o $@ -c $<
185newmat7.o: newmat11/newmat7.cpp
186        $(CC) $(CFLAGS) -o $@ -c $<
187newmat8.o: newmat11/newmat8.cpp
188        $(CC) $(CFLAGS) -o $@ -c $<
189newmat9.o: newmat11/newmat9.cpp
190        $(CC) $(CFLAGS) -o $@ -c $<
191newmatex.o: newmat11/newmatex.cpp
192        $(CC) $(CFLAGS) -o $@ -c $<
193newmatnl.o: newmat11/newmatnl.cpp
194        $(CC) $(CFLAGS) -o $@ -c $<
195newmatrm.o: newmat11/newmatrm.cpp
196        $(CC) $(CFLAGS) -o $@ -c $<
197nm_misc.o: newmat11/nm_misc.cpp
198        $(CC) $(CFLAGS) -o $@ -c $<
199solution.o: newmat11/solution.cpp
200        $(CC) $(CFLAGS) -o $@ -c $<
201sort.o: newmat11/sort.cpp
202        $(CC) $(CFLAGS) -o $@ -c $<
203svd.o: newmat11/svd.cpp
204        $(CC) $(CFLAGS) -o $@ -c $<
205submat.o: newmat11/submat.cpp
206        $(CC) $(CFLAGS) -o $@ -c $<
207
208Image.o: imgLoaders/Image.cpp
209        $(CC) $(CFLAGS) -o $@ -c $<
210ImageLoader.o: imgLoaders/ImageLoader.cpp
211        $(CC) $(CFLAGS) -o $@ -c $<
212ImageLoaderImpl.o: imgLoaders/ImageLoaderImpl.cpp
213        $(CC) $(CFLAGS) -o $@ -c $<
214BMPImageLoaderImpl.o: imgLoaders/BMPImageLoaderImpl.cpp
215        $(CC) $(CFLAGS) -o $@ -c $<
216ImageLoaderFactory.o: imgLoaders/ImageLoaderFactory.cpp
217        $(CC) $(CFLAGS) -o $@ -c $<
218
219nanovis.o: nanovis.cpp nanovis.h $(AUXSRC)
Note: See TracBrowser for help on using the repository browser.