]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Wed, 16 Aug 2000 12:40:14 +0000 (12:40 +0000)
committerhades <hades>
Wed, 16 Aug 2000 12:40:14 +0000 (12:40 +0000)
allParam/ca/Makefile [new file with mode: 0644]
allParam/file/fileParam.cc
allParam/tcl/Makefile [new file with mode: 0644]

diff --git a/allParam/ca/Makefile b/allParam/ca/Makefile
new file mode 100644 (file)
index 0000000..71fd061
--- /dev/null
@@ -0,0 +1,15 @@
+EPICS_BASE = $(HOME)/hades/epics/base
+CFLAGS = -g -I$(HOME)/include \
+  -I$(EPICS_BASE)/include -I$(EPICS_BASE)/include/os/$(HOST_ARCH)
+
+libcaParam.a : param.o
+       $(AR) $(ARFLAGS) $@ $<
+
+param.o : param.c param.h
+
+clean :
+       rm -f *.o
+
+lib_clean :
+       rm -f *.o *.a
+
index 56918f073101840ecfbdfbc4dea68b7d97426505..76cef1b36b1441268f7506083092aaa2da2df401 100644 (file)
@@ -73,13 +73,7 @@ int FileParam::isInteger(const char *n, const char *idx) const
        int retVal = 0;
        char *endptr;
        int num = getParamNumber(n, idx);
-#if 0
-       printf("Before strtoul:\n*endptr: %c\nendptr: %p\n&endptr: %p\n", *endptr, endptr, &endptr);
-#endif
        strtoul(val[num], &endptr, 0);
-#if 0
-       printf("After strtoul:\n*endptr: %c\nendptr: %p\n&endptr: %p\n", *endptr, endptr, &endptr);
-#endif
        if (*endptr == '\0') {
                retVal = 1;
        }
diff --git a/allParam/tcl/Makefile b/allParam/tcl/Makefile
new file mode 100644 (file)
index 0000000..933187a
--- /dev/null
@@ -0,0 +1,17 @@
+CXXFLAGS = -g -I../param
+CFLAGS = -g
+
+libtclParam.a : param.o
+       $(AR) $(ARFLAGS) $@ $<
+
+tclParam.o : tclParam.cc tclParam.h structParam.h ../param/enhParam.h
+structParam.o : structParam.c structParam.h
+
+param.o : param.c param.h
+
+clean :
+       rm -f *.o
+
+lib_clean :
+       rm -f *.o *.a
+