Commit 44b3412a authored by Ken Martin's avatar Ken Martin

new vtk format

parent eb628944

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

.git* export-ignore
install-sh crlf=input
#
# Config.mk --
#
# READ THIS FIRST: FILE PATH SPECIFICATION RULES.
#------------------------------------------------------------------------------
# All paths to files outside of the distribution MUST be fully specified
# paths (starting with /), e.g. /usr/local/lib/libtcl.a
#
# Fully specified paths to the Tcl and Tk librarys (libtcl.a/libtk.a)
# and the Tcl/Tk include files. You must edit these lines to point
# to the correct locations for your tcl/tk installations
TCL_INCLUDE=/common/software/tcl7.5/include
TCL_LIB=/common/software/tcl7.5/sun4/5.4/lib/libtcl7.5.a
TK_INCLUDE=/common/software/tk4.1/include
TK_LIB=/common/software/tk4.1/sun4/5.4/lib/libtk4.1.a
MESA_INCLUDE=/home/martink/storage/Mesa-1.2.6/include
MESA_LIB=/home/martink/storage/Mesa-1.2.6/lib/libMesaGL.a
#------------------------------------------------------------------------------
# C compiler and debug/optimization/profiling flag to use. Set by configure,
# and are normally overridden on the make command line (make CFLAGS=-g).
# They can also be overridden here.
#
# WARNING - if you specify -g the executables and libraries can get pretty
# big. You better really want that debug info.
#
# To change what compiler is used you should do something like
# setenv CC /my/compiler/cc
# setenv CXX /my/compiler/c++
#
# Then run the configure script. If you are not using a csh syntax then try
# set CC=/my/compiler/cc
# export CC
# set CXX=/my/compiler/c++
# export CXX
# instead.
AR = ar
CFLAGS=-O
CXXFLAGS=-O
#
# Makefile for Visualization Toolkit sources.
#
#------------------------------------------------------------------------------
#
SHELL = /bin/sh
.SUFFIXES: .cxx
#------------------------------------------------------------------------------
CXX_FLAGS = ${CPPFLAGS} ${VTK_SHLIB_CFLAGS} ${XCFLAGS} ${CXXFLAGS} \
${VTK_INLINE_FLAGS} ${VTK_TEMPLATE_FLAGS} -I${srcdir} \
${XGLR_FLAGS} ${OGLR_FLAGS} ${SBR_FLAGS} ${GLR_FLAGS} \
-I${srcdir}/../core -I${TK_INCLUDE} -I${TCL_INCLUDE} \
-D_HP_NO_FAST_MACROS ${HAVE_SETMON} ${WORDS_BIGENDIAN}
all: ${VTK_LIB_FILE} ${BUILD_TCL}
.cxx.o:
${CXX} ${CXX_FLAGS} -c $< -o $@
#------------------------------------------------------------------------------
# rules for the normal library
#
libVTK${ME}.a: ${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
${AR} cr libVTK${ME}.a ${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
${RANLIB} libVTK$(ME).a
libVTK$(ME)$(SHLIB_SUFFIX)$(SHLIB_VERSION): ${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
rm -f libVTK$(ME)$(SHLIB_SUFFIX)$(SHLIB_VERSION)
$(SHLIB_LD) -o libVTK$(ME)$(SHLIB_SUFFIX)$(SHLIB_VERSION) \
${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ} ${SHLIB_LD_LIBS}
#------------------------------------------------------------------------------
# rules for the tcl library
#
build_tcl: ${TCL_LIB_FILE}
tcl/${ME}Init.cxx: ../tcl/kit_init ${TCL_NEWS}
../tcl/kit_init VTK${ME}Tcl ${TCL_NEWS} > tcl/${ME}Init.cxx
libVTK${ME}Tcl.a: tcl/${ME}Init.o ${KIT_LIBS} ${SRC_OBJ} ${TCL_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
${AR} cr libVTK${ME}Tcl.a tcl/${ME}Init.o ${KIT_LIBS} ${TCL_OBJ} ${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
${RANLIB} libVTK$(ME)Tcl.a
libVTK$(ME)Tcl$(SHLIB_SUFFIX)$(SHLIB_VERSION): tcl/${ME}Init.o ${KIT_LIBS} ${TCL_OBJ} $(SRC_OBJ) ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ}
rm -f libVTK$(ME)Tcl$(SHLIB_SUFFIX)$(SHLIB_VERSION)
$(SHLIB_LD) -o libVTK$(ME)Tcl$(SHLIB_SUFFIX)$(SHLIB_VERSION) \
tcl/${ME}Init.o ${KIT_LIBS} ${TCL_OBJ} ${SRC_OBJ} ${SBR_OBJ} ${XGLR_OBJ} ${OGLR_OBJ} ${GLR_OBJ} ${SHLIB_LD_LIBS}
#------------------------------------------------------------------------------
depend:
$(CXX) -MM $(CPPFLAGS) $(CXX_FLAGS) $(srcdir)/*.cxx > depend.make
#------------------------------------------------------------------------------
clean: ${CLEAN_TCL}
-rm -f *.o *.a *.so *.sl *~ *.make Makefile
clean_tcl:
-cd tcl; rm -f *
#
# Makefile --
#
# Top-level makefile for the Visualization Toolkit
#
#------------------------------------------------------------------------------
#
SHELL=/bin/sh
#------------------------------------------------------------------------------
# Autoconfig defines that can be overridden in Config.mk
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
BUILD_TCL = @BUILD_TCL@
CLEAN_TCL = @CLEAN_TCL@
BUILD_VIS = @BUILD_VIS@
CLEAN_VIS = @CLEAN_VIS@
#------------------------------------------------------------------------------
# Include user-editable defines.
@MAKEINCLUDE@ @MAKEQUOTE@Config.mk@MAKEQUOTE@
#------------------------------------------------------------------------------
all: ${BUILD_TCL} build_core ${BUILD_VIS} ${BUILD_TCL}${BUILD_TCL}
build_core:
cd core; ${MAKE} -${MAKEFLAGS} all
build_vis:
cd vis; ${MAKE} -${MAKEFLAGS} all
build_tcl:
cd tcl; ${MAKE} -${MAKEFLAGS} all
# tcl part2
build_tclbuild_tcl:
cd tcl; ${MAKE} -${MAKEFLAGS} vtk
#------------------------------------------------------------------------------
# Clean up all files that were built by make.
clean: ${CLEAN_TCL} ${CLEAN_VIS}
cd core; ${MAKE} -${MAKEFLAGS} clean
rm -f config.cache
clean_tcl:
cd tcl; ${MAKE} -${MAKEFLAGS} clean
clean_vis:
cd vis; ${MAKE} -${MAKEFLAGS} clean
OGLR_LIBS = ${MESA_LIB}
OGLR_FLAGS = -I${MESA_INCLUDE} -DUSE_OGLR
OGLR_OBJ = \
vtkOglrActor.o \
vtkOglrCamera.o \
vtkOglrLight.o \
vtkOglrPolyMapper.o \
vtkOglrProperty.o \
vtkOglrRenderWindow.o \
vtkOglrRenderer.o \
vtkOglrTexture.o
TCL_OGLR_OBJ = \
tclvtkOglrActor.hh.o \
tclvtkOglrCamera.hh.o \
tclvtkOglrLight.hh.o \
tclvtkOglrPolyMapper.hh.o \
tclvtkOglrProperty.hh.o \
tclvtkOglrRenderWindow.hh.o \
tclvtkOglrRenderer.hh.o \
tclvtkOglrTexture.hh.o \
tclGNewOglr.o
GLR_LIBS = -lgl
GLR_FLAGS = -DUSE_GLR
GLR_OBJ = \
vtkGlrActor.o \
vtkGlrCamera.o \
vtkGlrLight.o \
vtkGlrPolyMapper.o \
vtkGlrProperty.o \
vtkGlrRenderWindow.o \
vtkGlrRenderer.o \
vtkGlrTexture.o
TCL_GLR_OBJ = \
tclvtkGlrActor.hh.o \
tclvtkGlrCamera.hh.o \
tclvtkGlrLight.hh.o \
tclvtkGlrPolyMapper.hh.o \
tclvtkGlrProperty.hh.o \
tclvtkGlrRenderWindow.hh.o \
tclvtkGlrRenderer.hh.o \
tclvtkGlrTexture.hh.o \
tclGNewGlr.o
OGLR_LIBS = -lGL
OGLR_FLAGS = -DUSE_OGLR
OGLR_OBJ = \
vtkOglrActor.o \
vtkOglrCamera.o \
vtkOglrLight.o \
vtkOglrPolyMapper.o \
vtkOglrProperty.o \
vtkOglrRenderWindow.o \
vtkOglrRenderer.o \
vtkOglrTexture.o
TCL_OGLR_OBJ = \
tclvtkOglrActor.hh.o \
tclvtkOglrCamera.hh.o \
tclvtkOglrLight.hh.o \
tclvtkOglrPolyMapper.hh.o \
tclvtkOglrProperty.hh.o \
tclvtkOglrRenderWindow.hh.o \
tclvtkOglrRenderer.hh.o \
tclvtkOglrTexture.hh.o \
tclGNewOglr.o
SBR_LIBS = -ldld -lXwindow -lsb -lXhp11
SBR_FLAGS = -DUSE_SBR
SBR_OBJ = \
vtkSbrActor.o \
vtkSbrCamera.o \
vtkSbrLight.o \
vtkSbrPolyMapper.o \
vtkSbrProperty.o \
vtkSbrRenderWindow.o \
vtkSbrRenderer.o \
vtkSbrTexture.o
TCL_SBR_OBJ = \
tclvtkSbrActor.hh.o \
tclvtkSbrCamera.hh.o \
tclvtkSbrLight.hh.o \
tclvtkSbrPolyMapper.hh.o \
tclvtkSbrProperty.hh.o \
tclvtkSbrRenderWindow.hh.o \
tclvtkSbrRenderer.hh.o \
tclvtkSbrTexture.hh.o \
tclGNewSbr.o
XGLR_LIBS = -L${XGL_HOME}/lib -lxgl
XGLR_FLAGS = -I${XGL_HOME}/include -DUSE_XGLR
XGLR_OBJ = \
vtkXglrActor.o \
vtkXglrCamera.o \