From 8dad619cbf3396376f959e4caa2f7a21541bd66c Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 7 Dec 2001 10:42:26 +0000 Subject: Added ionfo as a Cactus utility program. It can be build by make -utils Closes CactusExternal/854. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@24 21a6bef8-4479-4f54-8f8d-0db94a2919ef --- src/make.configuration.defn | 4 ++++ src/make.configuration.deps | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/make.configuration.defn create mode 100644 src/make.configuration.deps diff --git a/src/make.configuration.defn b/src/make.configuration.defn new file mode 100644 index 0000000..c502b3f --- /dev/null +++ b/src/make.configuration.defn @@ -0,0 +1,4 @@ +# make.configuration.defn for FlexIO + +# add the ioinfo program to the Cactus utitlity tools +ALL_UTILS += ioinfo diff --git a/src/make.configuration.deps b/src/make.configuration.deps new file mode 100644 index 0000000..83f7e43 --- /dev/null +++ b/src/make.configuration.deps @@ -0,0 +1,13 @@ +# make.configuration.deps for FlexIO +# makefile rules to build FlexIO utilities + +$(UTIL_DIR)$(DIRSEP)ioinfo: $(BUILD_DIR)$(DIRSEP)FlexIO$(DIRSEP)ioinfo.o $(CCTK_LIBDIR)/$(LIBNAME_PREFIX)FlexIO$(LIBNAME_SUFFIX) + @echo Creating ioinfo in $(UTIL_DIR) from $< + if [ ! -d $(UTIL_DIR) ]; then $(MKDIR) $(MKDIRFLAGS) $(UTIL_DIR) ; fi + $(LD) $(CREATEEXE)$(OPTIONSEP)$@ $(DEBUG_LD) $(LDFLAGS) $(EXTRAFLAGS) -L$(CCTK_LIBDIR) $< -lFlexIO + +$(BUILD_DIR)$(DIRSEP)FlexIO$(DIRSEP)ioinfo.o: $(PACKAGE_DIR)$(DIRSEP)CactusExternal$(DIRSEP)FlexIO$(DIRSEP)src$(DIRSEP)ioinfo.cc + @echo Compiling $< + if [ ! -d $(BUILD_DIR)$(DIRSEP)FlexIO ]; then $(MKDIR) $(MKDIRFLAGS) $(BUILD_DIR)$(DIRSEP)FlexIO ; fi + cd $(BUILD_DIR)$(DIRSEP)FlexIO + $(CXX) $< $(CXXFLAGS) -I$(PACKAGE_DIR)$(DIRSEP)CactusExternal$(DIRSEP)FlexIO$(DIRSEP)src $(CCOMPILEONLY)$(OPTIONSEP)$@ -- cgit v1.2.3