From 1235e7cd42f86c698f3f9fdd3983b95cb5c9522b Mon Sep 17 00:00:00 2001 From: hades Date: Wed, 16 Aug 2000 12:40:14 +0000 Subject: [PATCH] *** empty log message *** --- allParam/ca/Makefile | 15 +++++++++++++++ allParam/file/fileParam.cc | 6 ------ allParam/tcl/Makefile | 17 +++++++++++++++++ 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 allParam/ca/Makefile create mode 100644 allParam/tcl/Makefile diff --git a/allParam/ca/Makefile b/allParam/ca/Makefile new file mode 100644 index 0000000..71fd061 --- /dev/null +++ b/allParam/ca/Makefile @@ -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 + diff --git a/allParam/file/fileParam.cc b/allParam/file/fileParam.cc index 56918f0..76cef1b 100644 --- a/allParam/file/fileParam.cc +++ b/allParam/file/fileParam.cc @@ -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 index 0000000..933187a --- /dev/null +++ b/allParam/tcl/Makefile @@ -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 + -- 2.43.0