libcapi20 version 3.0.0

- add SENDING COMPLETE in ALERT_REQ
 - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ

* NOTE: incompatible to 2.X.Y versions
This commit is contained in:
keil 2005-02-21 17:37:06 +00:00
parent d74af7676f
commit e9b93ccab1
17 changed files with 4837 additions and 2408 deletions

View File

@ -9,7 +9,7 @@ lib_LTLIBRARIES = libcapi20.la
lib_LIBRARIES = libcapi20dyn.a lib_LIBRARIES = libcapi20dyn.a
libcapi20_la_SOURCES = capi20.c capifunc.c convert.c libcapi20_la_SOURCES = capi20.c capifunc.c convert.c
libcapi20_la_LDFLAGS = -version-info 2:9:0 libcapi20_la_LDFLAGS = -version-info 3:0:0
libcapi20_la_CFLAGS = -fno-strict-aliasing libcapi20_la_CFLAGS = -fno-strict-aliasing
libcapi20dyn_a_SOURCES = capidyn.c libcapi20dyn_a_SOURCES = capidyn.c

View File

@ -1,6 +1,8 @@
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Makefile.in generated by automake 1.8.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -10,215 +12,345 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. # PARTICULAR PURPOSE.
@SET_MAKE@
SHELL = @SHELL@
SOURCES = $(libcapi20dyn_a_SOURCES) $(libcapi20_la_SOURCES)
srcdir = @srcdir@ srcdir = @srcdir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@ pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = . top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
ACLOCAL = @ACLOCAL@ install_sh_DATA = $(install_sh) -c -m 644
AUTOCONF = @AUTOCONF@ install_sh_PROGRAM = $(install_sh) -c
AUTOMAKE = @AUTOMAKE@ install_sh_SCRIPT = $(install_sh) -c
AUTOHEADER = @AUTOHEADER@ INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = : NORMAL_INSTALL = :
PRE_INSTALL = : PRE_INSTALL = :
POST_INSTALL = : POST_INSTALL = :
NORMAL_UNINSTALL = : NORMAL_UNINSTALL = :
PRE_UNINSTALL = : PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
DIST_COMMON = $(am__configure_deps) $(include_HEADERS) \
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/configure compile config.guess config.sub \
install-sh ltmain.sh missing mkinstalldirs
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
ARFLAGS = cru
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
libLIBRARIES_INSTALL = $(INSTALL_DATA)
LIBRARIES = $(lib_LIBRARIES)
libcapi20dyn_a_AR = $(AR) $(ARFLAGS)
libcapi20dyn_a_LIBADD =
am_libcapi20dyn_a_OBJECTS = libcapi20dyn_a-capidyn.$(OBJEXT)
libcapi20dyn_a_OBJECTS = $(am_libcapi20dyn_a_OBJECTS)
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
libcapi20_la_LIBADD =
am_libcapi20_la_OBJECTS = libcapi20_la-capi20.lo \
libcapi20_la-capifunc.lo libcapi20_la-convert.lo
libcapi20_la_OBJECTS = $(am_libcapi20_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir)
depcomp =
am__depfiles_maybe =
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(libcapi20dyn_a_SOURCES) $(libcapi20_la_SOURCES)
DIST_SOURCES = $(libcapi20dyn_a_SOURCES) $(libcapi20_la_SOURCES)
includeHEADERS_INSTALL = $(INSTALL_HEADER)
HEADERS = $(include_HEADERS)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
INSTALL = @INSTALL@
ACLOCAL = @ACLOCAL@
AMDEP_FALSE = @AMDEP_FALSE@
AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
AR = @AR@ AR = @AR@
AS = @AS@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@ CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@ CXX = @CXX@
CXXCPP = @CXXCPP@ CXXCPP = @CXXCPP@
DLLTOOL = @DLLTOOL@ CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO = @ECHO@ ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@ EGREP = @EGREP@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
F77 = @F77@ F77 = @F77@
GCJ = @GCJ@ FFLAGS = @FFLAGS@
GCJFLAGS = @GCJFLAGS@ INSTALL_DATA = @INSTALL_DATA@
HAVE_LIB = @HAVE_LIB@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL = @INSTALL@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
LIB = @LIB@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LIBTOOL_DEPS = @LIBTOOL_DEPS@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
LN_S = @LN_S@ LN_S = @LN_S@
LTLIB = @LTLIB@ LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@ MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@ OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
RC = @RC@
SED = @SED@ SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@ STRIP = @STRIP@
VERSION = @VERSION@ VERSION = @VERSION@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
datadir = @datadir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
prefix = @prefix@
program_transform_name = @program_transform_name@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
AUTOMAKE_OPTIONS = no-dependencies foreign AUTOMAKE_OPTIONS = no-dependencies foreign
CLEANFILES = *~ comperr CLEANFILES = *~ comperr
MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in config.h.in MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in config.h.in
include_HEADERS = capi20.h capiutils.h capicmd.h include_HEADERS = capi20.h capiutils.h capicmd.h
lib_LTLIBRARIES = libcapi20.la lib_LTLIBRARIES = libcapi20.la
lib_LIBRARIES = libcapi20dyn.a lib_LIBRARIES = libcapi20dyn.a
libcapi20_la_SOURCES = capi20.c capifunc.c convert.c libcapi20_la_SOURCES = capi20.c capifunc.c convert.c
libcapi20_la_LDFLAGS = -version-info 2:9:0 libcapi20_la_LDFLAGS = -version-info 3:0:0
libcapi20_la_CFLAGS = -fno-strict-aliasing libcapi20_la_CFLAGS = -fno-strict-aliasing
libcapi20dyn_a_SOURCES = capidyn.c libcapi20dyn_a_SOURCES = capidyn.c
libcapi20dyn_a_CFLAGS = -fPIC libcapi20dyn_a_CFLAGS = -fPIC
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 all: all-am
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
LIBRARIES = $(lib_LIBRARIES)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libcapi20dyn_a_LIBADD =
libcapi20dyn_a_OBJECTS = capidyn.$(OBJEXT)
LTLIBRARIES = $(lib_LTLIBRARIES)
libcapi20_la_LIBADD =
libcapi20_la_OBJECTS = capi20.lo capifunc.lo convert.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
HEADERS = $(include_HEADERS)
DIST_COMMON = Makefile.am Makefile.in aclocal.m4 config.guess \
config.sub configure configure.in install-sh ltconfig ltmain.sh missing \
mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(libcapi20dyn_a_SOURCES) $(libcapi20_la_SOURCES)
OBJECTS = $(libcapi20dyn_a_OBJECTS) $(libcapi20_la_OBJECTS)
all: all-redirect
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s .SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) am--refresh:
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile @:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
cd $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \ @case '$?' in \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status *config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(ACLOCAL_M4): configure.in $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck $(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
$(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF) cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
mostlyclean-libLIBRARIES: cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
clean-libLIBRARIES:
-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
distclean-libLIBRARIES:
maintainer-clean-libLIBRARIES:
install-libLIBRARIES: $(lib_LIBRARIES) install-libLIBRARIES: $(lib_LIBRARIES)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
@list='$(lib_LIBRARIES)'; for p in $$list; do \ @list='$(lib_LIBRARIES)'; for p in $$list; do \
if test -f $$p; then \ if test -f $$p; then \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \ f="`echo $$p | sed -e 's|^.*/||'`"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \ echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
$(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
else :; fi; \ else :; fi; \
done done
@$(POST_INSTALL) @$(POST_INSTALL)
@list='$(lib_LIBRARIES)'; for p in $$list; do \ @list='$(lib_LIBRARIES)'; for p in $$list; do \
if test -f $$p; then \ if test -f $$p; then \
echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ p="`echo $$p | sed -e 's|^.*/||'`"; \
$(RANLIB) $(DESTDIR)$(libdir)/$$p; \ echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \
$(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \
else :; fi; \ else :; fi; \
done done
uninstall-libLIBRARIES: uninstall-libLIBRARIES:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
list='$(lib_LIBRARIES)'; for p in $$list; do \ @list='$(lib_LIBRARIES)'; for p in $$list; do \
rm -f $(DESTDIR)$(libdir)/$$p; \ p="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
rm -f "$(DESTDIR)$(libdir)/$$p"; \
done done
.c.o: clean-libLIBRARIES:
$(COMPILE) -c $< -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
libcapi20dyn.a: $(libcapi20dyn_a_OBJECTS) $(libcapi20dyn_a_DEPENDENCIES)
-rm -f libcapi20dyn.a
$(libcapi20dyn_a_AR) libcapi20dyn.a $(libcapi20dyn_a_OBJECTS) $(libcapi20dyn_a_LIBADD)
$(RANLIB) libcapi20dyn.a
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
else :; fi; \
done
# FIXME: We should only use cygpath when building on Windows, uninstall-libLTLIBRARIES:
# and only if it is available. @$(NORMAL_UNINSTALL)
.c.obj: @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
$(COMPILE) -c `cygpath -w $<` p="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
done
.s.o: clean-libLTLIBRARIES:
$(COMPILE) -c $< -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
.S.o: dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
$(COMPILE) -c $< test "$$dir" = "$$p" && dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
libcapi20.la: $(libcapi20_la_OBJECTS) $(libcapi20_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
mostlyclean-compile: mostlyclean-compile:
-rm -f *.o core *.core
-rm -f *.$(OBJEXT) -rm -f *.$(OBJEXT)
clean-compile:
distclean-compile: distclean-compile:
-rm -f *.tab.c -rm -f *.tab.c
maintainer-clean-compile: .c.o:
$(COMPILE) -c $<
.c.obj:
$(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo: .c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $< $(LTCOMPILE) -c -o $@ $<
.s.lo: libcapi20dyn_a-capidyn.o: capidyn.c
$(LIBTOOL) --mode=compile $(COMPILE) -c $< $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20dyn_a_CFLAGS) $(CFLAGS) -c -o libcapi20dyn_a-capidyn.o `test -f 'capidyn.c' || echo '$(srcdir)/'`capidyn.c
.S.lo: libcapi20dyn_a-capidyn.obj: capidyn.c
$(LIBTOOL) --mode=compile $(COMPILE) -c $< $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20dyn_a_CFLAGS) $(CFLAGS) -c -o libcapi20dyn_a-capidyn.obj `if test -f 'capidyn.c'; then $(CYGPATH_W) 'capidyn.c'; else $(CYGPATH_W) '$(srcdir)/capidyn.c'; fi`
libcapi20dyn_a-capidyn.lo: capidyn.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20dyn_a_CFLAGS) $(CFLAGS) -c -o libcapi20dyn_a-capidyn.lo `test -f 'capidyn.c' || echo '$(srcdir)/'`capidyn.c
libcapi20_la-capi20.o: capi20.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capi20.o `test -f 'capi20.c' || echo '$(srcdir)/'`capi20.c
libcapi20_la-capi20.obj: capi20.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capi20.obj `if test -f 'capi20.c'; then $(CYGPATH_W) 'capi20.c'; else $(CYGPATH_W) '$(srcdir)/capi20.c'; fi`
libcapi20_la-capi20.lo: capi20.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capi20.lo `test -f 'capi20.c' || echo '$(srcdir)/'`capi20.c
libcapi20_la-capifunc.o: capifunc.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capifunc.o `test -f 'capifunc.c' || echo '$(srcdir)/'`capifunc.c
libcapi20_la-capifunc.obj: capifunc.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capifunc.obj `if test -f 'capifunc.c'; then $(CYGPATH_W) 'capifunc.c'; else $(CYGPATH_W) '$(srcdir)/capifunc.c'; fi`
libcapi20_la-capifunc.lo: capifunc.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-capifunc.lo `test -f 'capifunc.c' || echo '$(srcdir)/'`capifunc.c
libcapi20_la-convert.o: convert.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-convert.o `test -f 'convert.c' || echo '$(srcdir)/'`convert.c
libcapi20_la-convert.obj: convert.c
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-convert.obj `if test -f 'convert.c'; then $(CYGPATH_W) 'convert.c'; else $(CYGPATH_W) '$(srcdir)/convert.c'; fi`
libcapi20_la-convert.lo: convert.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcapi20_la_CFLAGS) $(CFLAGS) -c -o libcapi20_la-convert.lo `test -f 'convert.c' || echo '$(srcdir)/'`convert.c
mostlyclean-libtool: mostlyclean-libtool:
-rm -f *.lo -rm -f *.lo
@ -227,219 +359,300 @@ clean-libtool:
-rm -rf .libs _libs -rm -rf .libs _libs
distclean-libtool: distclean-libtool:
-rm -f libtool
maintainer-clean-libtool: uninstall-info-am:
libcapi20dyn.a: $(libcapi20dyn_a_OBJECTS) $(libcapi20dyn_a_DEPENDENCIES)
-rm -f libcapi20dyn.a
$(AR) cru libcapi20dyn.a $(libcapi20dyn_a_OBJECTS) $(libcapi20dyn_a_LIBADD)
$(RANLIB) libcapi20dyn.a
mostlyclean-libLTLIBRARIES:
clean-libLTLIBRARIES:
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
distclean-libLTLIBRARIES:
maintainer-clean-libLTLIBRARIES:
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
else :; fi; \
done
uninstall-libLTLIBRARIES:
@$(NORMAL_UNINSTALL)
list='$(lib_LTLIBRARIES)'; for p in $$list; do \
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
done
libcapi20.la: $(libcapi20_la_OBJECTS) $(libcapi20_la_DEPENDENCIES)
$(LINK) -rpath $(libdir) $(libcapi20_la_LDFLAGS) $(libcapi20_la_OBJECTS) $(libcapi20_la_LIBADD) $(LIBS)
install-includeHEADERS: $(include_HEADERS) install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(includedir) test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
@list='$(include_HEADERS)'; for p in $$list; do \ @list='$(include_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \ f="`echo $$p | sed -e 's|^.*/||'`"; \
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
$(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
done done
uninstall-includeHEADERS: uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
list='$(include_HEADERS)'; for p in $$list; do \ @list='$(include_HEADERS)'; for p in $$list; do \
rm -f $(DESTDIR)$(includedir)/$$p; \ f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
rm -f "$(DESTDIR)$(includedir)/$$f"; \
done done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
list='$(SOURCES) $(HEADERS)'; \ $(TAGS_FILES) $(LISP)
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \ tags=; \
here=`pwd`; \ here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do echo $$i; done | \ unique=`for i in $$list; do \
awk ' { files[$$0] = 1; } \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \ END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ test -z "$(ETAGS_ARGS)$$tags$$unique" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
mostlyclean-tags: GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
clean-tags: && cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags: distclean-tags:
-rm -f TAGS ID -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
maintainer-clean-tags: distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
distdir = $(PACKAGE)-$(VERSION) dist-bzip2: distdir
top_distdir = $(distdir) $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then # This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another # it guarantees that the distribution is self-contained by making another
# tarfile. # tarfile.
distcheck: dist distcheck: dist
-rm -rf $(distdir) case '$(DIST_ARCHIVES)' in \
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz *.tar.gz*) \
mkdir $(distdir)/=build GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
mkdir $(distdir)/=inst *.tar.bz2*) \
dc_install_base=`cd $(distdir)/=inst && pwd`; \ bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
cd $(distdir)/=build \ *.tar.Z*) \
&& ../configure --srcdir=.. --prefix=$$dc_install_base \ uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) dist && $(MAKE) $(AM_MAKEFLAGS) uninstall \
-rm -rf $(distdir) && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
@banner="$(distdir).tar.gz is ready for distribution"; \ distuninstallcheck \
dashes=`echo "$$banner" | sed s/./=/g`; \ && chmod -R a-w "$$dc_install_base" \
echo "$$dashes"; \ && ({ \
echo "$$banner"; \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
echo "$$dashes" && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
dist: distdir && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
-chmod -R a+r $(distdir) && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
-rm -rf $(distdir) } || { rm -rf "$$dc_destdir"; exit 1; }) \
dist-all: distdir && rm -rf "$$dc_destdir" \
-chmod -R a+r $(distdir) && $(MAKE) $(AM_MAKEFLAGS) dist \
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) && rm -rf $(DIST_ARCHIVES) \
-rm -rf $(distdir) && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
distdir: $(DISTFILES) $(am__remove_distdir)
-rm -rf $(distdir) @(echo "$(distdir) archives ready for distribution: "; \
mkdir $(distdir) list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
-chmod 777 $(distdir) sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
@for file in $(DISTFILES); do \ distuninstallcheck:
d=$(srcdir); \ @cd $(distuninstallcheck_dir) \
if test -d $$d/$$file; then \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
cp -pr $$d/$$file $(distdir)/$$file; \ || { echo "ERROR: files left after uninstall:" ; \
else \ if test -n "$(DESTDIR)"; then \
test -f $(distdir)/$$file \ echo " (check DESTDIR support)"; \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ fi ; \
|| cp -p $$d/$$file $(distdir)/$$file || :; \ $(distuninstallcheck_listfiles) ; \
fi; \ exit 1; } >&2
done distcleancheck: distclean
info-am: @if test '$(srcdir)' = . ; then \
info: info-am echo "ERROR: distcleancheck can only run from a VPATH build" ; \
dvi-am: exit 1 ; \
dvi: dvi-am fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am check-am: all-am
check: check-am check: check-am
installcheck-am: all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS)
installcheck: installcheck-am installdirs:
install-exec-am: install-libLIBRARIES install-libLTLIBRARIES for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
test -z "$$dir" || $(mkdir_p) "$$dir"; \
done
install: install-am
install-exec: install-exec-am install-exec: install-exec-am
install-data-am: install-includeHEADERS
install-data: install-data-am install-data: install-data-am
uninstall: uninstall-am
install-am: all-am install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLIBRARIES uninstall-libLTLIBRARIES \ installcheck: installcheck-am
uninstall-includeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(HEADERS)
all-redirect: all-am
install-strip: install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
installdirs: install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(libdir) \ `test -z '$(STRIP)' || \
$(DESTDIR)$(includedir) echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic: mostlyclean-generic:
clean-generic: clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic: distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic: 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 "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am: mostlyclean-libLIBRARIES mostlyclean-compile \ clean: clean-am
mostlyclean-libtool mostlyclean-libLTLIBRARIES \
mostlyclean-tags mostlyclean-generic clean-am: clean-generic clean-libLIBRARIES clean-libLTLIBRARIES \
clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-libtool distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
info: info-am
info-am:
install-data-am: install-includeHEADERS
install-exec-am: install-libLIBRARIES install-libLTLIBRARIES
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am mostlyclean: mostlyclean-am
clean-am: clean-libLIBRARIES clean-compile clean-libtool \ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
clean-libLTLIBRARIES clean-tags clean-generic \ mostlyclean-libtool
mostlyclean-am
clean: clean-am pdf: pdf-am
distclean-am: distclean-libLIBRARIES distclean-compile \ pdf-am:
distclean-libtool distclean-libLTLIBRARIES \
distclean-tags distclean-generic clean-am
-rm -f libtool
distclean: distclean-am ps: ps-am
-rm -f config.status
maintainer-clean-am: maintainer-clean-libLIBRARIES \ ps-am:
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-libLTLIBRARIES maintainer-clean-tags \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am uninstall-am: uninstall-includeHEADERS uninstall-info-am \
-rm -f config.status uninstall-libLIBRARIES uninstall-libLTLIBRARIES
.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \ .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \ clean-generic clean-libLIBRARIES clean-libLTLIBRARIES \
install-libLIBRARIES mostlyclean-compile distclean-compile \ clean-libtool ctags dist dist-all dist-bzip2 dist-gzip \
clean-compile maintainer-clean-compile mostlyclean-libtool \ dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-libtool clean-libtool maintainer-clean-libtool \ distclean-compile distclean-generic distclean-libtool \
mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \ distclean-tags distcleancheck distdir distuninstallcheck dvi \
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \ dvi-am html html-am info info-am install install-am \
uninstall-libLTLIBRARIES install-libLTLIBRARIES \ install-data install-data-am install-exec install-exec-am \
uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \ install-includeHEADERS install-info install-info-am \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ install-libLIBRARIES install-libLTLIBRARIES install-man \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-strip installcheck installcheck-am installdirs \
install-exec install-data-am install-data install-am install \ maintainer-clean maintainer-clean-generic mostlyclean \
uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
mostlyclean-generic distclean-generic clean-generic \ pdf pdf-am ps ps-am tags uninstall uninstall-am \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean uninstall-includeHEADERS uninstall-info-am \
uninstall-libLIBRARIES uninstall-libLTLIBRARIES
stamp-h.in stamp-h.in
# libcapi20_la_LIBADD = $(LIBADD_DL) # libcapi20_la_LIBADD = $(LIBADD_DL)
@ -450,7 +663,6 @@ export SED
libtool: $(LIBTOOL_DEPS) libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck $(SHELL) ./config.status --recheck
# Tell versions [3.59,3.63) of GNU make to not export all variables. # 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. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:

1901
capi20/aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,14 @@
/* /*
* $Id: capi20.c,v 1.24 2004/12/15 14:27:54 calle Exp $ * $Id: capi20.c,v 1.25 2005/02/21 17:37:06 keil Exp $
* *
* $Log: capi20.c,v $ * $Log: capi20.c,v $
* Revision 1.25 2005/02/21 17:37:06 keil
* libcapi20 version 3.0.0
* - add SENDING COMPLETE in ALERT_REQ
* - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ
*
* * NOTE: incompatible to 2.X.Y versions
*
* Revision 1.24 2004/12/15 14:27:54 calle * Revision 1.24 2004/12/15 14:27:54 calle
* Bugfix: returncode of get_buffer() is now checked. * Bugfix: returncode of get_buffer() is now checked.
* *
@ -492,7 +499,7 @@ capi20_get_message (unsigned ApplID, unsigned char **Buf)
fd = applid2fd(ApplID); fd = applid2fd(ApplID);
if ((*Buf = rcvbuf = get_buffer(ApplID, &bufsiz, &offset)) == 0) if ((*Buf = rcvbuf = get_buffer(ApplID, &bufsiz, &offset)) == 0)
return CapiMsgOSResourceError; return CapiMsgOSResourceErr;
if ((rc = read(fd, rcvbuf, bufsiz)) > 0) { if ((rc = read(fd, rcvbuf, bufsiz)) > 0) {
CAPIMSG_SETAPPID(rcvbuf, ApplID); // workaround for old driver CAPIMSG_SETAPPID(rcvbuf, ApplID); // workaround for old driver
@ -508,6 +515,7 @@ capi20_get_message (unsigned ApplID, unsigned char **Buf)
rcvbuf[15] = (data >> 24) & 0xff; rcvbuf[15] = (data >> 24) & 0xff;
} else { } else {
u_int64_t data; u_int64_t data;
ulong radr = (ulong)rcvbuf;
if (CAPIMSG_LEN(rcvbuf) < 30) { if (CAPIMSG_LEN(rcvbuf) < 30) {
/* /*
* grr, 64bit arch, but no data64 included, * grr, 64bit arch, but no data64 included,
@ -518,7 +526,7 @@ capi20_get_message (unsigned ApplID, unsigned char **Buf)
rcvbuf[0] = 30; rcvbuf[0] = 30;
rcvbuf[1] = 0; rcvbuf[1] = 0;
} }
data = (u_int64_t)rcvbuf + CAPIMSG_LEN(rcvbuf); data = radr + CAPIMSG_LEN(rcvbuf);
rcvbuf[12] = rcvbuf[13] = rcvbuf[14] = rcvbuf[15] = 0; rcvbuf[12] = rcvbuf[13] = rcvbuf[14] = rcvbuf[15] = 0;
rcvbuf[22] = data & 0xff; rcvbuf[22] = data & 0xff;
rcvbuf[23] = (data >> 8) & 0xff; rcvbuf[23] = (data >> 8) & 0xff;

View File

@ -1,7 +1,14 @@
/* /*
* $Id: capifunc.c,v 1.6 2004/10/06 15:24:43 calle Exp $ * $Id: capifunc.c,v 1.7 2005/02/21 17:37:06 keil Exp $
* *
* $Log: capifunc.c,v $ * $Log: capifunc.c,v $
* Revision 1.7 2005/02/21 17:37:06 keil
* libcapi20 version 3.0.0
* - add SENDING COMPLETE in ALERT_REQ
* - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ
*
* * NOTE: incompatible to 2.X.Y versions
*
* Revision 1.6 2004/10/06 15:24:43 calle * Revision 1.6 2004/10/06 15:24:43 calle
* - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible * - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
* - Bugfix: capi20_register() with MaxB3Connection == 0 results in a * - Bugfix: capi20_register() with MaxB3Connection == 0 results in a
@ -30,12 +37,14 @@ unsigned ALERT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
_cstruct BChannelinformation, _cstruct BChannelinformation,
_cstruct Keypadfacility, _cstruct Keypadfacility,
_cstruct Useruserdata, _cstruct Useruserdata,
_cstruct Facilitydataarray) { _cstruct Facilitydataarray,
_cstruct SendingComplete) {
capi_cmsg_header (cmsg,ApplId,0x01,0x80,Messagenumber,adr); capi_cmsg_header (cmsg,ApplId,0x01,0x80,Messagenumber,adr);
cmsg->BChannelinformation = BChannelinformation; cmsg->BChannelinformation = BChannelinformation;
cmsg->Keypadfacility = Keypadfacility; cmsg->Keypadfacility = Keypadfacility;
cmsg->Useruserdata = Useruserdata; cmsg->Useruserdata = Useruserdata;
cmsg->Facilitydataarray = Facilitydataarray; cmsg->Facilitydataarray = Facilitydataarray;
cmsg->SendingComplete = SendingComplete;
return capi_put_cmsg (cmsg); return capi_put_cmsg (cmsg);
} }
@ -52,6 +61,7 @@ unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration, _cstruct B3configuration,
_cstruct Globalconfiguration,
_cstruct BC, _cstruct BC,
_cstruct LLC, _cstruct LLC,
_cstruct HLC, _cstruct HLC,
@ -71,6 +81,7 @@ unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
cmsg->Globalconfiguration = Globalconfiguration;
cmsg->BC = BC; cmsg->BC = BC;
cmsg->LLC = LLC; cmsg->LLC = LLC;
cmsg->HLC = HLC; cmsg->HLC = HLC;
@ -196,7 +207,8 @@ unsigned SELECT_B_PROTOCOL_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
_cword B3protocol, _cword B3protocol,
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration) { _cstruct B3configuration,
_cstruct Globalconfiguration) {
capi_cmsg_header (cmsg,ApplId,0x41,0x80,Messagenumber,adr); capi_cmsg_header (cmsg,ApplId,0x41,0x80,Messagenumber,adr);
cmsg->B1protocol = B1protocol; cmsg->B1protocol = B1protocol;
cmsg->B2protocol = B2protocol; cmsg->B2protocol = B2protocol;
@ -204,6 +216,7 @@ unsigned SELECT_B_PROTOCOL_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
cmsg->Globalconfiguration = Globalconfiguration;
return capi_put_cmsg (cmsg); return capi_put_cmsg (cmsg);
} }
@ -216,6 +229,7 @@ unsigned CONNECT_RESP (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration, _cstruct B3configuration,
_cstruct Globalconfiguration,
_cstruct ConnectedNumber, _cstruct ConnectedNumber,
_cstruct ConnectedSubaddress, _cstruct ConnectedSubaddress,
_cstruct LLC, _cstruct LLC,
@ -231,6 +245,7 @@ unsigned CONNECT_RESP (_cmsg *cmsg, _cword ApplId, _cword Messagenumber,
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
cmsg->Globalconfiguration = Globalconfiguration;
cmsg->ConnectedNumber = ConnectedNumber; cmsg->ConnectedNumber = ConnectedNumber;
cmsg->ConnectedSubaddress = ConnectedSubaddress; cmsg->ConnectedSubaddress = ConnectedSubaddress;
cmsg->LLC = LLC; cmsg->LLC = LLC;

View File

@ -204,6 +204,7 @@ typedef struct {
_cword FacilitySelector; _cword FacilitySelector;
_cword Flags; _cword Flags;
_cdword Function; _cdword Function;
_cstruct Globalconfiguration;
_cstruct HLC; _cstruct HLC;
_cword Info; _cword Info;
_cstruct InfoElement; _cstruct InfoElement;
@ -218,6 +219,7 @@ typedef struct {
_cword Reason_B3; _cword Reason_B3;
_cword Reject; _cword Reject;
_cstruct Useruserdata; _cstruct Useruserdata;
_cstruct SendingComplete;
unsigned char *Data; unsigned char *Data;
/* intern */ /* intern */
@ -357,6 +359,8 @@ char *capi_message2str(_cbyte * msg);
/* Data link layer parameter */ /* Data link layer parameter */
#define CONNECT_REQ_B3CONFIGURATION(x) ((x)->B3configuration) #define CONNECT_REQ_B3CONFIGURATION(x) ((x)->B3configuration)
/* Network layer parameter */ /* Network layer parameter */
#define CONNECT_REQ_GLOBALCONFIGURATION(x) ((x)->Globalconfiguration)
/* all layer parameter */
#define CONNECT_REQ_BC(x) ((x)->BC) #define CONNECT_REQ_BC(x) ((x)->BC)
/* Bearer Capability */ /* Bearer Capability */
#define CONNECT_REQ_LLC(x) ((x)->LLC) #define CONNECT_REQ_LLC(x) ((x)->LLC)
@ -446,6 +450,8 @@ char *capi_message2str(_cbyte * msg);
/* Data link layer parameter */ /* Data link layer parameter */
#define CONNECT_RESP_B3CONFIGURATION(x) ((x)->B3configuration) #define CONNECT_RESP_B3CONFIGURATION(x) ((x)->B3configuration)
/* Network layer parameter */ /* Network layer parameter */
#define CONNECT_RESP_GLOBALCONFIGURATION(x) ((x)->Globalconfiguration)
/* all layer parameter */
#define CONNECT_RESP_CONNECTEDNUMBER(x) ((x)->ConnectedNumber) #define CONNECT_RESP_CONNECTEDNUMBER(x) ((x)->ConnectedNumber)
/* Connected number */ /* Connected number */
#define CONNECT_RESP_CONNECTEDSUBADDRESS(x) ((x)->ConnectedSubaddress) #define CONNECT_RESP_CONNECTEDSUBADDRESS(x) ((x)->ConnectedSubaddress)
@ -812,6 +818,8 @@ char *capi_message2str(_cbyte * msg);
/* Data link layer parameter */ /* Data link layer parameter */
#define SELECT_B_PROTOCOL_REQ_B3CONFIGURATION(x) ((x)->B3configuration) #define SELECT_B_PROTOCOL_REQ_B3CONFIGURATION(x) ((x)->B3configuration)
/* Network layer parameter */ /* Network layer parameter */
#define SELECT_B_PROTOCOL_REQ_GLOBALCONFIGURATION(x) ((x)->Globalconfiguration)
/* all layer parameter */
#define SELECT_B_PROTOCOL_CONF_PLCI(x) ((x)->adr.adrPLCI) #define SELECT_B_PROTOCOL_CONF_PLCI(x) ((x)->adr.adrPLCI)
/* Physical Link Connection Identifier */ /* Physical Link Connection Identifier */
#define SELECT_B_PROTOCOL_CONF_INFO(x) ((x)->Info) #define SELECT_B_PROTOCOL_CONF_INFO(x) ((x)->Info)
@ -918,7 +926,8 @@ unsigned ALERT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cstruct BChannelinformation ,_cstruct BChannelinformation
,_cstruct Keypadfacility ,_cstruct Keypadfacility
,_cstruct Useruserdata ,_cstruct Useruserdata
,_cstruct Facilitydataarra); ,_cstruct Facilitydataarra
,_cstruct SendingComplete);
unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cdword adr ,_cdword adr
,_cword CIPValue ,_cword CIPValue
@ -932,6 +941,7 @@ unsigned CONNECT_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cstruct B1configuration ,_cstruct B1configuration
,_cstruct B2configuration ,_cstruct B2configuration
,_cstruct B3configuration ,_cstruct B3configuration
,_cstruct Globalconfiguration
,_cstruct BC ,_cstruct BC
,_cstruct LLC ,_cstruct LLC
,_cstruct HLC ,_cstruct HLC
@ -991,7 +1001,8 @@ unsigned SELECT_B_PROTOCOL_REQ (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cword B3protocol ,_cword B3protocol
,_cstruct B1configuration ,_cstruct B1configuration
,_cstruct B2configuration ,_cstruct B2configuration
,_cstruct B3configuration); ,_cstruct B3configuration
,_cstruct Globalconfiguration);
unsigned CONNECT_RESP (_cmsg *cmsg, _cword ApplId, _cword Messagenumber unsigned CONNECT_RESP (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cdword adr ,_cdword adr
,_cword Reject ,_cword Reject
@ -1001,6 +1012,7 @@ unsigned CONNECT_RESP (_cmsg *cmsg, _cword ApplId, _cword Messagenumber
,_cstruct B1configuration ,_cstruct B1configuration
,_cstruct B2configuration ,_cstruct B2configuration
,_cstruct B3configuration ,_cstruct B3configuration
,_cstruct Globalconfiguration
,_cstruct ConnectedNumber ,_cstruct ConnectedNumber
,_cstruct ConnectedSubaddress ,_cstruct ConnectedSubaddress
,_cstruct LLC ,_cstruct LLC
@ -1097,13 +1109,15 @@ static inline void capi_fill_ALERT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messa
_cstruct BChannelinformation, _cstruct BChannelinformation,
_cstruct Keypadfacility, _cstruct Keypadfacility,
_cstruct Useruserdata, _cstruct Useruserdata,
_cstruct Facilitydataarray) _cstruct Facilitydataarray,
_cstruct SendingComplete)
{ {
capi_cmsg_header(cmsg, ApplId, 0x01, 0x80, Messagenumber, adr); capi_cmsg_header(cmsg, ApplId, 0x01, 0x80, Messagenumber, adr);
cmsg->BChannelinformation = BChannelinformation; cmsg->BChannelinformation = BChannelinformation;
cmsg->Keypadfacility = Keypadfacility; cmsg->Keypadfacility = Keypadfacility;
cmsg->Useruserdata = Useruserdata; cmsg->Useruserdata = Useruserdata;
cmsg->Facilitydataarray = Facilitydataarray; cmsg->Facilitydataarray = Facilitydataarray;
cmsg->SendingComplete = SendingComplete;
} }
static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messagenumber, static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Messagenumber,
@ -1119,6 +1133,7 @@ static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Mes
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration, _cstruct B3configuration,
_cstruct Globalconfiguration,
_cstruct BC, _cstruct BC,
_cstruct LLC, _cstruct LLC,
_cstruct HLC, _cstruct HLC,
@ -1140,6 +1155,7 @@ static inline void capi_fill_CONNECT_REQ(_cmsg * cmsg, _cword ApplId, _cword Mes
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
cmsg->Globalconfiguration = Globalconfiguration;
cmsg->BC = BC; cmsg->BC = BC;
cmsg->LLC = LLC; cmsg->LLC = LLC;
cmsg->HLC = HLC; cmsg->HLC = HLC;
@ -1219,13 +1235,15 @@ static inline void capi_fill_SELECT_B_PROTOCOL_REQ(_cmsg * cmsg, _cword ApplId,
_cword B3protocol, _cword B3protocol,
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration) _cstruct B3configuration,
_cstruct Globalconfiguration)
{ {
capi_cmsg_header(cmsg, ApplId, 0x41, 0x80, Messagenumber, adr); capi_cmsg_header(cmsg, ApplId, 0x41, 0x80, Messagenumber, adr);
cmsg->B1protocol = B1protocol; cmsg->B1protocol = B1protocol;
cmsg->B2protocol = B2protocol; cmsg->B2protocol = B2protocol;
cmsg->B3protocol = B3protocol; cmsg->B3protocol = B3protocol;
cmsg->Globalconfiguration = Globalconfiguration;
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
@ -1240,6 +1258,7 @@ static inline void capi_fill_CONNECT_RESP(_cmsg * cmsg, _cword ApplId, _cword Me
_cstruct B1configuration, _cstruct B1configuration,
_cstruct B2configuration, _cstruct B2configuration,
_cstruct B3configuration, _cstruct B3configuration,
_cstruct Globalconfiguration,
_cstruct ConnectedNumber, _cstruct ConnectedNumber,
_cstruct ConnectedSubaddress, _cstruct ConnectedSubaddress,
_cstruct LLC, _cstruct LLC,
@ -1256,6 +1275,7 @@ static inline void capi_fill_CONNECT_RESP(_cmsg * cmsg, _cword ApplId, _cword Me
cmsg->B1configuration = B1configuration; cmsg->B1configuration = B1configuration;
cmsg->B2configuration = B2configuration; cmsg->B2configuration = B2configuration;
cmsg->B3configuration = B3configuration; cmsg->B3configuration = B3configuration;
cmsg->Globalconfiguration = Globalconfiguration;
cmsg->ConnectedNumber = ConnectedNumber; cmsg->ConnectedNumber = ConnectedNumber;
cmsg->ConnectedSubaddress = ConnectedSubaddress; cmsg->ConnectedSubaddress = ConnectedSubaddress;
cmsg->LLC = LLC; cmsg->LLC = LLC;

123
capi20/config.guess vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-07-02' timestamp='2004-03-03'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@ -136,6 +136,16 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
case "${UNAME_MACHINE}" in
i?86)
test -z "$VENDOR" && VENDOR=pc
;;
*)
test -z "$VENDOR" && VENDOR=unknown
;;
esac
test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
# Note: order is significant - the case branches are not exclusive. # Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
@ -197,12 +207,18 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}" echo "${machine}-${os}${release}"
exit 0 ;; exit 0 ;;
amd64:OpenBSD:*:*)
echo x86_64-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*) amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
arc:OpenBSD:*:*) arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE} echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
cats:OpenBSD:*:*)
echo arm-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*) hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE} echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@ -221,6 +237,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
mvmeppc:OpenBSD:*:*) mvmeppc:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE} echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
pegasos:OpenBSD:*:*)
echo powerpc-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*) pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE} echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@ -236,10 +255,24 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OpenBSD:*:*) *:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit 0 ;;
macppc:MirBSD:*:*)
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit 0 ;;
alpha:OSF1:*:*) alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then case $UNAME_RELEASE in
*4.0)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi ;;
*5.*)
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on # According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that # OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU # covers most systems running today. This code pipes the CPU
@ -277,11 +310,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
"EV7.9 (21364A)") "EV7.9 (21364A)")
UNAME_MACHINE="alphaev79" ;; UNAME_MACHINE="alphaev79" ;;
esac esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version. # A Vn.n version is a released version.
# A Tn.n version is a released field test version. # A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel. # A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r. # 1.2 uses "1.2" for uname -r.
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
exit 0 ;; exit 0 ;;
Alpha*:OpenVMS:*:*) Alpha*:OpenVMS:*:*)
echo alpha-hp-vms echo alpha-hp-vms
@ -307,6 +341,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:OS/390:*:*) *:OS/390:*:*)
echo i370-ibm-openedition echo i370-ibm-openedition
exit 0 ;; exit 0 ;;
*:OS400:*:*)
echo powerpc-ibm-os400
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE} echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;; exit 0;;
@ -399,6 +436,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
echo m68k-unknown-mint${UNAME_RELEASE} echo m68k-unknown-mint${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
m68k:machten:*:*)
echo m68k-apple-machten${UNAME_RELEASE}
exit 0 ;;
powerpc:machten:*:*) powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE} echo powerpc-apple-machten${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@ -742,6 +782,11 @@ EOF
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;; exit 0 ;;
5000:UNIX_System_V:4.*:*)
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@ -751,7 +796,7 @@ EOF
*:BSD/OS:*:*) *:BSD/OS:*:*)
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:FreeBSD:*:*|*:GNU/FreeBSD:*:*) *:FreeBSD:*:*)
# Determine whether the default compiler uses glibc. # Determine whether the default compiler uses glibc.
eval $set_cc_for_build eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c sed 's/^ //' << EOF >$dummy.c
@ -763,7 +808,7 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
# GNU/FreeBSD systems have a "k" prefix to indicate we are using # GNU/KFreeBSD systems have a "k" prefix to indicate we are using
# FreeBSD's kernel, but not the complete OS. # FreeBSD's kernel, but not the complete OS.
case ${LIBC} in gnu) kernel_only='k' ;; esac case ${LIBC} in gnu) kernel_only='k' ;; esac
echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
@ -799,22 +844,27 @@ EOF
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;; exit 0 ;;
*:GNU:*:*) *:GNU:*:*)
# the GNU system
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;; exit 0 ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
exit 0 ;;
i*86:Minix:*:*) i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix echo ${UNAME_MACHINE}-pc-minix
exit 0 ;; exit 0 ;;
arm*:Linux:*:*) arm*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
cris:Linux:*:*) cris:Linux:*:*)
echo cris-axis-linux-gnu echo cris-axis-linux
exit 0 ;; exit 0 ;;
ia64:Linux:*:*) ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
m68*:Linux:*:*) m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
mips:Linux:*:*) mips:Linux:*:*)
eval $set_cc_for_build eval $set_cc_for_build
@ -833,7 +883,7 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
;; ;;
mips64:Linux:*:*) mips64:Linux:*:*)
eval $set_cc_for_build eval $set_cc_for_build
@ -852,13 +902,13 @@ EOF
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0
;; ;;
ppc:Linux:*:*) ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu echo powerpc-${VENDOR}-linux
exit 0 ;; exit 0 ;;
ppc64:Linux:*:*) ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu echo powerpc64-${VENDOR}-linux
exit 0 ;; exit 0 ;;
alpha:Linux:*:*) alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@ -871,34 +921,34 @@ EOF
EV68*) UNAME_MACHINE=alphaev68 ;; EV68*) UNAME_MACHINE=alphaev68 ;;
esac esac
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi if test "$?" = 0 ; then LIBC="-libc1" ; else LIBC="" ; fi
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} echo ${UNAME_MACHINE}-${VENDOR}-linux${LIBC}
exit 0 ;; exit 0 ;;
parisc:Linux:*:* | hppa:Linux:*:*) parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level # Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
PA7*) echo hppa1.1-unknown-linux-gnu ;; PA7*) echo hppa1.1-${VENDOR}-linux ;;
PA8*) echo hppa2.0-unknown-linux-gnu ;; PA8*) echo hppa2.0-${VENDOR}-linux ;;
*) echo hppa-unknown-linux-gnu ;; *) echo hppa-${VENDOR}-linux ;;
esac esac
exit 0 ;; exit 0 ;;
parisc64:Linux:*:* | hppa64:Linux:*:*) parisc64:Linux:*:* | hppa64:Linux:*:*)
echo hppa64-unknown-linux-gnu echo hppa64-${VENDOR}-linux
exit 0 ;; exit 0 ;;
s390:Linux:*:* | s390x:Linux:*:*) s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux echo ${UNAME_MACHINE}-ibm-linux
exit 0 ;; exit 0 ;;
sh64*:Linux:*:*) sh64*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
sh*:Linux:*:*) sh*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
sparc:Linux:*:* | sparc64:Linux:*:*) sparc:Linux:*:* | sparc64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-${VENDOR}-linux
exit 0 ;; exit 0 ;;
x86_64:Linux:*:*) x86_64:Linux:*:*)
echo x86_64-unknown-linux-gnu echo x86_64-${VENDOR}-linux
exit 0 ;; exit 0 ;;
i*86:Linux:*:*) i*86:Linux:*:*)
# The BFD linker knows what the default object file format is, so # The BFD linker knows what the default object file format is, so
@ -913,18 +963,18 @@ EOF
p'` p'`
case "$ld_supported_targets" in case "$ld_supported_targets" in
elf32-i386) elf32-i386)
TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux"
;; ;;
a.out-i386-linux) a.out-i386-linux)
echo "${UNAME_MACHINE}-pc-linux-gnuaout" echo "${UNAME_MACHINE}-${VENDOR}-linuxaout"
exit 0 ;; exit 0 ;;
coff-i386) coff-i386)
echo "${UNAME_MACHINE}-pc-linux-gnucoff" echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff"
exit 0 ;; exit 0 ;;
"") "")
# Either a pre-BFD a.out linker (linux-gnuoldld) or # Either a pre-BFD a.out linker (linuxoldld) or
# one that does not give us useful --help. # one that does not give us useful --help.
echo "${UNAME_MACHINE}-pc-linux-gnuoldld" echo "${UNAME_MACHINE}-${VENDOR}-linuxoldld"
exit 0 ;; exit 0 ;;
esac esac
# Determine whether the default compiler is a.out or elf # Determine whether the default compiler is a.out or elf
@ -948,9 +998,12 @@ EOF
LIBC=gnuaout LIBC=gnuaout
#endif #endif
#endif #endif
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" | sed 's/linux-gnu/linux/' && exit 0
test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
;; ;;
i*86:DYNIX/ptx:4*:*) i*86:DYNIX/ptx:4*:*)
@ -978,6 +1031,9 @@ EOF
i*86:atheos:*:*) i*86:atheos:*:*)
echo ${UNAME_MACHINE}-unknown-atheos echo ${UNAME_MACHINE}-unknown-atheos
exit 0 ;; exit 0 ;;
i*86:syllable:*:*)
echo ${UNAME_MACHINE}-pc-syllable
exit 0 ;;
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
echo i386-unknown-lynxos${UNAME_RELEASE} echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
@ -1049,7 +1105,7 @@ EOF
exit 0 ;; exit 0 ;;
M68*:*:R3V[567]*:*) M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0) 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
OS_REL='' OS_REL=''
test -r /etc/.relid \ test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
@ -1164,7 +1220,7 @@ EOF
*:QNX:*:4*) *:QNX:*:4*)
echo i386-pc-qnx echo i386-pc-qnx
exit 0 ;; exit 0 ;;
NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) NSR-?:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE} echo nsr-tandem-nsk${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:NonStop-UX:*:*) *:NonStop-UX:*:*)
@ -1208,6 +1264,9 @@ EOF
SEI:*:*:SEIUX) SEI:*:*:SEIUX)
echo mips-sei-seiux${UNAME_RELEASE} echo mips-sei-seiux${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:DragonFly:*:*)
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
esac esac
#echo '(No uname command or uname output not recognized.)' 1>&2 #echo '(No uname command or uname output not recognized.)' 1>&2

57
capi20/config.sub vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
timestamp='2003-07-17' timestamp='2004-02-23'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@ -118,7 +118,8 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations. # Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in case $maybe_os in
nto-qnx* | linux-gnu* | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;; ;;
@ -248,6 +249,7 @@ case $basic_machine in
| mipsisa32 | mipsisa32el \ | mipsisa32 | mipsisa32el \
| mipsisa32r2 | mipsisa32r2el \ | mipsisa32r2 | mipsisa32r2el \
| mipsisa64 | mipsisa64el \ | mipsisa64 | mipsisa64el \
| mipsisa64r2 | mipsisa64r2el \
| mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sb1 | mipsisa64sb1el \
| mipsisa64sr71k | mipsisa64sr71kel \ | mipsisa64sr71k | mipsisa64sr71kel \
| mipstx39 | mipstx39el \ | mipstx39 | mipstx39el \
@ -320,6 +322,7 @@ case $basic_machine in
| mipsisa32-* | mipsisa32el-* \ | mipsisa32-* | mipsisa32el-* \
| mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r2-* | mipsisa32r2el-* \
| mipsisa64-* | mipsisa64el-* \ | mipsisa64-* | mipsisa64el-* \
| mipsisa64r2-* | mipsisa64r2el-* \
| mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
| mipstx39-* | mipstx39el-* \ | mipstx39-* | mipstx39el-* \
@ -360,6 +363,9 @@ case $basic_machine in
basic_machine=a29k-amd basic_machine=a29k-amd
os=-udi os=-udi
;; ;;
abacus)
basic_machine=abacus-unknown
;;
adobe68k) adobe68k)
basic_machine=m68010-adobe basic_machine=m68010-adobe
os=-scout os=-scout
@ -377,6 +383,9 @@ case $basic_machine in
amd64) amd64)
basic_machine=x86_64-pc basic_machine=x86_64-pc
;; ;;
amd64-*)
basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
amdahl) amdahl)
basic_machine=580-amdahl basic_machine=580-amdahl
os=-sysv os=-sysv
@ -436,12 +445,20 @@ case $basic_machine in
basic_machine=j90-cray basic_machine=j90-cray
os=-unicos os=-unicos
;; ;;
cr16c)
basic_machine=cr16c-unknown
os=-elf
;;
crds | unos) crds | unos)
basic_machine=m68k-crds basic_machine=m68k-crds
;; ;;
cris | cris-* | etrax*) cris | cris-* | etrax*)
basic_machine=cris-axis basic_machine=cris-axis
;; ;;
crx)
basic_machine=crx-unknown
os=-elf
;;
da30 | da30-*) da30 | da30-*)
basic_machine=m68k-da30 basic_machine=m68k-da30
;; ;;
@ -741,6 +758,10 @@ case $basic_machine in
basic_machine=or32-unknown basic_machine=or32-unknown
os=-coff os=-coff
;; ;;
os400)
basic_machine=powerpc-ibm
os=-os400
;;
OSE68000 | ose68000) OSE68000 | ose68000)
basic_machine=m68000-ericsson basic_machine=m68000-ericsson
os=-ose os=-ose
@ -961,6 +982,10 @@ case $basic_machine in
tower | tower-32) tower | tower-32)
basic_machine=m68k-ncr basic_machine=m68k-ncr
;; ;;
tpf)
basic_machine=s390x-ibm
os=-tpf
;;
udi29k) udi29k)
basic_machine=a29k-amd basic_machine=a29k-amd
os=-udi os=-udi
@ -1129,19 +1154,20 @@ case $os in
| -aos* \ | -aos* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* \ | -chorusos* | -chorusrdb* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei*) | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
@ -1165,8 +1191,8 @@ case $os in
-mac*) -mac*)
os=`echo $os | sed -e 's|mac|macos|'` os=`echo $os | sed -e 's|mac|macos|'`
;; ;;
-linux*) -linux-dietlibc)
os=`echo $os | sed -e 's|linux|linux-gnu|'` os=-linux-dietlibc
;; ;;
-sunos5*) -sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'` os=`echo $os | sed -e 's|sunos5|solaris2|'`
@ -1177,6 +1203,9 @@ case $os in
-opened*) -opened*)
os=-openedition os=-openedition
;; ;;
-os400*)
os=-os400
;;
-wince*) -wince*)
os=-wince os=-wince
;; ;;
@ -1198,6 +1227,9 @@ case $os in
-atheos*) -atheos*)
os=-atheos os=-atheos
;; ;;
-syllable*)
os=-syllable
;;
-386bsd) -386bsd)
os=-bsd os=-bsd
;; ;;
@ -1220,6 +1252,9 @@ case $os in
-sinix*) -sinix*)
os=-sysv4 os=-sysv4
;; ;;
-tpf*)
os=-tpf
;;
-triton*) -triton*)
os=-sysv3 os=-sysv3
;; ;;
@ -1468,9 +1503,15 @@ case $basic_machine in
-mvs* | -opened*) -mvs* | -opened*)
vendor=ibm vendor=ibm
;; ;;
-os400*)
vendor=ibm
;;
-ptx*) -ptx*)
vendor=sequent vendor=sequent
;; ;;
-tpf*)
vendor=ibm
;;
-vxsim* | -vxworks* | -windiss*) -vxsim* | -vxworks* | -windiss*)
vendor=wrs vendor=wrs
;; ;;

1249
capi20/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(capi20.c) AC_INIT(capi20.c)
AM_INIT_AUTOMAKE(libcapi20,2.0.6) AM_INIT_AUTOMAKE(libcapi20,3.0.0)
AC_PREFIX_DEFAULT(/usr) AC_PREFIX_DEFAULT(/usr)
dnl Checks for programs. dnl Checks for programs.

View File

@ -1,7 +1,14 @@
/* /*
* $Id: convert.c,v 1.13 2004/10/06 15:24:43 calle Exp $ * $Id: convert.c,v 1.14 2005/02/21 17:37:07 keil Exp $
* *
* $Log: convert.c,v $ * $Log: convert.c,v $
* Revision 1.14 2005/02/21 17:37:07 keil
* libcapi20 version 3.0.0
* - add SENDING COMPLETE in ALERT_REQ
* - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ
*
* * NOTE: incompatible to 2.X.Y versions
*
* Revision 1.13 2004/10/06 15:24:43 calle * Revision 1.13 2004/10/06 15:24:43 calle
* - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible * - "SendingComplete"-Patch reverted => 2.0.8 was not binaer compartible
* - Bugfix: capi20_register() with MaxB3Connection == 0 results in a * - Bugfix: capi20_register() with MaxB3Connection == 0 results in a
@ -341,12 +348,14 @@ static _cdef cdef[] = {
/*2f*/{_CWORD, offsetof(_cmsg, Reject)}, /*2f*/{_CWORD, offsetof(_cmsg, Reject)},
/*30*/{_CSTRUCT, offsetof(_cmsg, Useruserdata)}, /*30*/{_CSTRUCT, offsetof(_cmsg, Useruserdata)},
/*31*/{_CQWORD, offsetof(_cmsg, Data64)}, /*31*/{_CQWORD, offsetof(_cmsg, Data64)},
/*32*/{_CSTRUCT, offsetof(_cmsg, SendingComplete)},
/*33*/{_CSTRUCT, offsetof(_cmsg, Globalconfiguration)},
}; };
static unsigned char *cpars[] = { static unsigned char *cpars[] = {
/*00*/ 0, /*00*/ 0,
/*01 ALERT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01", /*01 ALERT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x32\x01\x01",
/*02 CONNECT_REQ*/ (unsigned char*)"\x03\x14\x0e\x10\x0f\x11\x0d\x06\x08\x0a\x05\x07\x09\x01\x0b\x29\x23\x04\x0c\x28\x30\x1c\x01\x01", /*02 CONNECT_REQ*/ (unsigned char*)"\x03\x14\x0e\x10\x0f\x11\x0d\x06\x08\x0a\x05\x07\x09\x33\x01\x0b\x29\x23\x04\x0c\x28\x30\x1c\x01\x01",
/*03*/ 0, /*03*/ 0,
/*04 DISCONNECT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01", /*04 DISCONNECT_REQ*/ (unsigned char*)"\x03\x04\x0c\x28\x30\x1c\x01\x01",
/*05 LISTEN_REQ*/ (unsigned char*)"\x03\x26\x12\x13\x10\x11\x01", /*05 LISTEN_REQ*/ (unsigned char*)"\x03\x26\x12\x13\x10\x11\x01",
@ -354,7 +363,7 @@ static unsigned char *cpars[] = {
/*07*/ 0, /*07*/ 0,
/*08 INFO_REQ*/ (unsigned char*)"\x03\x0e\x04\x0c\x28\x30\x1c\x01\x01", /*08 INFO_REQ*/ (unsigned char*)"\x03\x0e\x04\x0c\x28\x30\x1c\x01\x01",
/*09 FACILITY_REQ*/ (unsigned char*)"\x03\x20\x1e\x01", /*09 FACILITY_REQ*/ (unsigned char*)"\x03\x20\x1e\x01",
/*0a SELECT_B_PROTOCOL_REQ*/ (unsigned char*)"\x03\x0d\x06\x08\x0a\x05\x07\x09\x01\x01", /*0a SELECT_B_PROTOCOL_REQ*/ (unsigned char*)"\x03\x0d\x06\x08\x0a\x05\x07\x09\x33\x01\x01",
/*0b CONNECT_B3_REQ*/ (unsigned char*)"\x03\x2c\x01", /*0b CONNECT_B3_REQ*/ (unsigned char*)"\x03\x2c\x01",
/*0c*/ 0, /*0c*/ 0,
/*0d DISCONNECT_B3_REQ*/ (unsigned char*)"\x03\x2c\x01", /*0d DISCONNECT_B3_REQ*/ (unsigned char*)"\x03\x2c\x01",
@ -400,7 +409,7 @@ static unsigned char *cpars[] = {
/*35 CONNECT_B3_T90_ACTIVE_IND*/ (unsigned char*)"\x03\x2c\x01", /*35 CONNECT_B3_T90_ACTIVE_IND*/ (unsigned char*)"\x03\x2c\x01",
/*36*/ 0, /*36*/ 0,
/*37*/ 0, /*37*/ 0,
/*38 CONNECT_RESP*/ (unsigned char*)"\x03\x2f\x0d\x06\x08\x0a\x05\x07\x09\x01\x16\x17\x29\x04\x0c\x28\x30\x1c\x01\x01", /*38 CONNECT_RESP*/ (unsigned char*)"\x03\x2f\x0d\x06\x08\x0a\x05\x07\x09\x33\x01\x16\x17\x29\x04\x0c\x28\x30\x1c\x01\x01",
/*39 CONNECT_ACTIVE_RESP*/ (unsigned char*)"\x03\x01", /*39 CONNECT_ACTIVE_RESP*/ (unsigned char*)"\x03\x01",
/*3a DISCONNECT_RESP*/ (unsigned char*)"\x03\x01", /*3a DISCONNECT_RESP*/ (unsigned char*)"\x03\x01",
/*3b*/ 0, /*3b*/ 0,
@ -824,6 +833,8 @@ static char *pnames[] = {
/*2f*/"Reject", /*2f*/"Reject",
/*30*/"Useruserdata", /*30*/"Useruserdata",
/*31*/"Data64", /*31*/"Data64",
/*32*/"SendingComplete",
/*33*/"GlobalConfiguration",
}; };
static char buf[8192]; static char buf[8192];

File diff suppressed because it is too large Load Diff

View File

@ -2,14 +2,27 @@
# old capiutils.h missed the sending_complete parameter # old capiutils.h missed the sending_complete parameter
# #
# #
AC_DEFUN(CS_TEST_ALERT, AC_DEFUN([CS_TEST_ALERT],
[AC_MSG_CHECKING([for capi20 ALERT with sending complete]) [AC_MSG_CHECKING([for capi20 ALERT with sending complete])
AC_TRY_COMPILE([#include <capiutils.h>], AC_TRY_COMPILE([#include <capiutils.h>],
[_cmsg cm; ALERT_REQ(&cm, 1, 1, 1, NULL, NULL, NULL, NULL, NULL);], [_cmsg cm; ALERT_REQ(&cm, 1, 1, 1, NULL, NULL, NULL, NULL, NULL);],
[ [
AC_DEFINE([HAVE_ALERT_SENDING_COMPLETE],1,[we have SENDING_COMPLETE in ALERT_REQ]) AC_DEFINE([HAVE_ALERT_SENDING_COMPLETE],1,[we have SENDING_COMPLETE in ALERT_REQ])
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
], ],
AC_MSG_RESULT([no]) [AC_MSG_RESULT([no])]
) )]) dnl CS_TEST_ALERT
]) dnl CS_TEST_ALERT #
# old capiutils.h missed the Globalconfiguration in BProtocol
#
#
AC_DEFUN([CS_TEST_GLOBALCONFIG],
[AC_MSG_CHECKING([for capi20 ALERT with sending complete])
AC_TRY_COMPILE([#include <capiutils.h>],
[_cmsg cm;void *p; p=CONNECT_REQ_GLOBALCONFIGURATION(&cm);],
[
AC_DEFINE([HAVE_GLOBALCONFIGURATION],1,[we have GLOBALCONFIGURATION in BProtocol])
AC_MSG_RESULT([yes])
],
[AC_MSG_RESULT([no])]
)]) dnl CS_TEST_ALERT

View File

@ -1,4 +1,4 @@
/* $Id: capi.c,v 1.4 2004/12/13 22:06:51 keil Exp $ /* $Id: capi.c,v 1.5 2005/02/21 17:37:09 keil Exp $
* *
* Implementation of CAPI state machine * Implementation of CAPI state machine
* *
@ -17,6 +17,13 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* $Log: capi.c,v $ * $Log: capi.c,v $
* Revision 1.5 2005/02/21 17:37:09 keil
* libcapi20 version 3.0.0
* - add SENDING COMPLETE in ALERT_REQ
* - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ
*
* * NOTE: incompatible to 2.X.Y versions
*
* Revision 1.4 2004/12/13 22:06:51 keil * Revision 1.4 2004/12/13 22:06:51 keil
* fix ipppd/options.c * fix ipppd/options.c
* fix capifax to support ALERT_REQ with and without SENDINGCOMPLETE * fix capifax to support ALERT_REQ with and without SENDINGCOMPLETE
@ -71,6 +78,9 @@ void Handle_Indication(void) {
CONNECT_RESP(CMSG, Appl_Id, CMSG->Messagenumber, CONNECT_RESP(CMSG, Appl_Id, CMSG->Messagenumber,
CONNECT_IND_PLCI(CMSG), REJECT, CONNECT_IND_PLCI(CMSG), REJECT,
0, 0, 0, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL,
#ifdef HAVE_GLOBALCONFIGURATION
NULL,
#endif
NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL); NULL, NULL, NULL, NULL);
return; return;

View File

@ -22,3 +22,6 @@
/* we have SENDING_COMPLETE in ALERT_REQ */ /* we have SENDING_COMPLETE in ALERT_REQ */
#undef HAVE_ALERT_SENDING_COMPLETE #undef HAVE_ALERT_SENDING_COMPLETE
/* we have GLOBALCONFIGURATION in BProtocol */
#undef HAVE_GLOBALCONFIGURATION

View File

@ -34,7 +34,11 @@ AC_ARG_WITH(man,
AC_DEFINE(CONFIG_MANDIR,"${withval}"), AC_DEFINE(CONFIG_MANDIR,"${withval}"),
) )
AC_CHECK_FILE([../capi20/capi20.h],CPPFLAGS="-I ../capi20 $CPPFLAGS")
AC_CHECK_HEADER([capi20.h],[],[AC_MSG_ERROR([capi20.h not found])])
CS_TEST_ALERT CS_TEST_ALERT
CS_TEST_GLOBALCONFIG
AC_SUBST(INSTALL) AC_SUBST(INSTALL)
AC_SUBST(CONFIG_SBINDIR) AC_SUBST(CONFIG_SBINDIR)

View File

@ -1,5 +1,5 @@
/* /*
* $Id: capiconn.c,v 1.10 2004/10/06 15:26:13 calle Exp $ * $Id: capiconn.c,v 1.11 2005/02/21 17:37:09 keil Exp $
* *
* Copyright 2000 Carsten Paeth (calle@calle.in-berlin.de) * Copyright 2000 Carsten Paeth (calle@calle.in-berlin.de)
* Copyright 2000 AVM GmbH Berlin (info@avm.de) * Copyright 2000 AVM GmbH Berlin (info@avm.de)
@ -10,6 +10,13 @@
* 2 of the License, or (at your option) any later version. * 2 of the License, or (at your option) any later version.
* *
* $Log: capiconn.c,v $ * $Log: capiconn.c,v $
* Revision 1.11 2005/02/21 17:37:09 keil
* libcapi20 version 3.0.0
* - add SENDING COMPLETE in ALERT_REQ
* - add Globalconfiguration to CONNECT_REQ/RESP and SELECT_B_PROTOCOL_REQ
*
* * NOTE: incompatible to 2.X.Y versions
*
* Revision 1.10 2004/10/06 15:26:13 calle * Revision 1.10 2004/10/06 15:26:13 calle
* - "SendingComplete-Patch" reverted. * - "SendingComplete-Patch" reverted.
* *
@ -46,7 +53,7 @@
#include <string.h> #include <string.h>
#include "capiconn.h" #include "capiconn.h"
static char *revision = "$Revision: 1.10 $"; static char *revision = "$Revision: 1.11 $";
static _cmsg cmdcmsg; static _cmsg cmdcmsg;
static _cmsg cmsg; static _cmsg cmsg;
@ -1040,7 +1047,8 @@ static void check_incoming_complete(capi_connection *plcip)
0, /* BChannelinformation */ 0, /* BChannelinformation */
0, /* Keypadfacility */ 0, /* Keypadfacility */
0, /* Useruserdata */ 0, /* Useruserdata */
0 /* Facilitydataarray */ 0, /* Facilitydataarray */
0 /* SendingComplete */
); );
plcip->msgid = cmsg.Messagenumber; plcip->msgid = cmsg.Messagenumber;
send_message(card, &cmsg); send_message(card, &cmsg);
@ -1092,6 +1100,7 @@ ignore:
0, 0,
0, 0,
0, 0,
0,
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1669,6 +1678,7 @@ capi_connection *capiconn_connect(
plcip->conninfo.b1config, plcip->conninfo.b1config,
plcip->conninfo.b2config, plcip->conninfo.b2config,
plcip->conninfo.b3config, plcip->conninfo.b3config,
0, /* Globalconfiguration */
0, /* BC */ 0, /* BC */
0, /* LLC */ 0, /* LLC */
0, /* HLC */ 0, /* HLC */
@ -1727,6 +1737,7 @@ int capiconn_accept(
plcip->conninfo.b1config, plcip->conninfo.b1config,
plcip->conninfo.b2config, plcip->conninfo.b2config,
plcip->conninfo.b3config, plcip->conninfo.b3config,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1760,6 +1771,7 @@ int capiconn_ignore(capi_connection *plcip)
0, 0,
0, 0,
0, 0,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */
@ -1793,6 +1805,7 @@ int capiconn_reject(capi_connection *plcip)
0, 0,
0, 0,
0, 0,
0, /* Globalconfiguration */
0, /* ConnectedNumber */ 0, /* ConnectedNumber */
0, /* ConnectedSubaddress */ 0, /* ConnectedSubaddress */
0, /* LLC */ 0, /* LLC */