#
# vtk library makefile
#
# NOTE !!! when adding a class, it must be added in one location.
# Place it in the correct list based on whether it is only a .h file
# and whether it is abstract or concrete.
#
ME = Graphics

srcdir        = @srcdir@
VPATH         = @srcdir@

SBR_OBJ = \
vtkStarbaseActor \
vtkStarbaseCamera \
vtkStarbaseLight \
vtkStarbasePolyDataMapper \
vtkStarbaseProperty \
vtkStarbaseRenderWindow \
vtkStarbaseRenderer \
vtkStarbaseTexture 

GLR_OBJ = \
vtkGLActor \
vtkGLCamera \
vtkGLLight \
vtkGLPolyDataMapper \
vtkGLProperty \
vtkGLRenderWindow \
vtkGLRenderer \
vtkGLTexture 

OGLR_OBJ = \
vtkOpenGLActor \
vtkOpenGLCamera \
vtkOpenGLLight \
vtkOpenGLPolyDataMapper \
vtkOpenGLProjectedPolyDataRayBounder \
vtkOpenGLProperty \
vtkOpenGLRenderWindow \
vtkOpenGLRenderer \
vtkOpenGLTexture 

XGLR_OBJ = \
vtkXGLActor \
vtkXGLCamera \
vtkXGLLight \
vtkXGLPolyDataMapper \
vtkXGLProperty \
vtkXGLRenderWindow \
vtkXGLRenderer \
vtkXGLTexture 

ABSTRACT_H = \
vtkRayBounder 

CONCRETE_H = \
vtkActorCollection \
vtkAssemblyPaths \
vtkDataSetCollection \
vtkPolyDataCollection \
vtkRenderWindowCollection \
vtkStructuredPointsCollection \
vtkVolumeCollection

ABSTRACT = \
vtkExporter \
vtkImporter \
vtkMapper \
vtkProp \
vtkSpline \
vtkVolumeMapper \
vtkVolumeRayCastFunction \
vtkVolumeReader \
vtkWriter \
vtkXRenderWindow 

# put all concrete classes here
CONCRETE = \
vtk3DSImporter \
vtkActor \
vtkAppendFilter \
vtkAppendPolyData \
vtkAssembly \
vtkAxes \
vtkBYUReader \
vtkBYUWriter \
vtkBooleanTexture \
vtkBrownianPoints \
vtkCamera \
vtkCardinalSpline \
vtkCastToConcrete \
vtkCellDataToPointData \
vtkCellLocator \
vtkCellPicker \
vtkCleanPolyData \
vtkClipPolyData \
vtkClipVolume \
vtkColorTransferFunction \
vtkCone \
vtkConeSource \
vtkConnectivityFilter \
vtkContourFilter \
vtkCubeSource \
vtkCursor3D \
vtkCutter \
vtkCyberReader \
vtkCylinder \
vtkCylinderSource \
vtkDashedStreamLine \
vtkDataReader \
vtkDataWriter \
vtkDataSetFilter \
vtkDataSetMapper \
vtkDataSetReader \
vtkDataSetToDataSetFilter \
vtkDataSetToPolyDataFilter \
vtkDataSetToStructuredGridFilter \
vtkDataSetToStructuredPointsFilter \
vtkDataSetToUnstructuredGridFilter \
vtkDataSetWriter \
vtkDecimatePro \
vtkDelaunay2D \
vtkDelaunay3D \
vtkDicer \
vtkDiskSource \
vtkEdgePoints \
vtkElevationFilter \
vtkExtractEdges \
vtkExtractGeometry \
vtkExtractGrid \
vtkExtractTensorComponents \
vtkExtractUnstructuredGrid \
vtkExtractVOI \
vtkExtractVectorComponents \
vtkFeatureEdges \
vtkFeatureVertices \
vtkFieldDataFilter \
vtkFieldDataReader \
vtkFieldDataSource \
vtkFieldDataToDataSet \
vtkFieldDataWriter \
vtkFilter \
vtkFollower \
vtkGaussianSplatter \
vtkGeometryFilter \
vtkGlyph3D \
vtkHedgeHog \
vtkHyperStreamline \
vtkImplicitBoolean \
vtkImplicitDataSet \
vtkImplicitModeller \
vtkImplicitTextureCoords \
vtkImplicitVolume \
vtkImplicitWindowFunction \
vtkIVExporter \
vtkKochanekSpline \
vtkLODActor \
vtkLight \
vtkLightCollection \
vtkLineSource \
vtkLinearExtrusionFilter \
vtkLinkEdgels \
vtkMCubesReader \
vtkMCubesWriter \
vtkMaskPoints \
vtkMaskPolyData \
vtkMergeFilter \
vtkMergePoints \
vtkNormalEncoder \
vtkOBBTree \
vtkOBJExporter \
vtkOutlineFilter \
vtkOutlineSource \
vtkPLOT3DReader \
vtkPicker \
vtkPiecewiseFunction \
vtkPlaneSource \
vtkPlanes \
vtkPointDataToCellData \
vtkPointLoad \
vtkPointPicker \
vtkPointSetFilter \
vtkPointSetToPointSetFilter \
vtkPointSource \
vtkPolyDataConnectivityFilter \
vtkPolyDataFilter \
vtkPolyDataMapper \
vtkPolyDataNormals \
vtkPolyDataReader \
vtkPolyDataSource \
vtkPolyDataToPolyDataFilter \
vtkPolyDataWriter \
vtkProbeFilter \
vtkProgrammableAttributeDataFilter \
vtkProgrammableFilter \
vtkProgrammableSource \
vtkProjectedPolyDataRayBounder \
vtkProperty \
vtkQuadric \
vtkRayCaster \
vtkRectilinearGridFilter \
vtkRectilinearGridGeometryFilter \
vtkRectilinearGridReader \
vtkRectilinearGridSource \
vtkRectilinearGridToPolyDataFilter \
vtkRectilinearGridWriter \
vtkRecursiveDividingCubes \
vtkRenderWindow \
vtkRenderWindowInteractor \
vtkRenderer \
vtkRendererCollection \
vtkRendererSource \
vtkReverseSense \
vtkRibbonFilter \
vtkRotationalExtrusionFilter \
vtkSLCReader \
vtkSTLReader \
vtkSTLWriter \
vtkSampleFunction \
vtkScalarTree \
vtkShepardMethod \
vtkShrinkFilter \
vtkShrinkPolyData \
vtkSmoothPolyDataFilter \
vtkSpatialRepresentationFilter \
vtkSphere \
vtkSphereSource \
vtkStreamLine \
vtkStreamPoints \
vtkStreamer \
vtkStripper \
vtkStructuredGridFilter \
vtkStructuredGridGeometryFilter \
vtkStructuredGridOutlineFilter \
vtkStructuredGridReader \
vtkStructuredGridSource \
vtkStructuredGridToPolyDataFilter \
vtkStructuredGridToStructuredGridFilter \
vtkStructuredGridWriter \
vtkStructuredPointsFilter \
vtkStructuredPointsGeometryFilter \
vtkStructuredPointsReader \
vtkStructuredPointsToPolyDataFilter \
vtkStructuredPointsToStructuredPointsFilter \
vtkStructuredPointsToUnstructuredGridFilter \
vtkStructuredPointsWriter \
vtkSubPixelPositionEdgels \
vtkTensorGlyph \
vtkTextSource \
vtkTexture \
vtkTextureMapToBox \
vtkTextureMapToCylinder \
vtkTextureMapToPlane \
vtkTextureMapToSphere \
vtkTexturedSphereSource \
vtkThreshold \
vtkThresholdPoints \
vtkThresholdTextureCoords \
vtkTransformFilter \
vtkTransformPolyDataFilter \
vtkTransformTextureCoords \
vtkTriangleFilter \
vtkTriangularTexture \
vtkTriangularTCoords \
vtkTubeFilter \
vtkUGFacetReader \
vtkUnstructuredGridFilter \
vtkUnstructuredGridReader \
vtkUnstructuredGridSource \
vtkUnstructuredGridWriter \
vtkVRMLExporter \
vtkVectorDot \
vtkVectorNorm \
vtkVectorText \
vtkVectorTopology \
vtkViewRays \
vtkVolume \
vtkVolumeProperty \
vtkVolumeRayCastCompositeFunction \
vtkVolumeRayCastIsosurfaceFunction \
vtkVolumeRayCastMapper \
vtkVolumeRayCastMIPFunction \
vtkVolume16Reader \
vtkVoxelModeller \
vtkWarpLens \
vtkWarpScalar \
vtkWarpTo \
vtkWindowedSincPolyDataFilter \
vtkWorldPointPicker \
vtkWarpVector  ${GRAPHICS_API_OBJ}


# The following is all boiler plate 
#------------------------------------------------------------------------------
# Autoconfig defines that can be overridden in user.make

@MAKEINCLUDE@ @MAKEQUOTE@../system.make@MAKEQUOTE@

#------------------------------------------------------------------------------
# Include user-editable defines.

@MAKEINCLUDE@ @MAKEQUOTE@../user.make@MAKEQUOTE@

#------------------------------------------------------------------------------
# Include the generated targets

@MAKEINCLUDE@ @MAKEQUOTE@targets.make@MAKEQUOTE@


VTK_LIB_FILE  = libVTK${ME}${VTK_LIB_EXT}
TCL_LIB_FILE  = libVTK${ME}Tcl${VTK_LIB_EXT}

# add in any extra libraies here
KIT_LIBS = @TKWIDGET@ 

#JAVA_O_ADD = vtkJavaPanel.o 
JAVA_CODE_ADD = ../java/vtk/vtkPanel.class

java/vtk_vtkPanel.h: ../java/vtk/vtkPanel.java
	rm -f java/vtk_vtkPanel.h; ${JAVAH} -d java vtk.vtkPanel

java/vtk_vtkPanel.c: ../java/vtk/vtkPanel.java
	rm -f java/vtk_vtkPanel.c; ${JAVAH} -stubs -d java vtk.vtkPanel

vtkJavaPanel.o: java/vtk_vtkPanel.h java/vtk_vtkPanel.c

# standard stuff here
KIT_OBJ = vtkXRenderWindowInteractor.o ${SRC_OBJ} 

KIT_TCL_OBJ = vtkXRenderTclWindowInteractor.o ${TCL_OBJ} ${SRC_OBJ} 

KIT_NEWS = ${TCL_NEWS} 

KIT_FLAGS = 
PYTHON_LIBS = -L ../common -lVTKCommonPython ${XLIBS} ${GRAPHICS_API_LIBS} 

# add depend for contour filter on Makefile because when patented
# setting changes this needs to be recompiled
vtkContourFilter.o : Makefile

 
#------------------------------------------------------------------------------
# Include the generic stuff here

@MAKEINCLUDE@ @MAKEQUOTE@@srcdir@/../Kits.make@MAKEQUOTE@

