2000-09-27 23:01:19 +04:00
|
|
|
# rules for building .o files from source files
|
2001-01-18 19:51:45 +03:00
|
|
|
@MAKEINCLUDE@ @MAKEQUOTE@@CMAKE_CONFIG_DIR@/CMake/CMakeSimpleRules.make@MAKEQUOTE@
|
2000-08-29 18:56:51 +04:00
|
|
|
|
|
|
|
#
|
2000-08-31 17:36:52 +04:00
|
|
|
# Makefile for
|
2000-08-29 18:56:51 +04:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
#
|
2001-04-11 22:59:02 +04:00
|
|
|
all: CMakeTargets.make ${LOCAL_BUILD_TARGETS} ${TARGETS} ${SUBDIR_BUILD} ${CMAKE}
|
2000-08-29 18:56:51 +04:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2000-09-12 13:30:35 +04:00
|
|
|
${CMAKE}: ${topdir}/CMake/Source/*.cxx ${topdir}/CMake/Source/*.h
|
|
|
|
cd ${CMAKE_CONFIG_DIR}/CMake/Source; ${MAKE} CMakeBuildTargets
|
2000-08-29 18:56:51 +04:00
|
|
|
|
2000-09-18 17:19:38 +04:00
|
|
|
depend: ${CMAKE} ${SUBDIR_DEPEND}
|
2000-09-12 13:30:35 +04:00
|
|
|
${MAKE} -${MAKEFLAGS} CMakeTargets.make
|
2000-08-29 18:56:51 +04:00
|
|
|
|
|
|
|
|
|
|
|
clean: ${SUBDIR_CLEAN}
|
2001-04-23 21:58:36 +04:00
|
|
|
rm -f ${SRC_OBJ} ${EXECUTABLES} ${TARGETS}
|
2000-08-29 18:56:51 +04:00
|
|
|
|
2001-04-27 19:36:53 +04:00
|
|
|
CMakeTargets.make: ${CMAKE} ${srcdir}/CMakeLists.txt ${CMAKE_CONFIG_DIR}/CMakeCache.txt
|
2001-02-20 20:25:49 +03:00
|
|
|
${CMAKE} ${currentdir}/CMakeLists.txt -S${currentdir} -O${currentbindir} -H${topdir} -B${CMAKE_CONFIG_DIR}
|
2000-08-29 18:56:51 +04:00
|
|
|
|
2001-02-23 03:24:43 +03:00
|
|
|
rebuild_cache: ${CMAKE_CONFIG_DIR}/CMakeCache.txt
|
|
|
|
${CMAKE} ${topdir}/CMakeLists.txt -MakeCache -S${topdir} -O${CMAKE_CONFIG_DIR} -H${topdir} -B${CMAKE_CONFIG_DIR}
|
|
|
|
|
|
|
|
${CMAKE_CONFIG_DIR}/CMakeCache.txt:
|
|
|
|
${CMAKE} ${topdir}/CMakeLists.txt -MakeCache -S${topdir} -O${CMAKE_CONFIG_DIR} -H${topdir} -B${CMAKE_CONFIG_DIR}
|
|
|
|
|
2000-08-29 18:56:51 +04:00
|
|
|
|
2000-08-30 21:35:41 +04:00
|
|
|
install: ${BUILD_LIB_FILE}
|
|
|
|
@echo "Installing ${BUILD_LIB_FILE}"
|
|
|
|
${INSTALL} -m 755 $(BUILD_LIB_FILE) $(LIB_INSTALL_DIR)/$(BUILD_LIB_FILE)
|