diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 14:56:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-08-29 14:56:51 (GMT) |
commit | d6bdba1096f36268e414f32829e22159e983031a (patch) | |
tree | 0559b5f6482ff3f42a675f6f6a2ea3c1b1594cdb | |
download | CMake-d6bdba1096f36268e414f32829e22159e983031a.zip CMake-d6bdba1096f36268e414f32829e22159e983031a.tar.gz CMake-d6bdba1096f36268e414f32829e22159e983031a.tar.bz2 |
*** empty log message ***
-rw-r--r-- | .gitattributes | 14 | ||||
-rw-r--r-- | CMakeMaster.make.in | 17 | ||||
-rw-r--r-- | CMakeRules.make.in | 51 | ||||
-rw-r--r-- | CMakeVariables.make.in | 109 | ||||
-rw-r--r-- | dummy.in | 5 |
5 files changed, 196 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..878221f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +.gitattributes export-ignore + +bootstrap crlf=input +configure crlf=input +*.[1-9] crlf=input +*.sh crlf=input +*.sh.in crlf=input + +*.bat -crlf +*.dsp -crlf +*.dsptemplate -crlf +*.dsw -crlf +*.sln -crlf +*.vcproj -crlf diff --git a/CMakeMaster.make.in b/CMakeMaster.make.in new file mode 100644 index 0000000..abaebd9 --- /dev/null +++ b/CMakeMaster.make.in @@ -0,0 +1,17 @@ +#------------------------------------------------------------------------------ +# Include generated rules +@MAKEINCLUDE@ @MAKEQUOTE@targets.make@MAKEQUOTE@ + +#------------------------------------------------------------------------------ +# Include all variable settings +@MAKEINCLUDE@ @MAKEQUOTE@@ITK_OBJ@/Code/config/MakeVariables.make@MAKEQUOTE@ + +#------------------------------------------------------------------------------ +# Include user-editable defines. +@MAKEINCLUDE@ @MAKEQUOTE@@ITK_OBJ@/local.make@MAKEQUOTE@ + +#------------------------------------------------------------------------------ +# Include General Build Rules +@MAKEINCLUDE@ @MAKEQUOTE@@ITK_OBJ@/Code/config/MakeRules.make@MAKEQUOTE@ + + diff --git a/CMakeRules.make.in b/CMakeRules.make.in new file mode 100644 index 0000000..19710a4 --- /dev/null +++ b/CMakeRules.make.in @@ -0,0 +1,51 @@ +# set up make suffixes + +.SUFFIXES: .cxx .java .class + +#------------------------------------------------------------------------------ +# rules for building .o files from source files + +.c.o: + ${CC} ${CC_FLAGS} -c $< -o $@ +.cxx.o: + ${CXX} ${CXX_FLAGS} -c $< -o $@ + +# +# Makefile for Visualization Toolkit sources. +# +#------------------------------------------------------------------------------ +# +all: ${OBJ_SUB_DIRS} ${EXECUTABLES} ${SUBDIR_BUILD} ${ITK_LIB_FILE} ${LOCAL_BUILD_TARGETS} + +#------------------------------------------------------------------------------ + +${RULESGEN}: @fullSrcDir@/Code/tools/*.cxx @fullSrcDir@/Code/tools/*.h + cd @ITK_OBJ@/Code/tools; ${MAKE} rulesgen + +depend: ${RULESGEN} + ${RULESGEN} Makefile + + +clean: ${SUBDIR_CLEAN} + rm -f ${SRC_OBJ} ${ITK_EXECUTABLES} + +targets.make: ${RULESGEN} Makefile + ${RULESGEN} Makefile -S${srcdir} -I${srcdir} ${INCLUDE_FLAGS} + +#------------------------------------------------------------------------------ +# rules for the normal library +# +lib${ME}.a: ${SRC_OBJ} ${KIT_OBJ} + ${AR} cr lib${ME}.a ${KIT_OBJ} + ${RANLIB} lib$(ME).a + + +lib$(ME)$(SHLIB_SUFFIX): ${KIT_OBJ} + rm -f lib$(ME)$(SHLIB_SUFFIX) + $(CXX) ${CXX_FLAGS} ${ITK_SHLIB_BUILD_FLAGS} -o \ + lib$(ME)$(SHLIB_SUFFIX) \ + ${KIT_OBJ} ${SHLIB_LD_LIBS} + +install: ${ITK_LIB_FILE} + @echo "Installing ${ITK_LIB_FILE}" + ${INSTALL} -m 755 $(ITK_LIB_FILE) $(LIB_INSTALL_DIR)/$(ITK_LIB_FILE) diff --git a/CMakeVariables.make.in b/CMakeVariables.make.in new file mode 100644 index 0000000..1a310af --- /dev/null +++ b/CMakeVariables.make.in @@ -0,0 +1,109 @@ +topdir = @fullSrcDir@ + +CONFIG_DIR = @ITK_OBJ@ + +SHELL = /bin/sh + +ITK_OBJ = @ITK_OBJ@ + +RANLIB = @RANLIB@ +CC = @CC@ +CFLAGS = @ITK_SHLIB_CFLAGS@ @ANSI_CFLAGS@ + +CXX = @CXX@ +CXXFLAGS = @ITK_SHLIB_CFLAGS@ @EXTRA_GCC_FLAG@ @ITK_TEMPLATE_FLAGS@ + + +USER_CFLAGS = @CFLAGS@ +USER_CXXFLAGS = @CXXFLAGS@ + +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +XLIBS = @X_LIBS@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ +LIB_RUNTIME_DIR = @exec_prefix@/lib + +BUILD_TCL = @BUILD_TCL@ +CLEAN_TCL = @CLEAN_TCL@ +BUILD_JAVA = @BUILD_JAVA@ +CLEAN_JAVA = @CLEAN_JAVA@ +BUILD_PYTHON = @BUILD_PYTHON@ +CLEAN_PYTHON = @CLEAN_PYTHON@ + +USE_GRAPHICS_LIBS = @USE_GRAPHICS_LIBS@ +USE_IMAGING_LIBS = @USE_IMAGING_LIBS@ +USE_PATENTED_LIBS = @USE_PATENTED_LIBS@ +USE_CONTRIB_LIBS = @USE_CONTRIB_LIBS@ +USE_LOCAL_LIBS = @USE_LOCAL_LIBS@ + +USE_GRAPHICS_PYTHON = @USE_GRAPHICS_PYTHON@ +USE_IMAGING_PYTHON = @USE_IMAGING_PYTHON@ +USE_PATENTED_PYTHON = @USE_PATENTED_PYTHON@ +USE_CONTRIB_PYTHON = @USE_CONTRIB_PYTHON@ +USE_LOCAL_PYTHON = @USE_LOCAL_PYTHON@ + +USE_GRAPHICS_JAVA = @USE_GRAPHICS_JAVA@ +USE_IMAGING_JAVA = @USE_IMAGING_JAVA@ +USE_PATENTED_JAVA = @USE_PATENTED_JAVA@ +USE_CONTRIB_JAVA = @USE_CONTRIB_JAVA@ +USE_LOCAL_JAVA = @USE_LOCAL_JAVA@ + +TOOLKIT_DEPENDS = @TOOLKIT_DEPENDS@ + +ITK_TCL_SHLIB_TARGET = @ITK_TCL_SHLIB_TARGET@ +ITK_SHLIB_BUILD_FLAGS = @ITK_SHLIB_BUILD_FLAGS@ +ITK_SHLIB_LINK_FLAGS = @ITK_SHLIB_LINK_FLAGS@ +ITK_LIB_EXT = @ITK_LIB_EXT@ +DL_LIBS = @DL_LIBS@ +SHLIB_LD_LIBS = @SHLIB_LD_LIBS@ +SHLIB_SUFFIX = @SHLIB_SUFFIX@ + +THREAD_LIBS = @THREAD_LIBS@ + +GRAPHICS_API_OBJ = @GRAPHICS_API_OBJ@ +GRAPHICS_API_FLAGS = @GRAPHICS_API_FLAGS@ @X_CFLAGS@ +GRAPHICS_API_LIBS = @GRAPHICS_API_LIBS@ + +CONTROLLER_API_OBJ = @CONTROLLER_API_OBJ@ +CONTROLLER_API_FLAGS = @CONTROLLER_API_FLAGS@ +CONTROLLER_API_LIBS = @CONTROLLER_API_LIBS@ + + + +# install support +# +# The following definition can be set to non-null for special systems +# like AFS with replication. It allows the pathnames used for installation +# to be different than those used for actually reference files at +# run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix +# when installing files. +INSTALL_ROOT = +INSTALL = @INSTALL@ +LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib +BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin + + +# leave this as a place holder for users to add compile flags +LOCAL_CXXFLAGS = +LOCAL_CFLAGS = +LOCAL_BUILD_TARGETS = +LOCAL_LINK_FLAGS = + +# Add the compiler include flags +# right now we include vxl and Common and the config directories +INCLUDE_FLAGS = -I. \ + -I${CONFIG_DIR}/Code/Insight3DParty/vxl \ + -I${CONFIG_DIR} \ + -I${topdir}/Code/Common \ + -I${topdir}/Code/Insight3DParty/vxl + +CXX_FLAGS = ${CPPFLAGS} ${LOCAL_CXXFLAGS} ${CXXFLAGS} \ + ${KIT_FLAGS} ${INCLUDE_FLAGS} + +CC_FLAGS = ${CPPFLAGS} ${LOCAL_CFLAGS} ${CFLAGS} + +# set up the path to the rulesgen program +RULESGEN = @ITK_OBJ@/Code/tools/rulesgen + +BUILD_LIB_FILE = lib${ME}${ITK_LIB_EXT} diff --git a/dummy.in b/dummy.in new file mode 100644 index 0000000..a9405ec --- /dev/null +++ b/dummy.in @@ -0,0 +1,5 @@ +#empty file used by configure to generate initial targets.make files +#if you find this as a make error, then the autoconf system is not +#working, send for help on the insight mailing list... + + |