summaryrefslogtreecommitdiffstats
path: root/CMakeRules.make.in
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
commit865ec96644ae08e66b9a4a15bd7cddde46d2e2b0 (patch)
tree3f1a58bd35606684aa8501c2e629f24855e37421 /CMakeRules.make.in
parent7b47a5d2ef1bb303b25a051d588a54616e44cbe9 (diff)
downloadCMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.zip
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.gz
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.bz2
major changes to support multiple libraries and source lists
Diffstat (limited to 'CMakeRules.make.in')
-rw-r--r--CMakeRules.make.in15
1 files changed, 1 insertions, 14 deletions
diff --git a/CMakeRules.make.in b/CMakeRules.make.in
index 7b73ca5..6e1b50c 100644
--- a/CMakeRules.make.in
+++ b/CMakeRules.make.in
@@ -6,7 +6,7 @@
#
#------------------------------------------------------------------------------
#
-all: CMakeTargets.make ${LOCAL_BUILD_TARGETS} ${BUILD_LIB_FILE} ${EXECUTABLES} ${SUBDIR_BUILD} ${CMAKE}
+all: CMakeTargets.make ${LOCAL_BUILD_TARGETS} ${TARGETS} ${SUBDIR_BUILD} ${CMAKE}
#------------------------------------------------------------------------------
@@ -30,19 +30,6 @@ rebuild_cache: ${CMAKE_CONFIG_DIR}/CMakeCache.txt
${CMAKE_CONFIG_DIR}/CMakeCache.txt:
${CMAKE} ${topdir}/CMakeLists.txt -MakeCache -S${topdir} -O${CMAKE_CONFIG_DIR} -H${topdir} -B${CMAKE_CONFIG_DIR}
-#------------------------------------------------------------------------------
-# rules for the normal library
-#
-lib${LIBRARY}.a: ${SRC_OBJ} ${KIT_OBJ}
- ${AR} cr lib${LIBRARY}.a ${KIT_OBJ}
- ${RANLIB} lib$(LIBRARY).a
-
-
-lib$(LIBRARY)$(SHLIB_SUFFIX): ${KIT_OBJ}
- rm -f lib$(LIBRARY)$(SHLIB_SUFFIX)
- $(CXX) ${CXX_FLAGS} ${CMAKE_SHLIB_BUILD_FLAGS} -o \
- lib$(LIBRARY)$(SHLIB_SUFFIX) \
- ${KIT_OBJ} ${SHLIB_LD_LIBS}
install: ${BUILD_LIB_FILE}
@echo "Installing ${BUILD_LIB_FILE}"