VPATH = @srcdir@
VPATH += @srcdir@/ora
-SUFFIXES = .pc
+SUFFIXES = .pc .x _clnt.c _svc.c _xdr.c .h
+
+.x_clnt.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -l $<) > $@
+
+.x_svc.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -s tcp $<) > $@
+
+.x_xdr.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -c $<) > $@
+
+.x.h:
+ rpcgen -h $< > $@
+
PROC=@PROC@
PROCFLAGS=@PROCFLAGS@
.pc.c :
$(PROC) $(PROCFLAGS) $(AM_PROCFLAGS) $(PROC_INCLUDES) iname=$< oname=$@
+BUILT_SOURCES = rpc/rpcParam.h
+
include_HEADERS = @ALLPARAM_H@
EXTRA_HEADERS = include/allParam.h
-bin_PROGRAMS = @PAS@
+bin_PROGRAMS = @PAS@ rpcpas
EXTRA_PROGRAMS = pas
lib_LIBRARIES = @LIBCAPARAM_A@
lib_LIBRARIES += @LIBFILEPARAM_A@
lib_LIBRARIES += @LIBORAPARAM_A@
+lib_LIBRARIES += @LIBRPCPARAM_A@
lib_LIBRARIES += @LIBTCLPARAM_A@
EXTRA_LIBRARIES = libcaParam.a libcaParam_p.a
EXTRA_LIBRARIES += libfileParam.a libfileParam_p.a
EXTRA_LIBRARIES += liboraParam.a liboraParam_p.a
+EXTRA_LIBRARIES += librpcParam.a librpcParam_p.a
EXTRA_LIBRARIES += libtclParam.a libtclParam_p.a
libcaParam_a_SOURCES = ca/client/caParam.c
libfileParam_p_a_SOURCES = file/fileParam.c
liboraParam_a_SOURCES = oraParam.c
liboraParam_p_a_SOURCES = oraParam.c
+librpcParam_a_SOURCES = rpc/rpcParam.c rpc/rpcParam_clnt.c rpc/rpcParam_xdr.c
+librpcParam_p_a_SOURCES = rpc/rpcParam.c rpc/rpcParam_clnt.c rpc/rpcParam_xdr.c
libtclParam_a_SOURCES = tcl/tclParam.c
libtclParam_p_a_SOURCES = tcl/tclParam.c
libfileParam_p_a_CFLAGS = -DPTHREADS
liboraParam_a_CFLAGS =
liboraParam_p_a_CFLAGS = -DPTHREADS
+librpcParam_a_CFLAGS =
+librpcParam_p_a_CFLAGS = -DPTHREADS
libtclParam_a_CFLAGS =
libtclParam_p_a_CFLAGS = -DPTHREADS
noinst_HEADERS += ca/server/paramStringRecord.h
noinst_HEADERS += ca/server/record.h
+rpcpas_SOURCES = rpc/rpcpas.c
+rpcpas_SOURCES += rpc/rpcParam_svc.c
+rpcpas_SOURCES += rpc/rpcParam_xdr.c
+
EXTRA_BUILT_SOURCES_MY = oraParam.c
clean-local:
- rm -f $(EXTRA_BUILT_SOURCES_MY)
+ rm -f $(BUILD_SOURCES) $(EXTRA_BUILT_SOURCES_MY)
-# Makefile.in generated by automake 1.7.6 from Makefile.am.
+# Makefile.in generated by automake 1.7.8 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
LIBFILEPARAM_A = @LIBFILEPARAM_A@
LIBOBJS = @LIBOBJS@
LIBORAPARAM_A = @LIBORAPARAM_A@
+LIBRPCPARAM_A = @LIBRPCPARAM_A@
LIBS = @LIBS@
LIBTCLPARAM_A = @LIBTCLPARAM_A@
LTLIBOBJS = @LTLIBOBJS@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-SUFFIXES = .pc
+SUFFIXES = .pc .x _clnt.c _svc.c _xdr.c .h
+
+BUILT_SOURCES = rpc/rpcParam.h
include_HEADERS = @ALLPARAM_H@
EXTRA_HEADERS = include/allParam.h
-bin_PROGRAMS = @PAS@
+bin_PROGRAMS = @PAS@ rpcpas
EXTRA_PROGRAMS = pas
-lib_LIBRARIES = @LIBCAPARAM_A@ @LIBFILEPARAM_A@ @LIBORAPARAM_A@ @LIBTCLPARAM_A@
+lib_LIBRARIES = @LIBCAPARAM_A@ @LIBFILEPARAM_A@ @LIBORAPARAM_A@ @LIBRPCPARAM_A@ @LIBTCLPARAM_A@
-EXTRA_LIBRARIES = libcaParam.a libcaParam_p.a libfileParam.a libfileParam_p.a liboraParam.a liboraParam_p.a libtclParam.a libtclParam_p.a
+EXTRA_LIBRARIES = libcaParam.a libcaParam_p.a libfileParam.a libfileParam_p.a liboraParam.a liboraParam_p.a librpcParam.a librpcParam_p.a libtclParam.a libtclParam_p.a
libcaParam_a_SOURCES = ca/client/caParam.c
libcaParam_p_a_SOURCES = ca/client/caParam.c
libfileParam_p_a_SOURCES = file/fileParam.c
liboraParam_a_SOURCES = oraParam.c
liboraParam_p_a_SOURCES = oraParam.c
+librpcParam_a_SOURCES = rpc/rpcParam.c rpc/rpcParam_clnt.c rpc/rpcParam_xdr.c
+librpcParam_p_a_SOURCES = rpc/rpcParam.c rpc/rpcParam_clnt.c rpc/rpcParam_xdr.c
libtclParam_a_SOURCES = tcl/tclParam.c
libtclParam_p_a_SOURCES = tcl/tclParam.c
libfileParam_p_a_CFLAGS = -DPTHREADS
liboraParam_a_CFLAGS =
liboraParam_p_a_CFLAGS = -DPTHREADS
+librpcParam_a_CFLAGS =
+librpcParam_p_a_CFLAGS = -DPTHREADS
libtclParam_a_CFLAGS =
libtclParam_p_a_CFLAGS = -DPTHREADS
pas_SOURCES = ca/server/arrayDest.cc ca/server/paramBlobRecord.cc ca/server/paramFilenameRecord.cc ca/server/paramIntRecord.cc ca/server/paramRecordSet.cc ca/server/paramStringRecord.cc ca/server/record.cc ca/server/paramServer.cc
+rpcpas_SOURCES = rpc/rpcpas.c rpc/rpcParam_svc.c rpc/rpcParam_xdr.c
+
noinst_HEADERS = ca/server/arrayDest.h ca/server/paramBlobRecord.h ca/server/paramFilenameRecord.h ca/server/paramIntRecord.h ca/server/paramRecordSet.h ca/server/paramStringRecord.h ca/server/record.h
EXTRA_BUILT_SOURCES_MY = oraParam.c
liboraParam_p_a_LIBADD =
am_liboraParam_p_a_OBJECTS = liboraParam_p_a-oraParam.$(OBJEXT)
liboraParam_p_a_OBJECTS = $(am_liboraParam_p_a_OBJECTS)
+librpcParam_a_AR = $(AR) cru
+librpcParam_a_LIBADD =
+am_librpcParam_a_OBJECTS = librpcParam_a-rpcParam.$(OBJEXT) \
+ librpcParam_a-rpcParam_clnt.$(OBJEXT) \
+ librpcParam_a-rpcParam_xdr.$(OBJEXT)
+librpcParam_a_OBJECTS = $(am_librpcParam_a_OBJECTS)
+librpcParam_p_a_AR = $(AR) cru
+librpcParam_p_a_LIBADD =
+am_librpcParam_p_a_OBJECTS = librpcParam_p_a-rpcParam.$(OBJEXT) \
+ librpcParam_p_a-rpcParam_clnt.$(OBJEXT) \
+ librpcParam_p_a-rpcParam_xdr.$(OBJEXT)
+librpcParam_p_a_OBJECTS = $(am_librpcParam_p_a_OBJECTS)
libtclParam_a_AR = $(AR) cru
libtclParam_a_LIBADD =
am_libtclParam_a_OBJECTS = libtclParam_a-tclParam.$(OBJEXT)
am_libtclParam_p_a_OBJECTS = libtclParam_p_a-tclParam.$(OBJEXT)
libtclParam_p_a_OBJECTS = $(am_libtclParam_p_a_OBJECTS)
EXTRA_PROGRAMS = pas$(EXEEXT)
-bin_PROGRAMS = @PAS@
+bin_PROGRAMS = @PAS@ rpcpas$(EXEEXT)
PROGRAMS = $(bin_PROGRAMS)
am_pas_OBJECTS = arrayDest.$(OBJEXT) paramBlobRecord.$(OBJEXT) \
pas_LDADD = $(LDADD)
pas_DEPENDENCIES =
pas_LDFLAGS =
+am_rpcpas_OBJECTS = rpcpas.$(OBJEXT) rpcParam_svc.$(OBJEXT) \
+ rpcParam_xdr.$(OBJEXT)
+rpcpas_OBJECTS = $(am_rpcpas_OBJECTS)
+rpcpas_LDADD = $(LDADD)
+rpcpas_DEPENDENCIES =
+rpcpas_LDFLAGS =
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
depcomp = $(SHELL) $(top_srcdir)/config/depcomp
@AMDEP_TRUE@ ./$(DEPDIR)/libfileParam_p_a-fileParam.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/liboraParam_a-oraParam.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/liboraParam_p_a-oraParam.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_a-rpcParam.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_p_a-rpcParam.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/libtclParam_a-tclParam.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/libtclParam_p_a-tclParam.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/paramBlobRecord.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/paramRecordSet.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/paramServer.Po \
@AMDEP_TRUE@ ./$(DEPDIR)/paramStringRecord.Po \
-@AMDEP_TRUE@ ./$(DEPDIR)/record.Po
+@AMDEP_TRUE@ ./$(DEPDIR)/record.Po ./$(DEPDIR)/rpcParam_svc.Po \
+@AMDEP_TRUE@ ./$(DEPDIR)/rpcParam_xdr.Po ./$(DEPDIR)/rpcpas.Po
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
DIST_SOURCES = $(libcaParam_a_SOURCES) $(libcaParam_p_a_SOURCES) \
$(libfileParam_a_SOURCES) $(libfileParam_p_a_SOURCES) \
$(liboraParam_a_SOURCES) $(liboraParam_p_a_SOURCES) \
+ $(librpcParam_a_SOURCES) $(librpcParam_p_a_SOURCES) \
$(libtclParam_a_SOURCES) $(libtclParam_p_a_SOURCES) \
- $(pas_SOURCES)
+ $(pas_SOURCES) $(rpcpas_SOURCES)
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
-DIST_COMMON = README $(include_HEADERS) $(noinst_HEADERS) AUTHORS \
- COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS \
- acinclude.m4 aclocal.m4 config.h.in config/compile \
- config/depcomp config/install-sh config/missing \
- config/mkinstalldirs configure configure.in
-SOURCES = $(libcaParam_a_SOURCES) $(libcaParam_p_a_SOURCES) $(libfileParam_a_SOURCES) $(libfileParam_p_a_SOURCES) $(liboraParam_a_SOURCES) $(liboraParam_p_a_SOURCES) $(libtclParam_a_SOURCES) $(libtclParam_p_a_SOURCES) $(pas_SOURCES)
+DIST_COMMON = README $(include_HEADERS) $(noinst_HEADERS) \
+ $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS COPYING \
+ ChangeLog INSTALL Makefile.am NEWS acinclude.m4 aclocal.m4 \
+ config.h.in config/compile config/depcomp config/install-sh \
+ config/missing config/mkinstalldirs configure.in
+SOURCES = $(libcaParam_a_SOURCES) $(libcaParam_p_a_SOURCES) $(libfileParam_a_SOURCES) $(libfileParam_p_a_SOURCES) $(liboraParam_a_SOURCES) $(liboraParam_p_a_SOURCES) $(librpcParam_a_SOURCES) $(librpcParam_p_a_SOURCES) $(libtclParam_a_SOURCES) $(libtclParam_p_a_SOURCES) $(pas_SOURCES) $(rpcpas_SOURCES)
-all: config.h
+all: $(BUILT_SOURCES) config.h
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
-.SUFFIXES: .pc .c .cc .o .obj
+.SUFFIXES: .pc .x _clnt.c _svc.c _xdr.c .h .c .cc .o .obj
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno
-rm -f liboraParam_p.a
$(liboraParam_p_a_AR) liboraParam_p.a $(liboraParam_p_a_OBJECTS) $(liboraParam_p_a_LIBADD)
$(RANLIB) liboraParam_p.a
+librpcParam.a: $(librpcParam_a_OBJECTS) $(librpcParam_a_DEPENDENCIES)
+ -rm -f librpcParam.a
+ $(librpcParam_a_AR) librpcParam.a $(librpcParam_a_OBJECTS) $(librpcParam_a_LIBADD)
+ $(RANLIB) librpcParam.a
+librpcParam_p.a: $(librpcParam_p_a_OBJECTS) $(librpcParam_p_a_DEPENDENCIES)
+ -rm -f librpcParam_p.a
+ $(librpcParam_p_a_AR) librpcParam_p.a $(librpcParam_p_a_OBJECTS) $(librpcParam_p_a_LIBADD)
+ $(RANLIB) librpcParam_p.a
libtclParam.a: $(libtclParam_a_OBJECTS) $(libtclParam_a_DEPENDENCIES)
-rm -f libtclParam.a
$(libtclParam_a_AR) libtclParam.a $(libtclParam_a_OBJECTS) $(libtclParam_a_LIBADD)
pas$(EXEEXT): $(pas_OBJECTS) $(pas_DEPENDENCIES)
@rm -f pas$(EXEEXT)
$(CXXLINK) $(pas_LDFLAGS) $(pas_OBJECTS) $(pas_LDADD) $(LIBS)
+rpcpas$(EXEEXT): $(rpcpas_OBJECTS) $(rpcpas_DEPENDENCIES)
+ @rm -f rpcpas$(EXEEXT)
+ $(LINK) $(rpcpas_LDFLAGS) $(rpcpas_OBJECTS) $(rpcpas_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT) core *.core
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libfileParam_p_a-fileParam.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liboraParam_a-oraParam.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/liboraParam_p_a-oraParam.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_a-rpcParam.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_p_a-rpcParam.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtclParam_a-tclParam.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtclParam_p_a-tclParam.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paramBlobRecord.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paramServer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paramStringRecord.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/record.Po@am__quote@
-
-distclean-depend:
- -rm -rf ./$(DEPDIR)
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpcParam_svc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpcParam_xdr.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpcpas.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(liboraParam_p_a_CFLAGS) $(CFLAGS) -c -o liboraParam_p_a-oraParam.obj `if test -f 'oraParam.c'; then $(CYGPATH_W) 'oraParam.c'; else $(CYGPATH_W) '$(srcdir)/oraParam.c'; fi`
+librpcParam_a-rpcParam.o: rpc/rpcParam.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam.o -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam.o `test -f 'rpc/rpcParam.c' || echo '$(srcdir)/'`rpc/rpcParam.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam.c' object='librpcParam_a-rpcParam.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam.o `test -f 'rpc/rpcParam.c' || echo '$(srcdir)/'`rpc/rpcParam.c
+
+librpcParam_a-rpcParam.obj: rpc/rpcParam.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam.obj -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam.obj `if test -f 'rpc/rpcParam.c'; then $(CYGPATH_W) 'rpc/rpcParam.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam.c' object='librpcParam_a-rpcParam.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam.obj `if test -f 'rpc/rpcParam.c'; then $(CYGPATH_W) 'rpc/rpcParam.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam.c'; fi`
+
+librpcParam_a-rpcParam_clnt.o: rpc/rpcParam_clnt.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam_clnt.o -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam_clnt.o `test -f 'rpc/rpcParam_clnt.c' || echo '$(srcdir)/'`rpc/rpcParam_clnt.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_clnt.c' object='librpcParam_a-rpcParam_clnt.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam_clnt.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam_clnt.o `test -f 'rpc/rpcParam_clnt.c' || echo '$(srcdir)/'`rpc/rpcParam_clnt.c
+
+librpcParam_a-rpcParam_clnt.obj: rpc/rpcParam_clnt.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam_clnt.obj -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam_clnt.obj `if test -f 'rpc/rpcParam_clnt.c'; then $(CYGPATH_W) 'rpc/rpcParam_clnt.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_clnt.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam_clnt.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_clnt.c' object='librpcParam_a-rpcParam_clnt.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam_clnt.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam_clnt.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam_clnt.obj `if test -f 'rpc/rpcParam_clnt.c'; then $(CYGPATH_W) 'rpc/rpcParam_clnt.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_clnt.c'; fi`
+
+librpcParam_a-rpcParam_xdr.o: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam_xdr.o -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='librpcParam_a-rpcParam_xdr.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c
+
+librpcParam_a-rpcParam_xdr.obj: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -MT librpcParam_a-rpcParam_xdr.obj -MD -MP -MF "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_a-rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo" "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_a-rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='librpcParam_a-rpcParam_xdr.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_a-rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/librpcParam_a-rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_a_CFLAGS) $(CFLAGS) -c -o librpcParam_a-rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`
+
+librpcParam_p_a-rpcParam.o: rpc/rpcParam.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam.o -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam.o `test -f 'rpc/rpcParam.c' || echo '$(srcdir)/'`rpc/rpcParam.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam.c' object='librpcParam_p_a-rpcParam.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam.o `test -f 'rpc/rpcParam.c' || echo '$(srcdir)/'`rpc/rpcParam.c
+
+librpcParam_p_a-rpcParam.obj: rpc/rpcParam.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam.obj -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam.obj `if test -f 'rpc/rpcParam.c'; then $(CYGPATH_W) 'rpc/rpcParam.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam.c' object='librpcParam_p_a-rpcParam.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam.obj `if test -f 'rpc/rpcParam.c'; then $(CYGPATH_W) 'rpc/rpcParam.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam.c'; fi`
+
+librpcParam_p_a-rpcParam_clnt.o: rpc/rpcParam_clnt.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam_clnt.o -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam_clnt.o `test -f 'rpc/rpcParam_clnt.c' || echo '$(srcdir)/'`rpc/rpcParam_clnt.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_clnt.c' object='librpcParam_p_a-rpcParam_clnt.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam_clnt.o `test -f 'rpc/rpcParam_clnt.c' || echo '$(srcdir)/'`rpc/rpcParam_clnt.c
+
+librpcParam_p_a-rpcParam_clnt.obj: rpc/rpcParam_clnt.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam_clnt.obj -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam_clnt.obj `if test -f 'rpc/rpcParam_clnt.c'; then $(CYGPATH_W) 'rpc/rpcParam_clnt.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_clnt.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_clnt.c' object='librpcParam_p_a-rpcParam_clnt.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam_clnt.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam_clnt.obj `if test -f 'rpc/rpcParam_clnt.c'; then $(CYGPATH_W) 'rpc/rpcParam_clnt.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_clnt.c'; fi`
+
+librpcParam_p_a-rpcParam_xdr.o: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam_xdr.o -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='librpcParam_p_a-rpcParam_xdr.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c
+
+librpcParam_p_a-rpcParam_xdr.obj: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -MT librpcParam_p_a-rpcParam_xdr.obj -MD -MP -MF "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o librpcParam_p_a-rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo" "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='librpcParam_p_a-rpcParam_xdr.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/librpcParam_p_a-rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(librpcParam_p_a_CFLAGS) $(CFLAGS) -c -o librpcParam_p_a-rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`
+
libtclParam_a-tclParam.o: tcl/tclParam.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtclParam_a_CFLAGS) $(CFLAGS) -MT libtclParam_a-tclParam.o -MD -MP -MF "$(DEPDIR)/libtclParam_a-tclParam.Tpo" \
@am__fastdepCC_TRUE@ -c -o libtclParam_a-tclParam.o `test -f 'tcl/tclParam.c' || echo '$(srcdir)/'`tcl/tclParam.c; \
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtclParam_p_a_CFLAGS) $(CFLAGS) -c -o libtclParam_p_a-tclParam.obj `if test -f 'tcl/tclParam.c'; then $(CYGPATH_W) 'tcl/tclParam.c'; else $(CYGPATH_W) '$(srcdir)/tcl/tclParam.c'; fi`
+rpcpas.o: rpc/rpcpas.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcpas.o -MD -MP -MF "$(DEPDIR)/rpcpas.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcpas.o `test -f 'rpc/rpcpas.c' || echo '$(srcdir)/'`rpc/rpcpas.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcpas.Tpo" "$(DEPDIR)/rpcpas.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcpas.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcpas.c' object='rpcpas.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcpas.Po' tmpdepfile='$(DEPDIR)/rpcpas.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcpas.o `test -f 'rpc/rpcpas.c' || echo '$(srcdir)/'`rpc/rpcpas.c
+
+rpcpas.obj: rpc/rpcpas.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcpas.obj -MD -MP -MF "$(DEPDIR)/rpcpas.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcpas.obj `if test -f 'rpc/rpcpas.c'; then $(CYGPATH_W) 'rpc/rpcpas.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcpas.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcpas.Tpo" "$(DEPDIR)/rpcpas.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcpas.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcpas.c' object='rpcpas.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcpas.Po' tmpdepfile='$(DEPDIR)/rpcpas.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcpas.obj `if test -f 'rpc/rpcpas.c'; then $(CYGPATH_W) 'rpc/rpcpas.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcpas.c'; fi`
+
+rpcParam_svc.o: rpc/rpcParam_svc.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcParam_svc.o -MD -MP -MF "$(DEPDIR)/rpcParam_svc.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcParam_svc.o `test -f 'rpc/rpcParam_svc.c' || echo '$(srcdir)/'`rpc/rpcParam_svc.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcParam_svc.Tpo" "$(DEPDIR)/rpcParam_svc.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcParam_svc.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_svc.c' object='rpcParam_svc.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcParam_svc.Po' tmpdepfile='$(DEPDIR)/rpcParam_svc.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcParam_svc.o `test -f 'rpc/rpcParam_svc.c' || echo '$(srcdir)/'`rpc/rpcParam_svc.c
+
+rpcParam_svc.obj: rpc/rpcParam_svc.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcParam_svc.obj -MD -MP -MF "$(DEPDIR)/rpcParam_svc.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcParam_svc.obj `if test -f 'rpc/rpcParam_svc.c'; then $(CYGPATH_W) 'rpc/rpcParam_svc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_svc.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcParam_svc.Tpo" "$(DEPDIR)/rpcParam_svc.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcParam_svc.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_svc.c' object='rpcParam_svc.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcParam_svc.Po' tmpdepfile='$(DEPDIR)/rpcParam_svc.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcParam_svc.obj `if test -f 'rpc/rpcParam_svc.c'; then $(CYGPATH_W) 'rpc/rpcParam_svc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_svc.c'; fi`
+
+rpcParam_xdr.o: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcParam_xdr.o -MD -MP -MF "$(DEPDIR)/rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcParam_xdr.Tpo" "$(DEPDIR)/rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='rpcParam_xdr.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcParam_xdr.o `test -f 'rpc/rpcParam_xdr.c' || echo '$(srcdir)/'`rpc/rpcParam_xdr.c
+
+rpcParam_xdr.obj: rpc/rpcParam_xdr.c
+@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rpcParam_xdr.obj -MD -MP -MF "$(DEPDIR)/rpcParam_xdr.Tpo" \
+@am__fastdepCC_TRUE@ -c -o rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/rpcParam_xdr.Tpo" "$(DEPDIR)/rpcParam_xdr.Po"; \
+@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/rpcParam_xdr.Tpo"; exit 1; \
+@am__fastdepCC_TRUE@ fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/rpcParam_xdr.c' object='rpcParam_xdr.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/rpcParam_xdr.Po' tmpdepfile='$(DEPDIR)/rpcParam_xdr.TPo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rpcParam_xdr.obj `if test -f 'rpc/rpcParam_xdr.c'; then $(CYGPATH_W) 'rpc/rpcParam_xdr.c'; else $(CYGPATH_W) '$(srcdir)/rpc/rpcParam_xdr.c'; fi`
+
.cc.o:
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
-check: check-am
+check: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) config.h
installdirs:
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
-install: install-am
+install: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
clean-generic:
distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
+ -rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libLIBRARIES clean-local \
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-distclean-am: clean-am distclean-compile distclean-depend \
- distclean-generic distclean-hdr distclean-tags
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
+ distclean-tags
dvi: dvi-am
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libLIBRARIES clean-local ctags dist \
dist-all dist-gzip distcheck distclean distclean-compile \
- distclean-depend distclean-generic distclean-hdr distclean-tags \
- distcleancheck distdir distuninstallcheck dvi dvi-am info \
- info-am install install-am install-binPROGRAMS install-data \
- install-data-am install-exec install-exec-am \
- install-includeHEADERS install-info install-info-am \
- install-libLIBRARIES install-man install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
- uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
- uninstall-info-am uninstall-libLIBRARIES
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am info info-am install \
+ install-am install-binPROGRAMS install-data install-data-am \
+ install-exec install-exec-am install-includeHEADERS \
+ install-info install-info-am install-libLIBRARIES install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-binPROGRAMS \
+ uninstall-includeHEADERS uninstall-info-am \
+ uninstall-libLIBRARIES
+
+
+.x_clnt.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -l $<) > $@
+
+.x_svc.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -s tcp $<) > $@
+
+.x_xdr.c:
+ (echo "#define _BSD_SOURCE"; rpcgen -c $<) > $@
+.x.h:
+ rpcgen -h $< > $@
.pc.c :
$(PROC) $(PROCFLAGS) $(AM_PROCFLAGS) $(PROC_INCLUDES) iname=$< oname=$@
clean-local:
- rm -f $(EXTRA_BUILT_SOURCES_MY)
+ rm -f $(BUILD_SOURCES) $(EXTRA_BUILT_SOURCES_MY)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
-# generated automatically by aclocal 1.7.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.7.8 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.7.6])])
+ [AM_AUTOMAKE_VERSION([1.7.8])])
# Helper functions for option handling. -*- Autoconf -*-
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-# Copyright 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
- # in a .u file. This file always lives in the current directory.
- # Also, the AIX compiler puts `$object:' at the start of each line;
- # $object doesn't have directory information.
- stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts `$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
- outname="$stripped.o"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
-
stat=$?
+
+ if test -f "$tmpdepfile"; then :
+ else
+ stripped=`echo "$stripped" | sed 's,^.*/,,'`
+ tmpdepfile="$stripped.u"
+ fi
+
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
fi
if test -f "$tmpdepfile"; then
+ outname="$stripped.o"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
fi
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- # That's a space and a tab in the [].
- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+ # That's a tab and a space in the [].
+ sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
- # always write the proprocessed file to stdout, regardless of -o.
+ # always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
cpp)
# Important note: in order to support this mode, a compiler *must*
- # always write the proprocessed file to stdout.
+ # always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
- # always write the proprocessed file to stdout, regardless of -o,
+ # always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them.
- You can get \`$1Help2man' as part of \`Autoconf' from any GNU
+ You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
- it often tells you about the needed prerequirements for installing
+ it often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PAS LIBCAPARAM_A LIBFILEPARAM_A LIBORAPARAM_A LIBTCLPARAM_A ALLPARAM_H CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PROC PROCFLAGS PROC_INCLUDES EGREP LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PAS LIBCAPARAM_A LIBFILEPARAM_A LIBORAPARAM_A LIBRPCPARAM_A LIBTCLPARAM_A ALLPARAM_H CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB PROC PROCFLAGS PROC_INCLUDES EGREP LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
LIBCAPARAM=""
LIBFILEPARAM=""
LIBORAPARAM=""
+LIBRPCPARAM=""
LIBTCLPARAM=""
ALLPARAM_H="include/allParam.h"
elif test "x$enable_param" = "xora"
then
LIBORAPARAM_A="liboraParam.a liboraParam_p.a"
+elif test "x$enable_param" = "xrpc"
+then
+ LIBRPCPARAM_A="librpcParam.a librpcParam_p.a"
elif test "x$enable_param" = "xtcl"
then
LIBTCLPARAM_A="libtclParam.a libtclParam_p.a"
+
DEPDIR="${am__leading_dot}deps"
ac_config_commands="$ac_config_commands depfiles"
#
-# This is a weird method to check the epics version, but ask them for
-# a better way ...
+# Try to extract Version and REVISION from epicsVersion.h
#
echo "$as_me:$LINENO: checking whether we have a valid epics release" >&5
echo $ECHO_N "checking whether we have a valid epics release... $ECHO_C" >&6
-if test -x "$with_epics/startup/EpicsHostArch"
-then
-epics_release="314"
+cat > conftest.c << EOF
+#include <stdio.h>
+#include <epicsVersion.h>
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 314
-_ACEOF
+#ifndef EPICS_VERSION
+#define EPICS_VERSION BASE_VERSION
+#endif /* !EPICS_VERSION */
+#ifndef EPICS_REVISION
+#define EPICS_REVISION BASE_REVISION
+#endif /* !EPICS_REVISION */
+int main() { printf ("%d%d\n", EPICS_VERSION, EPICS_REVISION); return 0; }
+EOF
-EPICS_HOST_ARCH=$($with_epics/startup/EpicsHostArch)
-HOST_ARCH=$($with_epics/startup/HostArch)
-elif test -x "$with_epics/startup/HostArch"
+$CC -I$with_epics/include -o conftest conftest.c
+if test 0 -ne $?
then
-epics_release="313"
-
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 313
-_ACEOF
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+echo "$as_me: error: Missing valid EPICS version" >&2;}
+ { (exit 1); exit 1; }; }
-HOST_ARCH=$($with_epics/startup/HostArch)
else
+ epics_release=`conftest`
+ if test 0 -ne $?
+ then
-echo "$as_me:$LINENO: result: no" >&5
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
-{ { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
echo "$as_me: error: Missing valid EPICS version" >&2;}
{ (exit 1); exit 1; }; }
+ else
+
+ echo "$as_me:$LINENO: result: $epics_release" >&5
+echo "${ECHO_T}$epics_release" >&6
+ cat >>confdefs.h <<\_ACEOF
+#define EPICS_RELEASE $epics_release
+_ACEOF
+
+
+ fi
+fi
+
+rm -f conftest conftest.c
+
+if test -x $with_epics/startup/EpicsHostArch
+then
+ EPICS_HOST_ARCH=`$with_epics/startup/EpicsHostArch`
+fi
+
+if test -x $with_epics/startup/HostArch
+then
+ HOST_ARCH=`$with_epics/startup/HostArch`
fi
CPPFLAGS="$CPPFLAGS -I$with_epics/include"
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_fdmgr_add_fd" = no; then
for ac_lib in Com; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib \
+ -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_fdmgr_add_fd" >&5
+echo "${ECHO_T}$ac_cv_search_fdmgr_add_fd" >&6
+if test "$ac_cv_search_fdmgr_add_fd" != no; then
+ test "$ac_cv_search_fdmgr_add_fd" = "none required" || LIBS="$ac_cv_search_fdmgr_add_fd $LIBS"
+
+else
+ LIBS="-lCom $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_fdmgr_add_fd" = "xno"
+then
+ unset ac_cv_search_fdmgr_add_fd
+
+ echo "$as_me:$LINENO: checking for library containing fdmgr_add_fd" >&5
+echo $ECHO_N "checking for library containing fdmgr_add_fd... $ECHO_C" >&6
+if test "${ac_cv_search_fdmgr_add_fd+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_fdmgr_add_fd=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_fdmgr_add_fd" = no; then
+ for ac_lib in Com; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_ca_array_get" = no; then
for ac_lib in ca; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_ca_array_get" >&5
+echo "${ECHO_T}$ac_cv_search_ca_array_get" >&6
+if test "$ac_cv_search_ca_array_get" != no; then
+ test "$ac_cv_search_ca_array_get" = "none required" || LIBS="$ac_cv_search_ca_array_get $LIBS"
+
+else
+ LIBS="-lca $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_ca_array_get" = "xno"
+then
+ unset ac_cv_search_ca_array_get
+
+ echo "$as_me:$LINENO: checking for library containing ca_array_get" >&5
+echo $ECHO_N "checking for library containing ca_array_get... $ECHO_C" >&6
+if test "${ac_cv_search_ca_array_get+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_ca_array_get=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_ca_array_get" = no; then
+ for ac_lib in ca; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
#
# Give us te checking output
#
-echo "$as_me:$LINENO: checking whether param source $enable_paramsrc is valid" >&5
-echo $ECHO_N "checking whether param source $enable_paramsrc is valid... $ECHO_C" >&6
+echo "$as_me:$LINENO: checking whether param source $enable_paramsrc is valid and available" >&5
+echo $ECHO_N "checking whether param source $enable_paramsrc is valid and available... $ECHO_C" >&6
if test "x$enable_paramsrc" = "xca"
then
echo "${ECHO_T}yes" >&6
#
-# This is a weird method to check the epics version, but ask them for
-# a better way ...
+# Try to extract Version and REVISION from epicsVersion.h
#
echo "$as_me:$LINENO: checking whether we have a valid epics release" >&5
echo $ECHO_N "checking whether we have a valid epics release... $ECHO_C" >&6
-if test -x "$with_epics/startup/EpicsHostArch"
-then
-epics_release="314"
+cat > conftest.c << EOF
+#include <stdio.h>
+#include <epicsVersion.h>
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 314
-_ACEOF
+#ifndef EPICS_VERSION
+#define EPICS_VERSION BASE_VERSION
+#endif /* !EPICS_VERSION */
+#ifndef EPICS_REVISION
+#define EPICS_REVISION BASE_REVISION
+#endif /* !EPICS_REVISION */
+int main() { printf ("%d%d\n", EPICS_VERSION, EPICS_REVISION); return 0; }
+EOF
-EPICS_HOST_ARCH=$($with_epics/startup/EpicsHostArch)
-HOST_ARCH=$($with_epics/startup/HostArch)
-elif test -x "$with_epics/startup/HostArch"
+$CC -I$with_epics/include -o conftest conftest.c
+if test 0 -ne $?
then
-epics_release="313"
-
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 313
-_ACEOF
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+echo "$as_me: error: Missing valid EPICS version" >&2;}
+ { (exit 1); exit 1; }; }
-HOST_ARCH=$($with_epics/startup/HostArch)
else
+ epics_release=`conftest`
+ if test 0 -ne $?
+ then
-echo "$as_me:$LINENO: result: no" >&5
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
-{ { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
echo "$as_me: error: Missing valid EPICS version" >&2;}
{ (exit 1); exit 1; }; }
+ else
+
+ echo "$as_me:$LINENO: result: $epics_release" >&5
+echo "${ECHO_T}$epics_release" >&6
+ cat >>confdefs.h <<\_ACEOF
+#define EPICS_RELEASE $epics_release
+_ACEOF
+
+
+ fi
+fi
+
+rm -f conftest conftest.c
+
+if test -x $with_epics/startup/EpicsHostArch
+then
+ EPICS_HOST_ARCH=`$with_epics/startup/EpicsHostArch`
+fi
+
+if test -x $with_epics/startup/HostArch
+then
+ HOST_ARCH=`$with_epics/startup/HostArch`
fi
CPPFLAGS="$CPPFLAGS -I$with_epics/include"
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_fdmgr_add_fd" = no; then
for ac_lib in Com; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib \
+ -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_fdmgr_add_fd" >&5
+echo "${ECHO_T}$ac_cv_search_fdmgr_add_fd" >&6
+if test "$ac_cv_search_fdmgr_add_fd" != no; then
+ test "$ac_cv_search_fdmgr_add_fd" = "none required" || LIBS="$ac_cv_search_fdmgr_add_fd $LIBS"
+
+else
+ LIBS="-lCom $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_fdmgr_add_fd" = "xno"
+then
+ unset ac_cv_search_fdmgr_add_fd
+
+ echo "$as_me:$LINENO: checking for library containing fdmgr_add_fd" >&5
+echo $ECHO_N "checking for library containing fdmgr_add_fd... $ECHO_C" >&6
+if test "${ac_cv_search_fdmgr_add_fd+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_fdmgr_add_fd=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_fdmgr_add_fd" = no; then
+ for ac_lib in Com; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_ca_array_get" = no; then
for ac_lib in ca; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_ca_array_get" >&5
+echo "${ECHO_T}$ac_cv_search_ca_array_get" >&6
+if test "$ac_cv_search_ca_array_get" != no; then
+ test "$ac_cv_search_ca_array_get" = "none required" || LIBS="$ac_cv_search_ca_array_get $LIBS"
+
+else
+ LIBS="-lca $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_ca_array_get" = "xno"
+then
+ unset ac_cv_search_ca_array_get
+
+ echo "$as_me:$LINENO: checking for library containing ca_array_get" >&5
+echo $ECHO_N "checking for library containing ca_array_get... $ECHO_C" >&6
+if test "${ac_cv_search_ca_array_get+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_ca_array_get=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_ca_array_get" = no; then
+ for ac_lib in ca; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
then
#
-# This is a weird method to check the epics version, but ask them for
-# a better way ...
+# Try to extract Version and REVISION from epicsVersion.h
#
echo "$as_me:$LINENO: checking whether we have a valid epics release" >&5
echo $ECHO_N "checking whether we have a valid epics release... $ECHO_C" >&6
-if test -x "$with_epics/startup/EpicsHostArch"
-then
-epics_release="314"
+cat > conftest.c << EOF
+#include <stdio.h>
+#include <epicsVersion.h>
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 314
-_ACEOF
+#ifndef EPICS_VERSION
+#define EPICS_VERSION BASE_VERSION
+#endif /* !EPICS_VERSION */
+#ifndef EPICS_REVISION
+#define EPICS_REVISION BASE_REVISION
+#endif /* !EPICS_REVISION */
+int main() { printf ("%d%d\n", EPICS_VERSION, EPICS_REVISION); return 0; }
+EOF
-EPICS_HOST_ARCH=$($with_epics/startup/EpicsHostArch)
-HOST_ARCH=$($with_epics/startup/HostArch)
-elif test -x "$with_epics/startup/HostArch"
+$CC -I$with_epics/include -o conftest conftest.c
+if test 0 -ne $?
then
-epics_release="313"
-
-echo "$as_me:$LINENO: result: $epics_release" >&5
-echo "${ECHO_T}$epics_release" >&6
-cat >>confdefs.h <<\_ACEOF
-#define EPICS_RELEASE 313
-_ACEOF
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+echo "$as_me: error: Missing valid EPICS version" >&2;}
+ { (exit 1); exit 1; }; }
-HOST_ARCH=$($with_epics/startup/HostArch)
else
+ epics_release=`conftest`
+ if test 0 -ne $?
+ then
-echo "$as_me:$LINENO: result: no" >&5
+ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
-{ { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
+ { { echo "$as_me:$LINENO: error: Missing valid EPICS version" >&5
echo "$as_me: error: Missing valid EPICS version" >&2;}
{ (exit 1); exit 1; }; }
+ else
+
+ echo "$as_me:$LINENO: result: $epics_release" >&5
+echo "${ECHO_T}$epics_release" >&6
+ cat >>confdefs.h <<\_ACEOF
+#define EPICS_RELEASE $epics_release
+_ACEOF
+
+
+ fi
+fi
+
+rm -f conftest conftest.c
+
+if test -x $with_epics/startup/EpicsHostArch
+then
+ EPICS_HOST_ARCH=`$with_epics/startup/EpicsHostArch`
+fi
+
+if test -x $with_epics/startup/HostArch
+then
+ HOST_ARCH=`$with_epics/startup/HostArch`
fi
CPPFLAGS="$CPPFLAGS -I$with_epics/include"
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_fdmgr_add_fd" = no; then
for ac_lib in Com; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib \
+ -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_fdmgr_add_fd" >&5
+echo "${ECHO_T}$ac_cv_search_fdmgr_add_fd" >&6
+if test "$ac_cv_search_fdmgr_add_fd" != no; then
+ test "$ac_cv_search_fdmgr_add_fd" = "none required" || LIBS="$ac_cv_search_fdmgr_add_fd $LIBS"
+
+else
+ LIBS="-lCom $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_fdmgr_add_fd" = "xno"
+then
+ unset ac_cv_search_fdmgr_add_fd
+
+ echo "$as_me:$LINENO: checking for library containing fdmgr_add_fd" >&5
+echo $ECHO_N "checking for library containing fdmgr_add_fd... $ECHO_C" >&6
+if test "${ac_cv_search_fdmgr_add_fd+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_fdmgr_add_fd=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char fdmgr_add_fd ();
+int
+main ()
+{
+fdmgr_add_fd ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_fdmgr_add_fd="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_fdmgr_add_fd" = no; then
+ for ac_lib in Com; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test "$ac_cv_search_ca_array_get" = no; then
for ac_lib in ca; do
- LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
+ LIBS="-l$ac_lib -lpthread -lrt $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="-l$ac_lib"
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+LIBS=$ac_func_search_save_LIBS
+fi
+echo "$as_me:$LINENO: result: $ac_cv_search_ca_array_get" >&5
+echo "${ECHO_T}$ac_cv_search_ca_array_get" >&6
+if test "$ac_cv_search_ca_array_get" != no; then
+ test "$ac_cv_search_ca_array_get" = "none required" || LIBS="$ac_cv_search_ca_array_get $LIBS"
+
+else
+ LIBS="-lca $LIBS"
+fi
+
+
+fi
+if test "x$ac_cv_search_ca_array_get" = "xno"
+then
+ unset ac_cv_search_ca_array_get
+
+ echo "$as_me:$LINENO: checking for library containing ca_array_get" >&5
+echo $ECHO_N "checking for library containing ca_array_get... $ECHO_C" >&6
+if test "${ac_cv_search_ca_array_get+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+ac_cv_search_ca_array_get=no
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any gcc2 internal prototype to avoid an error. */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char ca_array_get ();
+int
+main ()
+{
+ca_array_get ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_ca_array_get="none required"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_search_ca_array_get" = no; then
+ for ac_lib in ca; do
+ LIBS="-l$ac_lib \
+ -lpthread -lrt -lreadline -lncurses $ac_func_search_save_LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
s,@LIBCAPARAM_A@,$LIBCAPARAM_A,;t t
s,@LIBFILEPARAM_A@,$LIBFILEPARAM_A,;t t
s,@LIBORAPARAM_A@,$LIBORAPARAM_A,;t t
+s,@LIBRPCPARAM_A@,$LIBRPCPARAM_A,;t t
s,@LIBTCLPARAM_A@,$LIBTCLPARAM_A,;t t
s,@ALLPARAM_H@,$ALLPARAM_H,;t t
s,@CC@,$CC,;t t
LIBCAPARAM=""
LIBFILEPARAM=""
LIBORAPARAM=""
+LIBRPCPARAM=""
LIBTCLPARAM=""
ALLPARAM_H="include/allParam.h"
elif test "x$enable_param" = "xora"
then
LIBORAPARAM_A="liboraParam.a liboraParam_p.a"
+elif test "x$enable_param" = "xrpc"
+then
+ LIBRPCPARAM_A="librpcParam.a librpcParam_p.a"
elif test "x$enable_param" = "xtcl"
then
LIBTCLPARAM_A="libtclParam.a libtclParam_p.a"
AC_SUBST(LIBCAPARAM_A)
AC_SUBST(LIBFILEPARAM_A)
AC_SUBST(LIBORAPARAM_A)
+AC_SUBST(LIBRPCPARAM_A)
AC_SUBST(LIBTCLPARAM_A)
AC_SUBST(ALLPARAM_H)
-# Makefile.in generated by automake 1.7.6 from Makefile.am.
+# Makefile.in generated by automake 1.7.8 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
LIBFILEPARAM_A = @LIBFILEPARAM_A@
LIBOBJS = @LIBOBJS@
LIBORAPARAM_A = @LIBORAPARAM_A@
+LIBRPCPARAM_A = @LIBRPCPARAM_A@
LIBS = @LIBS@
LIBTCLPARAM_A = @LIBTCLPARAM_A@
LTLIBOBJS = @LTLIBOBJS@
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
DIST_SOURCES = $(paget_SOURCES) $(pastore_SOURCES)
-DIST_COMMON = Makefile.am Makefile.in
+DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
SOURCES = $(paget_SOURCES) $(pastore_SOURCES)
all: all-am
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paget.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pastore.Po@am__quote@
-distclean-depend:
- -rm -rf ./$(DEPDIR)
-
.c.o:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
clean-generic:
distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
+ -rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-
-distclean-am: clean-am distclean-compile distclean-depend \
- distclean-generic distclean-tags
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
dvi: dvi-am
installcheck-am:
maintainer-clean: maintainer-clean-am
-
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic ctags distclean distclean-compile \
- distclean-depend distclean-generic distclean-tags distdir dvi \
- dvi-am info info-am install install-am install-binPROGRAMS \
- install-data install-data-am install-exec install-exec-am \
- install-info install-info-am install-man install-strip \
- installcheck installcheck-am installdirs maintainer-clean \
+ distclean-generic distclean-tags distdir dvi dvi-am info \
+ info-am install install-am install-binPROGRAMS install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
uninstall-am uninstall-binPROGRAMS uninstall-info-am
--- /dev/null
+static const char rcsId[] =
+ "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/rpc/rpcParam.c,v 1.1 2004-04-07 07:46:36 muench Exp $";
+#define _POSIX_C_SOURCE 199509L
+
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif /* HAVE_CONFIG_H */
+
+#include <unistd.h>
+
+#include <ctype.h>
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <rpc/rpc.h>
+#include <sys/stat.h>
+#include <sys/utsname.h>
+
+#include "../include/allParam.h"
+
+#include "rpcParam.h"
+
+static void Param_strerror(Param *, const char *);
+
+typedef struct RpcParamS {
+ CLIENT *cl;
+ unsigned long remParam;
+} RpcParam;
+
+int conSetupParam(Param *my, const char *setup)
+{
+ int retVal = 0;
+
+ my->strerror = NULL;
+
+ if (setup != NULL) {
+ my->setup = malloc(strlen(setup) + 1);
+ strcpy(my->setup, setup);
+ } else {
+ my->setup = NULL;
+ }
+
+ my->specParam = malloc(sizeof(RpcParam));
+ ((RpcParam *)my->specParam)->cl = clnt_create("localhost", RPCPARAMPROG, RPCPARAMVERS, "tcp");
+ if (((RpcParam *)my->specParam)->cl == NULL) {
+ clnt_pcreateerror("localhost");
+ retVal = -1;
+ } else {
+ char *arg;
+
+ arg = setup == NULL ? "" : setup;
+ ((RpcParam *)my->specParam)->remParam = *con_1(&arg, ((RpcParam *)my->specParam)->cl);
+ printf("%p\n", ((RpcParam *)my->specParam)->remParam);
+ }
+
+ return retVal;
+}
+
+int conParam(Param *my)
+{
+ return conSetupParam(my, NULL);
+}
+
+void desParam(Param *my)
+{
+ printf("%p\n", ((RpcParam *)my->specParam)->remParam);
+ des_1(&((RpcParam *)my->specParam)->remParam, ((RpcParam *)my->specParam)->cl);
+ if (((RpcParam *)my->specParam)->cl != NULL) {
+ clnt_destroy(((RpcParam *)my->specParam)->cl);
+ }
+ free((RpcParam *) (my->specParam));
+ free(my->setup);
+}
+
+int Param_getInt(const Param *my, const char *name, const char *idx,
+ int *row, unsigned long int *val)
+{
+ Args argsS, *args = &argsS;
+ Res *res;
+
+ args->param = ((RpcParam *)my->specParam)->remParam;
+ args->name = name;
+ args->idx = idx;
+ res = getint_1(args, ((RpcParam *)my->specParam)->cl);
+ *row = res->rows;
+ *val = res->value;
+
+ return res->ret;
+}
+
+int Param_getString(const Param *my, const char *name, const char *idx,
+ int *row, char *val)
+{
+#if 0
+ return Param_getStringArray(my, name, idx, 1, row, &val);
+#endif
+}
+
+int Param_getFilename(const Param *my, const char *name, const char *idx,
+ int *row, char *val)
+{
+ int retVal = 0;
+#if 0
+ int rows = 0;
+ char value[PARAM_MAX_VALUE_LEN];
+
+ if (((retVal = Param_getString(my, name, idx, &rows, value)) == 0)
+ && (rows == 1)) {
+ if (value[0] == '/') {
+ strcpy(val, value);
+ } else {
+ strcpy(val, my->basedir);
+ strcat(val, value);
+ }
+ *row = 1;
+ } else {
+ *row = 0;
+ }
+#endif
+ return retVal;
+}
+
+int Param_getIntArray(const Param *my, const char *name, const char *idx,
+ int maxrows, int *rows, unsigned long int *val)
+{
+ int retVal = 0;
+#if 0
+ int i;
+ char *endptr;
+ char *strval[PARAM_MAX_ARRAY_LEN];
+
+ for (i = 0; i < maxrows; i++) {
+ strval[i] = malloc(PARAM_MAX_VALUE_LEN * sizeof(char));
+ }
+ *rows = 0;
+ if ((retVal |=
+ Param_getStringArray(my, name, idx, maxrows, rows, strval)) == 0) {
+ for (i = 0; i < *rows; i++) {
+ val[i] = strtoul(strval[i], &endptr, 0);
+ if (*endptr != '\0') {
+ *rows = 0;
+ retVal = -1;
+ Param_strerror((Param *) my,
+ "Value seems to be no integer.");
+ }
+ }
+ }
+ for (i = 0; i < maxrows; i++) {
+ free(strval[i]);
+ }
+#endif
+ return retVal;
+}
+
+int Param_getStringArray(const Param *my, const char *name, const char *idx,
+ int maxrows, int *rows, char **val)
+{
+ int retVal = 0;
+#if 0
+ int i;
+ char lname[PARAM_MAX_NAME_LEN];
+ char lidx[PARAM_MAX_NAME_LEN];
+
+ for (i = 0; i <= strlen(name); i++) {
+ lname[i] = tolower(name[i]);
+ }
+ for (i = 0; i <= strlen(idx); i++) {
+ lidx[i] = tolower(idx[i]);
+ }
+
+ *rows = 0;
+#ifdef PTHREADS
+ if (0 == pthread_mutex_lock(((TclParam *) (my->specParam))->interpLock)) {
+#endif /* PTHREADS */
+ if (Tcl_GetVar2
+ (((TclParam *) (my->specParam))->interp, lname, lidx, 0) != 0) {
+ strcpy(val[0],
+ Tcl_GetVar2(((TclParam *) (my->specParam))->interp,
+ lname, lidx, 0));
+ *rows = 1;
+ } else {
+ char index[PARAM_MAX_NAME_LEN];
+ for (i = 0; i < maxrows; i++) {
+ sprintf(index, "%s%d", lidx, i);
+ if (Tcl_GetVar2
+ (((TclParam *) (my->specParam))->interp, lname, index,
+ 0) != 0) {
+ strcpy(val[i],
+ Tcl_GetVar2(((TclParam *) (my->specParam))->
+ interp, lname, index, 0));
+ (*rows)++;
+ } else {
+ i = maxrows;
+ }
+ }
+ }
+#ifdef PTHREADS
+ pthread_mutex_unlock(((TclParam *) (my->specParam))->interpLock);
+ }
+#endif /* PTHREADS */
+#endif
+ return retVal;
+}
+
+int Param_getFilenameArray(const Param *my, const char *name,
+ const char *idx, int maxrows, int *rows,
+ char **val)
+{
+ int retVal = 0;
+#if 0
+ int i;
+ char *value[PARAM_MAX_ARRAY_LEN];
+
+ for (i = 0; i < maxrows; i++) {
+ value[i] = malloc(PARAM_MAX_VALUE_LEN);
+ }
+
+ if (((retVal =
+ Param_getStringArray(my, name, idx, maxrows, rows, value)) == 0)
+ && (*rows > 0)) {
+ for (i = 0; i < *rows; i++) {
+ if (value[i][0] != '/') {
+ strcpy(val[i], my->basedir);
+ strcat(val[i], value[i]);
+ } else {
+ strcpy(val[i], value[i]);
+ }
+ }
+ } else {
+ *rows = 0;
+ }
+
+ for (i = 0; i < maxrows; i++) {
+ free(value[i]);
+ }
+
+#endif
+ return retVal;
+}
+
+int Param_getBlob(const Param *my, const char *name, const char *idx,
+ size_t * size, FILE ** val)
+{
+ int retVal = 0;
+#if 0
+ char filename[PARAM_MAX_VALUE_LEN];
+ int rows;
+ FILE *stream;
+
+ retVal = Param_getFilename(my, name, idx, &rows, filename);
+ if ((rows == 0) || (stream = fopen(filename, "r")) == NULL) {
+ Param_strerror((Param *) my, strerror(errno));
+ *size = 0;
+ retVal = -1;
+ } else {
+ struct stat fileS, *file = &fileS;
+ stat(filename, file);
+ *size = (size_t) file->st_size;
+ *val = stream;
+ }
+#endif
+ return retVal;
+}
+
+int Param_storeInt(const Param *my, const char *name, const char *idx,
+ unsigned long int value)
+{
+#if 0
+ char buf[7 + 2 * PARAM_MAX_NAME_LEN + PARAM_MAX_VALUE_LEN];
+ sprintf(buf, "set %s(%s)\t%lu\n", name, idx, value);
+ fprintf(((TclParam *) (my->specParam))->store, buf);
+ fflush(((TclParam *) (my->specParam))->store);
+#ifdef PTHREADS
+ if (0 == pthread_mutex_lock(((TclParam *) (my->specParam))->interpLock)) {
+#endif /* PTHREADS */
+ Tcl_Eval(((TclParam *) (my->specParam))->interp, buf);
+#ifdef PTHREADS
+ pthread_mutex_unlock(((TclParam *) (my->specParam))->interpLock);
+ }
+#endif /* PTHREADS */
+#endif
+ return 0;
+}
+
+int Param_storeString(const Param *my, const char *name, const char *idx,
+ const char *value)
+{
+#if 0
+ char buf[7 + 2 * PARAM_MAX_NAME_LEN + PARAM_MAX_VALUE_LEN];
+ sprintf(buf, "set %s(%s)\t\"%s\"\n", name, idx, value);
+ fprintf(((TclParam *) (my->specParam))->store, buf);
+ fflush(((TclParam *) (my->specParam))->store);
+#ifdef PTHREADS
+ if (0 == pthread_mutex_lock(((TclParam *) (my->specParam))->interpLock)) {
+#endif /* PTHREADS */
+ Tcl_Eval(((TclParam *) (my->specParam))->interp, buf);
+#ifdef PTHREADS
+ pthread_mutex_unlock(((TclParam *) (my->specParam))->interpLock);
+ }
+#endif /* PTHREADS */
+#endif
+ return 0;
+}
+
+void Param_clearCache(const Param *my)
+{
+}
+
+const char *Param_getErrStr(const Param *my)
+{
+ return my->strerror;
+}
+
+static void Param_strerror(Param *my, const char *strerror)
+{
+ my->strerror = realloc(my->strerror, strlen(strerror) + 1);
+ if (my->strerror != NULL) {
+ strcpy(my->strerror, strerror);
+ }
+}
--- /dev/null
+struct Args {
+ unsigned long param;
+ string name<>;
+ string idx<>;
+};
+
+struct Res {
+ int ret;
+ int rows;
+ unsigned long int value;
+};
+
+program RPCPARAMPROG {
+ version RPCPARAMVERS {
+ unsigned long CON(string setup) = 1;
+ void DES(unsigned long param) = 2;
+ Res GETINT(Args) = 3;
+ } = 1;
+} = 0x20004711;
--- /dev/null
+#include <rpc/rpc.h>
+#include <string.h>
+
+#include <allParam.h>
+
+#include "rpcParam.h"
+
+unsigned long *con_1_svc(char **setup, struct svc_req *svcReq) {
+ static unsigned long res;
+ Param *p;
+
+ p = malloc(sizeof(Param));
+ if (conSetupParam(p, strcmp(*setup, "") == 0 ? NULL : *setup) == -1) {
+ free(p);
+ p = NULL;
+ }
+ printf("%p\n", p);
+ res = p;
+
+ return &res;
+}
+
+void *des_1_svc(unsigned long *arg, struct svc_req *svcReq) {
+ Param *p = *arg;
+
+ printf("%p\n", p);
+ desParam(p);
+ free(p);
+
+ return arg;
+}
+
+Res *getint_1_svc(Args *args, struct svc_req *svcReq) {
+ static Res resS, *res = &resS;
+ Param *p = (Param *)args->param;
+
+ res->ret = Param_getInt(p, args->name, args->idx, &res->rows, &res->value);
+
+ return res;
+}
LOADPSQLLIBES = -L../psql -lpsqlParam -lpq -lcrypt
# Tcl test
LOADTCLLIBES = -L../tcl -ltclParam -ltcl -lm -ldl
+# Rpc test
+LOADRPCLIBES = -L.. -lrpcParam
HEADERS = blob/*.h filename/*.h int/*.h string/*.h
CFLAGS = -Wall -I../include
OBJS = suite.o blobobjs filenameobjs intobjs stringobjs
-LIBS = ca file ora psql tcl
+LIBS = ca file ora psql tcl rpc
-ca_test file_test ora_test psql_test tcl_test : links
+ca_test file_test ora_test psql_test tcl_test rpc_test: links
$(RM) $@_suite
$(MAKE) $@_suite
bin/pre_$@.sh
tcl_test_suite : $(OBJS)
$(CC) $(LDFLAGS) suite.o blob/*.o filename/*.o int/*.o string/*.o \
$(LOADTCLLIBES) -o $@
+rpc_test_suite : $(OBJS)
+ $(CC) $(LDFLAGS) suite.o blob/*.o filename/*.o int/*.o string/*.o \
+ $(LOADRPCLIBES) -o $@
suite.o : suite.c $(HEADERS)
suite.c :
#include "i_conparam.h"
-int i_conparam(const char *testid) {
+#define VERBOSE
+
+int i_conparam(const char *testid)
+{
Param *param;
char *name = "tname";
char *idx = "tint";
return myRetVal;
}
-