aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-12-07 10:42:26 +0000
committertradke <tradke@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2001-12-07 10:42:26 +0000
commit8dad619cbf3396376f959e4caa2f7a21541bd66c (patch)
treed60e170cad50ee0bffe288fd07fc9fc246a1add8
parent8c8b142d92c8e7404c579b566ae21b3e394660eb (diff)
Added ionfo as a Cactus utility program. It can be build by
make <configname>-utils Closes CactusExternal/854. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@24 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--src/make.configuration.defn4
-rw-r--r--src/make.configuration.deps13
2 files changed, 17 insertions, 0 deletions
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)$@