Skip to content
Browse files

This first commit is just a fork for gsmlib package in launchpad by P…

…eter Hofmann.
  • Loading branch information...
0 parents commit db4075ad19dc7fbaea84f49c15ade06bec34fd90 @vbouchaud committed Sep 4, 2011
Showing with 60,041 additions and 0 deletions.
  1. +226 −0 ABOUT-NLS
  2. 0 AUTHORS
  3. +482 −0 COPYING
  4. +386 −0 ChangeLog
  5. +198 −0 INSTALL
  6. +24 −0 Makefile.am
  7. +423 −0 Makefile.in
  8. +11 −0 NEWS
  9. +159 −0 README
  10. +289 −0 TODO
  11. +33 −0 acconfig.h
  12. 0 acinclude.m4
  13. +9,704 −0 aclocal.m4
  14. +36 −0 apps/Makefile.am
  15. +442 −0 apps/Makefile.in
  16. +635 −0 apps/gsmctl.cc
  17. +507 −0 apps/gsmpb.cc
  18. +257 −0 apps/gsmsendsms.cc
  19. +723 −0 apps/gsmsmsd.cc
  20. +434 −0 apps/gsmsmsstore.cc
  21. +30,623 −0 configure
  22. +131 −0 configure.in
  23. +3 −0 contrib/gsm-utils.cron.d
  24. +13 −0 contrib/gsm-utils.default
  25. +81 −0 contrib/gsm-utils.init
  26. +48 −0 contrib/gsmsmsrequeue
  27. +34 −0 contrib/gsmsmsspool
  28. +284 −0 debian/changelog
  29. +1 −0 debian/compat
  30. +45 −0 debian/control
  31. +34 −0 debian/copyright
  32. +1 −0 debian/dirs
  33. +3 −0 debian/gsm-utils.cron.d
  34. +18 −0 debian/gsm-utils.default
  35. +11 −0 debian/gsm-utils.dirs
  36. +4 −0 debian/gsm-utils.docs
  37. +2 −0 debian/gsm-utils.examples
  38. +87 −0 debian/gsm-utils.init
  39. +28 −0 debian/gsm-utils.postinst
  40. +43 −0 debian/gsm-utils.postrm
  41. +29 −0 debian/gsmsiexfer.1
  42. +2 −0 debian/libgsmme-dev.docs
  43. +129 −0 debian/rules
  44. +2 −0 debian/watch
  45. +101 −0 doc/FAQ
  46. +33 −0 doc/Makefile.am
  47. +412 −0 doc/Makefile.in
  48. +72 −0 doc/README.NLS
  49. +138 −0 doc/README.developers
  50. +683 −0 doc/gsmctl.man
  51. +56 −0 doc/gsminfo.man
  52. +20 −0 doc/gsmlib.lsm
  53. +245 −0 doc/gsmpb.man
  54. +154 −0 doc/gsmsendsms.man
  55. +269 −0 doc/gsmsmsd.man
  56. +185 −0 doc/gsmsmsstore.man
  57. +40 −0 ext/Makefile.am
  58. +480 −0 ext/Makefile.in
  59. +75 −0 ext/README.sieme
  60. +258 −0 ext/gsm_sie_me.cc
  61. +99 −0 ext/gsm_sie_me.h
  62. +698 −0 ext/gsmsiectl.cc
  63. +292 −0 ext/gsmsiexfer.cc
  64. +29 −0 g41.patch
  65. +344 −0 gsm_config.h.in
  66. +11 −0 gsmlib-1.10.debmg/debian/gsm-utils.dirs
  67. +28 −0 gsmlib-1.10.debmg/debian/gsm-utils.postinst
  68. +7 −0 gsmlib-1.10.debmg/debian/gsm-utils.prerm
  69. +2 −0 gsmlib-1.10.debmg/debian/gsm-utils.undocumented
  70. +92 −0 gsmlib.spec
  71. +38 −0 gsmlib/Makefile.am
  72. +461 −0 gsmlib/Makefile.in
  73. +444 −0 gsmlib/gsm_at.cc
  74. +104 −0 gsmlib/gsm_at.h
  75. +176 −0 gsmlib/gsm_cb.cc
  76. +106 −0 gsmlib/gsm_cb.h
  77. +424 −0 gsmlib/gsm_error.cc
  78. +209 −0 gsmlib/gsm_error.h
  79. +174 −0 gsmlib/gsm_event.cc
  80. +68 −0 gsmlib/gsm_event.h
  81. +128 −0 gsmlib/gsm_map_key.h
  82. +1,254 −0 gsmlib/gsm_me_ta.cc
  83. +402 −0 gsmlib/gsm_me_ta.h
  84. +32 −0 gsmlib/gsm_nls.cc
  85. +71 −0 gsmlib/gsm_nls.h
  86. +381 −0 gsmlib/gsm_parser.cc
  87. +125 −0 gsmlib/gsm_parser.h
  88. +585 −0 gsmlib/gsm_phonebook.cc
  89. +195 −0 gsmlib/gsm_phonebook.h
  90. +58 −0 gsmlib/gsm_port.h
  91. +863 −0 gsmlib/gsm_sms.cc
  92. +480 −0 gsmlib/gsm_sms.h
  93. +702 −0 gsmlib/gsm_sms_codec.cc
  94. +329 −0 gsmlib/gsm_sms_codec.h
  95. +489 −0 gsmlib/gsm_sms_store.cc
  96. +295 −0 gsmlib/gsm_sms_store.h
Sorry, we could not display the entire diff because it was too big.
226 ABOUT-NLS
@@ -0,0 +1,226 @@
+Notes on the Free Translation Project
+*************************************
+
+ Free software is going international! The Free Translation Project
+is a way to get maintainers of free software, translators, and users all
+together, so that will gradually become able to speak many languages.
+A few packages already provide translations for their messages.
+
+ If you found this `ABOUT-NLS' file inside a distribution, you may
+assume that the distributed package does use GNU `gettext' internally,
+itself available at your nearest GNU archive site. But you do *not*
+need to install GNU `gettext' prior to configuring, installing or using
+this package with messages translated.
+
+ Installers will find here some useful hints. These notes also
+explain how users should proceed for getting the programs to use the
+available translations. They tell how people wanting to contribute and
+work at translations should contact the appropriate team.
+
+ When reporting bugs in the `intl/' directory or bugs which may be
+related to internationalization, you should tell about the version of
+`gettext' which is used. The information can be found in the
+`intl/VERSION' file, in internationalized packages.
+
+One advise in advance
+=====================
+
+ If you want to exploit the full power of internationalization, you
+should configure it using
+
+ ./configure --with-included-gettext
+
+to force usage of internationalizing routines provided within this
+package, despite the existence of internationalizing capabilities in the
+operating system where this package is being installed. So far, only
+the `gettext' implementation in the GNU C library version 2 provides as
+many features (such as locale alias or message inheritance) as the
+implementation here. It is also not possible to offer this additional
+functionality on top of a `catgets' implementation. Future versions of
+GNU `gettext' will very likely convey even more functionality. So it
+might be a good idea to change to GNU `gettext' as soon as possible.
+
+ So you need not provide this option if you are using GNU libc 2 or
+you have installed a recent copy of the GNU gettext package with the
+included `libintl'.
+
+INSTALL Matters
+===============
+
+ Some packages are "localizable" when properly installed; the
+programs they contain can be made to speak your own native language.
+Most such packages use GNU `gettext'. Other packages have their own
+ways to internationalization, predating GNU `gettext'.
+
+ By default, this package will be installed to allow translation of
+messages. It will automatically detect whether the system provides
+usable `catgets' (if using this is selected by the installer) or
+`gettext' functions. If neither is available, the GNU `gettext' own
+library will be used. This library is wholly contained within this
+package, usually in the `intl/' subdirectory, so prior installation of
+the GNU `gettext' package is *not* required. Installers may use
+special options at configuration time for changing the default
+behaviour. The commands:
+
+ ./configure --with-included-gettext
+ ./configure --with-catgets
+ ./configure --disable-nls
+
+will respectively bypass any pre-existing `catgets' or `gettext' to use
+the internationalizing routines provided within this package, enable
+the use of the `catgets' functions (if found on the locale system), or
+else, *totally* disable translation of messages.
+
+ When you already have GNU `gettext' installed on your system and run
+configure without an option for your new package, `configure' will
+probably detect the previously built and installed `libintl.a' file and
+will decide to use this. This might be not what is desirable. You
+should use the more recent version of the GNU `gettext' library. I.e.
+if the file `intl/VERSION' shows that the library which comes with this
+package is more recent, you should use
+
+ ./configure --with-included-gettext
+
+to prevent auto-detection.
+
+ By default the configuration process will not test for the `catgets'
+function and therefore they will not be used. The reasons are already
+given above: the emulation on top of `catgets' cannot provide all the
+extensions provided by the GNU `gettext' library. If you nevertheless
+want to use the `catgets' functions use
+
+ ./configure --with-catgets
+
+to enable the test for `catgets' (this causes no harm if `catgets' is
+not available on your system). If you really select this option we
+would like to hear about the reasons because we cannot think of any
+good one ourself.
+
+ Internationalized packages have usually many `po/LL.po' files, where
+LL gives an ISO 639 two-letter code identifying the language. Unless
+translations have been forbidden at `configure' time by using the
+`--disable-nls' switch, all available translations are installed
+together with the package. However, the environment variable `LINGUAS'
+may be set, prior to configuration, to limit the installed set.
+`LINGUAS' should then contain a space separated list of two-letter
+codes, stating which languages are allowed.
+
+Using This Package
+==================
+
+ As a user, if your language has been installed for this package, you
+only have to set the `LANG' environment variable to the appropriate
+ISO 639 `LL' two-letter code prior to using the programs in the
+package. For example, let's suppose that you speak German. At the
+shell prompt, merely execute `setenv LANG de' (in `csh'),
+`export LANG; LANG=de' (in `sh') or `export LANG=de' (in `bash'). This
+can be done from your `.login' or `.profile' file, once and for all.
+
+ An operating system might already offer message localization for
+many of its programs, while other programs have been installed locally
+with the full capabilities of GNU `gettext'. Just using `gettext'
+extended syntax for `LANG' would break proper localization of already
+available operating system programs. In this case, users should set
+both `LANGUAGE' and `LANG' variables in their environment, as programs
+using GNU `gettext' give preference to `LANGUAGE'. For example, some
+Swedish users would rather read translations in German than English for
+when Swedish is not available. This is easily accomplished by setting
+`LANGUAGE' to `sv:de' while leaving `LANG' to `sv'.
+
+Translating Teams
+=================
+
+ For the Free Translation Project to be a success, we need interested
+people who like their own language and write it well, and who are also
+able to synergize with other translators speaking the same language.
+Each translation team has its own mailing list, courtesy of Linux
+International. You may reach your translation team at the address
+`LL@li.org', replacing LL by the two-letter ISO 639 code for your
+language. Language codes are *not* the same as the country codes given
+in ISO 3166. The following translation teams exist, as of December
+1997:
+
+ Chinese `zh', Czech `cs', Danish `da', Dutch `nl', English `en',
+ Esperanto `eo', Finnish `fi', French `fr', German `de', Hungarian
+ `hu', Irish `ga', Italian `it', Indonesian `id', Japanese `ja',
+ Korean `ko', Latin `la', Norwegian `no', Persian `fa', Polish
+ `pl', Portuguese `pt', Russian `ru', Slovenian `sl', Spanish `es',
+ Swedish `sv', and Turkish `tr'.
+
+For example, you may reach the Chinese translation team by writing to
+`zh@li.org'.
+
+ If you'd like to volunteer to *work* at translating messages, you
+should become a member of the translating team for your own language.
+The subscribing address is *not* the same as the list itself, it has
+`-request' appended. For example, speakers of Swedish can send a
+message to `sv-request@li.org', having this message body:
+
+ subscribe
+
+ Keep in mind that team members are expected to participate
+*actively* in translations, or at solving translational difficulties,
+rather than merely lurking around. If your team does not exist yet and
+you want to start one, or if you are unsure about what to do or how to
+get started, please write to `translation@iro.umontreal.ca' to reach the
+coordinator for all translator teams.
+
+ The English team is special. It works at improving and uniformizing
+the terminology in use. Proven linguistic skill are praised more than
+programming skill, here.
+
+Available Packages
+==================
+
+ Languages are not equally supported in all packages. The following
+matrix shows the current state of internationalization, as of December
+1997. The matrix shows, in regard of each package, for which languages
+PO files have been submitted to translation coordination.
+
+ Ready PO files cs da de en es fi fr it ja ko nl no pl pt ru sl sv
+ .----------------------------------------------------.
+ bash | [] [] [] | 3
+ bison | [] [] [] | 3
+ clisp | [] [] [] [] | 4
+ cpio | [] [] [] [] [] [] | 6
+ diffutils | [] [] [] [] [] | 5
+ enscript | [] [] [] [] [] [] | 6
+ fileutils | [] [] [] [] [] [] [] [] [] [] | 10
+ findutils | [] [] [] [] [] [] [] [] [] | 9
+ flex | [] [] [] [] | 4
+ gcal | [] [] [] [] [] | 5
+ gettext | [] [] [] [] [] [] [] [] [] [] [] | 12
+ grep | [] [] [] [] [] [] [] [] [] [] | 10
+ hello | [] [] [] [] [] [] [] [] [] [] [] | 11
+ id-utils | [] [] [] | 3
+ indent | [] [] [] [] [] | 5
+ libc | [] [] [] [] [] [] [] | 7
+ m4 | [] [] [] [] [] [] | 6
+ make | [] [] [] [] [] [] | 6
+ music | [] [] | 2
+ ptx | [] [] [] [] [] [] [] [] | 8
+ recode | [] [] [] [] [] [] [] [] [] | 9
+ sh-utils | [] [] [] [] [] [] [] [] | 8
+ sharutils | [] [] [] [] [] [] | 6
+ tar | [] [] [] [] [] [] [] [] [] [] [] | 11
+ texinfo | [] [] [] | 3
+ textutils | [] [] [] [] [] [] [] [] [] | 9
+ wdiff | [] [] [] [] [] [] [] [] | 8
+ `----------------------------------------------------'
+ 17 languages cs da de en es fi fr it ja ko nl no pl pt ru sl sv
+ 27 packages 6 4 25 1 18 1 26 2 1 12 20 9 19 7 4 7 17 179
+
+ Some counters in the preceding matrix are higher than the number of
+visible blocks let us expect. This is because a few extra PO files are
+used for implementing regional variants of languages, or language
+dialects.
+
+ For a PO file in the matrix above to be effective, the package to
+which it applies should also have been internationalized and
+distributed as such by its maintainer. There might be an observable
+lag between the mere existence a PO file and its wide availability in a
+distribution.
+
+ If December 1997 seems to be old, you may fetch a more recent copy
+of this `ABOUT-NLS' file on most GNU archive sites.
+
0 AUTHORS
No changes.
482 COPYING
@@ -0,0 +1,482 @@
+ GNU LIBRARY GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL. It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it. You can use it for
+your libraries, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library. If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software. To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+ Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs. This
+license, the GNU Library General Public License, applies to certain
+designated libraries. This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+ The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it. Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program. However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+ Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries. We
+concluded that weaker conditions might promote sharing better.
+
+ However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves. This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them. (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.) The hope is that this
+will lead to faster development of free libraries.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+ Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+
+ GNU LIBRARY GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License"). Each licensee is
+addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ c) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ d) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
386 ChangeLog
@@ -0,0 +1,386 @@
+gsmlib-1.10
+ - reactivated code in gsm_at to retry sending PDU after
+ unsolicited result code
+
+ - added description of unicode handling to FAQ
+
+ - compilation fixes for gcc-3.0.4
+
+ - added quick exit for ATZ in UnixSerialPort constructor
+ if phone gives ERROR
+
+ - added fix for phones that return +CLIP: "Number not available."
+ instead of giving caller ID
+
+ - added get/setCLIRPresentation() functions to MeTa (contribution by
+ ivan)
+
+ - added "NO CARRIER" event to the event mechanism (contribution by
+ clock)
+
+ - added Win32 port of gsmsmsd (thanks to Konstantin Forostyan)
+
+ - further extented Win32 port of gsmsmsd to handle outgoing messages
+
+ - fixed problem with Ericsson T39m SMS sending (zero bytes in handshake)
+
+ - added capability to send concatenated SMSs in gsmsmsd and gsmsendsms
+
+ - fixed unsigned/signed char problems in Unix/Win32 serial port
+ implementations
+
+ - added capability to send multiple SMSs to gsmsendsms/gsmsmsd
+
+gsmlib-1.9
+ - fixed decoding of alphanumeric addresses in gsm_sms_codec.
+
+ - fixed bug in gsm_event when checking whether to send an
+ acknowledgment for a received SMS
+
+ - More Siemens-specific patches, some extensions to the AT
+ command parser
+
+ - New code to print PIN status and set the PIN in gsmctl, setPIN
+ function in MeTa class (Andreas Roedl <flood@flood-net.de>)
+
+ - Missing virtual destructor in Port class caused destructors of
+ UnixSerialPort and Win32SerialPort not to be called - fixed
+
+ - Added new code to set functionality level on or off (thanks to
+ David Woodhouse)
+
+ - found bug in SMS store implementation that caused the now
+ obsolete _capacity member to be set to a too low value
+
+ - Added changes contributed by Frediano Ziglio to enable compilation
+ on Windows
+
+ - Added call waiting functions contributed by Ivan
+
+gsmlib-1.8
+ - added workaround for Nokia Cellular Card Phone RPE-1 GSM900
+ that reports a CDS event that actually is an CDSI and sends a spurious
+ CR when waiting for a PDU
+
+ - SMS are stored without index in files now
+
+ - tested compilation with gcc-3.0.2
+
+ - added workaround for gsmlib getting confused when receiving SMS
+ and echo cannot be switched off - echos of the AT command are
+ filtered out in chat() now
+
+ - extended gsm_phonebook preload mechanism to batch-load phonebooks
+ where the index does not start with 1
+
+ - Added workaround for Motorola Timeport 260 to write back
+ deliver messages to the ME
+
+ - added workaround for compilation with libstdc++-v2
+
+ - private members of MeTa made protected
+
+ - new ext directory for phone-specific extensions
+
+gsmlib-1.7
+ - fixed bug with calculation of userData length if userDataHeader
+ is present (octet count was subtracted, not septet count)
+
+ - fixed problem with string erase() at end of PDU for Falcom A2-1
+
+ - -t/--charset option of gsmpb did not work due to missing parameter
+ of getopt_long, fixed
+
+ - The SMS decoder/encoder can now handle alphanumeric addresses
+ in the GSM default alphabet
+
+ - set only those SMS stores that are actually needed to perform
+ SMS store operation
+
+ - Fixed signalling error 321 (Invalid memory index) when trying to
+ read from empty SMS store entry
+
+ - Fixed parsing error when reading current network operator if no
+ network connection
+
+ - Added capability to parse cell broadcast messages to gsmlib and
+ the gsmsmsd program
+
+ - Added workaround for Motorola Timeport 260 bug that doesn't correctly
+ report the message status when retrieving SMS messages from the
+ store
+
+ - Added workaround for Motorola Timeport 260 that allocates index
+ numbers to SMS messages linearly so that index number can be
+ be larger than capacity reported by AT command
+
+gsmlib-1.6
+ - more fixes for the COPS=? return format
+
+ - fixed putBack() behaviour in gsm_parser (don't put back if end-of-
+ stream is reached)
+
+ - added toString() function to gsm_sms_codec's Address class
+
+ - SMS dates and times are now output in a locale-specific manner
+
+ - fixed bug in Parser::getEol() (_eos was accidentally set to true)
+
+ - added gsm_win32_serial module, Win32 project (VC++), and
+ Option FirstFone changes contributed by Frediano Ziglio
+ <freddy77@angelfire.com>
+
+ - fix in COM port recognition for Win32 (gsm_util)
+
+ - renamed library files libgsm.* to libgsmme.* (now starting with
+ version 1.0) because of conflict with another Debian package
+
+ - in gsm_phonebook and gsm_store the caching of entries can now
+ be disabled
+
+ - added facilities to use other character sets for phonebooks
+
+ - fixed workaround for Ericcson SH888 (missing service centre address)
+
+ - fixed bug in gsm_phonebook that prevented texts with the
+ character '@' to be written to to the phonebook
+
+ - fixed nasty memory allocation bug in gsmpb/gsmsmsstore
+ (automatic MeTa variable went out of scope even though used
+ later)
+
+ - fixed Y2K problem in timestamp printing
+
+ - fixed "make dist" to include win32 files
+
+ - added workarounds for Falcom A2-1 (autodetection and enabling by
+ "export GSMLIB_FALCOM_A2_1_FIX=1", zero after PDU)
+
+ - fixed bug that caused gsmlib to abort with an assert if a malformed
+ PDU was read
+
+gsmlib-1.5
+ - adapted MeTa::getCurrentOPInfo() and MeTa::getAvailableOPInfo()
+ to handle Nokia 8290 quirks
+
+ - code to set line speed in gsm_unix_serial reinserted (it was
+ accidentally removed in previous version)
+
+ - minor changes to initialization sequence in gsm_unix_serial
+
+ - bugfix in gsm_unix_serial.cc: readByte() == 0 does not mean no
+ more bytes, but is legal value
+
+ - additionally allowed characters "*#pwPW" and '+' at any
+ position in telephone numbers
+
+ - added environment variable GSMLIB_SH888_FIX that (if set)
+ enables the gsmlib workaround for Ericsson SH888's broken SMS TPDUs
+
+ - fixed command line parameter handling bug in gsmsmsstore
+
+ - fixed %files section .spec file to correctly include manual pages
+
+ - fixed some bugs in terminal line setup (gsm_unix_serial) regarding
+ software/hardware handshake
+
+ - added new "--sca" option to SMS-related apps to set the SMS
+ service centre address on the command line (useful if default is not
+ set correctly in the phone)
+
+ - removed tcflush() call in UnixSerialPort::putLine that broke
+ the event system needed for gsmsmsd
+
+gsmlib-1.4
+ - more attempts to fix UNIX serial port access
+
+ - allow custom backends for sorted phonebooks to be integrated
+ into gsmlib (eg. for RDBMS or LDAP storage). Introduced a new
+ module gsm_sorted_phonebook_base that contains the infrastructure for
+ this.
+
+ - Now gsmlib needs at least gcc-2.95.2 to compile correctly.
+
+ - Implemented option to open device with software handshaking (XON/XOFF).
+ The applications now have an -X option to turn this on.
+
+ - gsmlib now contains a facility to interrupt ongoing activity in a
+ controlled way. gsm_unix_serial now blocks for one second
+ maximum until it checks whether it was interrupted.
+
+ - various small bugfixes
+
+ - added workaround for phones that omit ':' in AT command responses
+
+ - all debugging output is now printed to stderr
+
+ - gsm_unix_serial: new attempt to initialize modem in a more
+ robust way (contributed)
+
+ - gsm_sms: fixed handling of user data header (contributed)
+
+gsmlib-1.3
+ - fixed bug that caused gsmlib to hang if TAs don't respond
+ to AT inquiries for serial number etc.
+
+ - fixed bug with handling of CB mode AT command construction in
+ gsm_me_ta.cc, setSMSRoutingToTA()
+
+ - allow '+' as the first character of phonenumbers
+
+ - implemented reading and writing from/to stdin/stdout in
+ gsm_sorted_[sms_store|phonebook] and gsmpb/gsmsmsstore
+
+ - fixed (hopefully) the intermittent hangup problem in
+ gsm_unix_serial_port
+
+ - Some mobile phones cannot report the status of some facility
+ locks. The gsmctl program now prints out "unknown" in the
+ corresponding result line from the FLSTAT
+ operation if this problem occurs (instead of terminating).
+
+ - switched off non-blocking access to serial device
+
+gsmlib-1.2
+ - gsmlib now also works with TAs that can not switch off echo
+
+ - fixed bug that prevented gsmlib from copying SMS_DELIVER and
+ SMS_STATUS_REPORT back to the ME
+
+ - introduced -I (--init) parameter to all command line apps to
+ allow for device-specific initialization
+
+ - made SMS decoding routines more robust against bad SMS (especially
+ premature end of PDU)
+
+ - New debugging feature: If compiled without NDEBUG, the
+ environment variable GSMLIB_DEBUG determines the verbosity of
+ debugging messages (0 = none, 1 = many, 2 = extreme)
+
+gsmlib-1.1
+
+ - Parse multiple COPS (operator info) lines returned by some phones
+
+ - accept string as numeric value when interpreting COPS=? response
+ (Ericsson phone + GSM12 GSM module)
+
+ - accept string as numeric value when interpreting COPS? response
+ (Ericsson phone + GSM12 GSM module)
+
+ - retry when initializing TA (ATZ/ATE0 sequences)
+
+ - Set SMS routing:
+ allow mode 3 (special in-band technique) when setting routing
+ to TA (gsmlib should not be active when phone is switched to data mode
+ anyway)
+
+ - Set SMS routing:
+ handle buffer mode but only if it was reported by the +CNMI=? command
+ (the Ericsson GM12 GSM modem does not like it otherwise)
+
+ - Determine CPMS number of parameters for CPMS command (better
+ compability with some mobile phones / GSM modems)
+
+ - handle missing service centre address in incoming SMS for Ericsson
+ model 6050102
+
+ - add new RING event to gsm_event.h/.cc, gsmsmsd now handles RING
+ indications properly
+
+ - defined default event handler mostly to handle unexpected RING
+ indications that might otherwise confuse gsmlib
+
+ - gsmsmsd: can now be cleanly terminated using the SIGINT or SIGTERM
+ signals
+
+ - gsmsmsd: now handles multiple incoming SMS messages cleanly, before
+ there was a chance that some SMS messages coming in rapid succession
+ might have been lost
+
+ - gsmsmsd: flush option implemented that dispatches and erases
+ existing messages in SMS store
+
+ - gsmsmsd: added sending of SMS messages. gsmsmsd now accepts a
+ spool directory options where it expects to find SMS message file in a
+ simple format, these are dispatched every 5 seconds
+
+gsmlib-1.0
+
+ - RPM support (spec file)
+
+ - the "+" is at least for the Siemens S10 and S25 a valid char in
+ telephone numbers (inserts a pause of 3 seconds), therefore it is now
+ allowed as part of telephone numbers
+
+ - fixed incorrect analysis of facility class parameters in gsmctl.cc
+
+ - restricted call forward time to 0..30 seconds in gsm_me_ta.cc
+
+gsmlib-0.3
+
+ - implemented timeout for accessing the mobile phone in order
+ to avoid hangs
+
+ - upgraded to BETA status
+
+ - written glossary for abbreviations (gsminfo(7))
+
+ - implemented NLS support, added German translations
+
+ - implemented preserving the index position of phonebook entries in
+ gsmpb.cc and gsm_sorted_phonebook
+
+ - cleaned up manual pages (alphabetic ordering of options etc.)
+
+ - gsmsmstore program and gsm_sorted_sms_store./.cc completed and
+ tested
+
+ - gsmpb and gsmsmsstore now have --verbose (-V) options for detailed
+ progress reporting
+
+ - now check for getopt_long in configure (can be compiled on non-GNU
+ systems)
+
+ - removed asserts regarding lengths of numeric data types, put them
+ into configure script
+
+ - sorted options in apps/*.cc alphabetically (--help option)
+
+ - in gsm_sorted_sms_store compare telephone numbers more sensibly
+
+ - introduced -v option to gsmpb and gsmsmsstore to report execution
+ statistics
+
+ - tested new synchronization function in gsmpb program
+
+ - implemented operations in the gsmctl program
+
+ - rewrote test cases (compare output)
+
+ - completed gsmsmsstore program
+
+ - first changes for compilation with VC++ 6.0 on WIN32
+
+gsmlib-0.2
+
+ - gsmsmstore program and gsm_sorted_sms_store./.cc mostly
+ completed but not yet much tested
+
+ - Fixed problem with some mobiles/TAs not giving prefixes after
+ certain AT sequences (reported for SIEMENS S25/IrDA, Nokia
+ 8810/IrDA)
+
+ - Fixed problem with Xircom REM56G.100/Nokia 6150 that give
+ "CABLE: GSM" instead of "OK" after ATZ
+
+ - Mobiles that return nothing when empty phonebook entries are
+ requested are now handled correctly (reported for SIEMENS S25/IrDA)
+
+ - optimizations in gsm_*_phonebook modules (less AT commands necessary)
+
+ - new synchronization function in gsmpb program that is (hopefully)
+ more sensible (see man page for details)
+
+gsmlib-0.1
+
+ - Initial release
198 INSTALL
@@ -0,0 +1,198 @@
+GSMLIB Installation
+===================
+
+ This distribution uses autoconf/automake/libtool. See below
+ for generic installation instructions. The default commands would be:
+
+ ./configure
+ make
+ make install
+
+ See also the section INSTALLATION in the README file in this
+ directory. For questions regarding the internationalization of this
+ package refer to doc/README.NLS and ./ABOUT-NLS.
+
+ Developers: See also the file doc/README.developers.
+
+Basic Installation
+==================
+
+ These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+
+ The file `configure.in' is used to create `configure' by a program
+called `autoconf'. You only need `configure.in' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. You can give `configure'
+initial values for variables by setting them in the environment. Using
+a Bourne-compatible shell, you can do that on the command line like
+this:
+ CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+
+Or on systems that have the `env' program, you can do it like this:
+ env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory. After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+architecture.
+
+Installation Names
+==================
+
+ By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc. You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on. Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+ CPU-COMPANY-SYSTEM
+
+See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+
+ If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Operation Controls
+==================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--cache-file=FILE'
+ Use and save the results of the tests in FILE instead of
+ `./config.cache'. Set FILE to `/dev/null' to disable caching, for
+ debugging `configure'.
+
+`--help'
+ Print a summary of the options to `configure', and exit.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--version'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`configure' also accepts some other, not widely useful, options.
24 Makefile.am
@@ -0,0 +1,24 @@
+## Process this file with automake to produce Makefile.in
+# *************************************************************************
+# * GSM TA/ME library
+# *
+# * File: Makefile.am
+# *
+# * Purpose: Toplevel Makefile
+# *
+# * Author: Peter Hofmann (software@pxh.de)
+# *
+# * Created: 21.5.1999
+# *************************************************************************
+
+SUBDIRS_ = po gsmlib apps tests doc scripts win32 ext
+
+EXTRA_DIST = gsmlib.spec
+
+if COMPILE_INTL
+SUBDIRS = intl $(SUBDIRS_) # po - make automake happy
+else
+SUBDIRS = $(SUBDIRS_) # po intl - make automake happy
+endif
+
+all:
423 Makefile.in
@@ -0,0 +1,423 @@
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+# *************************************************************************
+# * GSM TA/ME library
+# *
+# * File: Makefile.am
+# *
+# * Purpose: Toplevel Makefile
+# *
+# * Author: Peter Hofmann (software@pxh.de)
+# *
+# * Created: 21.5.1999
+# *************************************************************************
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_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@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = .
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+AR = @AR@
+AS = @AS@
+BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
+CATOBJEXT = @CATOBJEXT@
+CC = @CC@
+CPP = @CPP@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+DATADIRNAME = @DATADIRNAME@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+GCJ = @GCJ@
+GCJFLAGS = @GCJFLAGS@
+GENCAT = @GENCAT@
+GLIBC2 = @GLIBC2@
+GLIBC21 = @GLIBC21@
+GMSGFMT = @GMSGFMT@
+GSM_VERSION = @GSM_VERSION@
+HAVE_ASPRINTF = @HAVE_ASPRINTF@
+HAVE_LIB = @HAVE_LIB@
+HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@
+HAVE_SNPRINTF = @HAVE_SNPRINTF@
+HAVE_WPRINTF = @HAVE_WPRINTF@
+INSTOBJEXT = @INSTOBJEXT@
+INTLBISON = @INTLBISON@
+INTLLIBS = @INTLLIBS@
+INTLOBJS = @INTLOBJS@
+INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+LIB = @LIB@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIB = @LTLIB@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+MAKEINFO = @MAKEINFO@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+POSUB = @POSUB@
+RANLIB = @RANLIB@
+RC = @RC@
+STRIP = @STRIP@
+USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+
+SUBDIRS_ = po gsmlib apps tests doc scripts win32 ext
+
+EXTRA_DIST = gsmlib.spec
+@COMPILE_INTL_TRUE@SUBDIRS = intl $(SUBDIRS_) # po - make automake happy
+@COMPILE_INTL_FALSE@SUBDIRS = $(SUBDIRS_) # po intl - make automake happy
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs
+CONFIG_HEADER = gsm_config.h
+CONFIG_CLEAN_FILES =
+DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
+INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h acinclude.m4 \
+aclocal.m4 configure configure.in gsm_config.h.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DIST_SUBDIRS = intl po gsmlib apps tests doc scripts win32 ext po \
+gsmlib apps tests doc scripts win32 ext
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
+ cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
+ cd $(top_builddir) \
+ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+$(ACLOCAL_M4): configure.in acinclude.m4
+ cd $(srcdir) && $(ACLOCAL)
+
+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+ cd $(srcdir) && $(AUTOCONF)
+
+gsm_config.h: stamp-h
+ @if test ! -f $@; then \
+ rm -f stamp-h; \
+ $(MAKE) stamp-h; \
+ else :; fi
+stamp-h: $(srcdir)/gsm_config.h.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES= CONFIG_HEADERS=gsm_config.h \
+ $(SHELL) ./config.status
+ @echo timestamp > stamp-h 2> /dev/null
+$(srcdir)/gsm_config.h.in: $(srcdir)/stamp-h.in
+ @if test ! -f $@; then \
+ rm -f $(srcdir)/stamp-h.in; \
+ $(MAKE) $(srcdir)/stamp-h.in; \
+ else :; fi
+$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
+ cd $(top_srcdir) && $(AUTOHEADER)
+ @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
+
+mostlyclean-hdr:
+
+clean-hdr:
+
+distclean-hdr:
+ -rm -f gsm_config.h
+
+maintainer-clean-hdr:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @set fnord $(MAKEFLAGS); amf=$$2; \
+ dot_seen=no; \
+ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+ rev="$$subdir $$rev"; \
+ test "$$subdir" != "." || dot_seen=yes; \
+ done; \
+ test "$$dot_seen" = "no" && rev=". $$rev"; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP)
+ list='$(SOURCES) $(HEADERS)'; \
+ 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: tags-recursive $(HEADERS) $(SOURCES) gsm_config.h.in $(TAGS_DEPENDENCIES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS)'; \
+ unique=`for i in $$list; do echo $$i; done | \
+ awk ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(ETAGS_ARGS)gsm_config.h.in$$unique$(LISP)$$tags" \
+ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags gsm_config.h.in $$unique $(LISP))
+
+mostlyclean-tags:
+
+clean-tags:
+
+distclean-tags:
+ -rm -f TAGS ID
+
+maintainer-clean-tags:
+
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ -rm -rf $(distdir)
+ GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
+ mkdir $(distdir)/=build
+ mkdir $(distdir)/=inst
+ dc_install_base=`cd $(distdir)/=inst && pwd`; \
+ cd $(distdir)/=build \
+ && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) dist
+ -rm -rf $(distdir)
+ @banner="$(distdir).tar.gz is ready for distribution"; \
+ dashes=`echo "$$banner" | sed s/./=/g`; \
+ echo "$$dashes"; \
+ echo "$$banner"; \
+ echo "$$dashes"
+dist: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ -rm -rf $(distdir)
+dist-all: distdir
+ -chmod -R a+r $(distdir)
+ GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
+ -rm -rf $(distdir)
+distdir: $(DISTFILES)
+ -rm -rf $(distdir)
+ mkdir $(distdir)
+ -chmod 777 $(distdir)
+ here=`cd $(top_builddir) && pwd`; \
+ top_distdir=`cd $(distdir) && pwd`; \
+ distdir=`cd $(distdir) && pwd`; \
+ cd $(top_srcdir) \
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
+ @for file in $(DISTFILES); do \
+ d=$(srcdir); \
+ if test -d $$d/$$file; then \
+ cp -pr $$d/$$file $(distdir)/$$file; \
+ else \
+ test -f $(distdir)/$$file \
+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+ || cp -p $$d/$$file $(distdir)/$$file || :; \
+ fi; \
+ done
+ for subdir in $(DIST_SUBDIRS); do \
+ if test "$$subdir" = .; then :; else \
+ test -d $(distdir)/$$subdir \
+ || mkdir $(distdir)/$$subdir \
+ || exit 1; \
+ chmod 777 $(distdir)/$$subdir; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
+ || exit 1; \
+ fi; \
+ done
+info-am:
+info: info-recursive
+dvi-am:
+dvi: dvi-recursive
+check-am: all-am
+check: check-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+all-recursive-am: gsm_config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+install-exec-am:
+install-exec: install-exec-recursive
+
+install-data-am:
+install-data: install-data-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-recursive
+uninstall-am:
+uninstall: uninstall-recursive
+all-am: Makefile gsm_config.h
+all-redirect: all-recursive-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -rm -f Makefile $(CONFIG_CLEAN_FILES)
+ -rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
+
+mostlyclean: mostlyclean-recursive
+
+clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
+
+clean: clean-recursive
+
+distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
+ -rm -f libtool
+
+distclean: distclean-recursive
+ -rm -f config.status
+
+maintainer-clean-am: maintainer-clean-hdr 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-recursive
+ -rm -f config.status
+
+.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
+install-data-recursive uninstall-data-recursive install-exec-recursive \
+uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
+all-recursive check-recursive installcheck-recursive info-recursive \
+dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
+install-exec-am install-exec install-data-am install-data install-am \
+install uninstall-am uninstall all-redirect all-am all installdirs-am \
+installdirs mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+all:
+
+# 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:
11 NEWS
@@ -0,0 +1,11 @@
+NEWS - 9.1.2000
+
+ Version 1.0 - first release with RPM support and binary packages
+
+NEWS - 15.11.1999
+
+ BETA version (details see ChangeLog)
+
+NEWS - 16.7.1999
+
+ initial release
159 README
@@ -0,0 +1,159 @@
+INTRODUCTION
+
+ This distribution contains a library to access GSM mobile phones
+ through GSM modems or IrDA devices. Features include:
+
+ * modification of phonebooks stored in the mobile phone or on the
+ SIM card
+
+ * reading and writing of SMS messages stored in the mobile phone
+
+ * sending and reception of SMS messages
+
+ Additionally, some simple command line programs are provided to
+ use these functionalities.
+
+
+REQUIREMENTS
+
+ You need a mobile phone that conforms to the GSM
+ standards ETSI GSM 07.07, ETSI GSM 07.05, and others.
+ Non-GSM mobile phones will not work! Additionally,
+ to access the mobile phone from the computer you will probably need an
+ GSM modem (that would be a PC-CARD, usually). There might be some
+ mobile phones, however, that incorporate directly terminal
+ adapter (TA) functionality. Access via IrDA interfaces is also
+ reported to work.
+
+ If you want to compile the library yourself please also read
+ doc/README.developers.
+
+
+INSTALLATION
+
+ This distribution uses autoconf/automake/libtool. See the file
+ INSTALL for generic installation instructions. The default
+ commands for installation under /usr/local would be:
+
+ ./configure
+ make
+ make install
+
+ If there are any problems you can generate a debug version. See
+ doc/README.developers for details.
+
+
+AVAILABLE DOCUMENTATION
+
+ For the command line tools UNIX manual pages are available in the
+ doc subdirectory of this distribution. These are installed by
+ default in the directories /usr/local/man1, man7, and man8.
+
+ See also the files doc/README.developers, doc/README.NLS and doc/FAQ.
+
+
+HARDWARE
+
+ The following mobile phone/GSM modem combinations are reported to
+ be compatible in varying degrees with the current release:
+
+ - Nokia 6150/Xircom REM56G.100
+ - Nokia 6150/Options "GSM-Ready(R) Cellular-Only" modem
+ from Option International
+ - Nokia 6210/- (Linux IrDA serial device)
+ - Nokia 8810/- (Linux IrDA serial device)
+ - Siemens S10D/Dr Neuhaus Gipsy Card GSM
+ - Siemens S25/- (Linux IrDA serial device)
+ - Siemens S35i/- (Linux IrDA serial device)
+ - Siemens S45
+ - Ericcson SH888/- (Linux IrDA serial device)
+ - Ericsson 6050102/GM 12 GSM module
+ - Ericsson T28s (firmware 000809 1106)
+ - Ericsson T20e (firmware R3A007)
+ - -/Siemens M20T (stand-alone GSM module)
+ - -/Wavecom WM02 GSM (stand-alone GSM module)
+ - Nokia 7110 (firware rev 4.80)/- (Linux IrDA serial device)
+ - Nokia 8290 (USA GSM 1900MHz)/- (Linux IrDA serial device)
+ - Falcom A2-1/- (stand-alone GSM module)
+ - Ericsson R320s/- (Linux IrDA serial device)
+ - Motorola Timeport 260/- (Serial cable and Linux IrDA serial device)
+ - Motorola Timeport 250/- (Linux IrDA serial device)
+ - Motorola Timeport P7389/- (Linux IrDA serial device)
+ - Nokia Cellular Card Phone RPE-1 GSM900 and
+ - Nokia Card Phone RPM-1 GSM900/1800
+ - Nokia Cardphone/Compaq iPAQ
+ - Omnipoint technologies Redhawk 2000 GSM modem
+ - Ericsson T28 (but one firmware revision is reported to have problems)
+ - Ericcson T65
+ - Ericcson T39m/Bluetooth
+ - Option International GlobeTrotter PCMCIA
+
+ Note 1: Some of the mobile phones have an integrated GSM modem
+ that can be accessed via the Linux IrDA drivers.
+
+ Note 2: Some of the abovementioned phones have still some glitches
+ with gsmlib (and I haven't tested them myself).
+
+ For the following phones I receive a lot of errors reports:
+
+ - Ericcson SH888: SMS function don't work with many firmware releases
+
+ This list is not exhaustive, there are probably many other types of
+ phone or GSM modem that work with gsmlib. Just try it and report back
+ to me!
+
+
+DISCLAIMER
+
+ Even though care has been taken in the design and implementation
+ of this software it can not be excluded that this software could
+ destroy data in your mobile phone or may even render your mobile
+ phone useless (by erroneous PIN settings, for example). The
+ author will not be held responsible legally, financially, or in any
+ other form for any kind of damage that might occur from using
+ this software.
+
+ This software is provided "as is" and without any expressed or implied
+ warranties, including, without limitation, the implied warranties of
+ merchantibility and fitness for any particular purpose.
+
+ If you are not ready to accept these conditions please don't use
+ this software.
+
+
+COPYING
+
+ This software is available on the LGPL (GNU LIBRARY GENERAL
+ PUBLIC LICENSE), ie. it is allowed to link
+ the library to commercial programs.
+
+ See the file COPYING for details on the license.
+
+
+BUGS
+
+ There still seem to be some problems with IrDA devices under
+ Linux. There have been reports of gsmlib-based applications
+ (eg. gsmctl) hanging upon startup after initializing the serial port
+ /dev/ircomm. I would be thankful for any input on this problem.
+
+ If something does not work with your OS platform or the mobile/TA
+ combination please send a complete trace of the compilation or the
+ program execution that did fail. Make sure to compile with debugging
+ information enabled. Otherwise it will not be possible for me to do
+ much about the problem. Send bug reports to the mailing list or
+ to software@pxh.de. I promise not to publish telephone numbers or other
+ private information that might be contained in the execution traces
+ that you send me.
+
+
+AUTHOR
+
+ Peter Hofmann <software@pxh.de>.
+
+
+MAINTAINERS
+
+ Mark Purcell <msp@debian.org> (BEFORE THIS FORK !)
+
+ Vianney Bouchaud <v@bouchaud.org>
289 TODO
@@ -0,0 +1,289 @@
+This is my list of TODOs for development of this software (not
+necessarily in order of importance):
+
+("+" = DONE)
+
++ handle:
+ > --> AT+COPS=?
+ > <--
+ > <-- +COPS: (1,"AMENA",,"21403"),(3,"MOVISTAR",,"21407"),
+ > <-- (3,"E VODAFONE",,"21401"),,(0,1),(2)
+ > <--
+ > <-- OK
+ > gsmctl[ERROR]: expected comma (at position 45 of string '(1,"AMENA",,"21403"),(3,"MOVISTAR",,"21407"),')
+
++ extend README and web site with names of working phones (Siemens S45,...)
+
++ add workaround:
+ > <ME0> Manufacturer: Nokia Mobile Phones
+ > <ME1> Model: 8290
+ > <ME2> Revision: SW5.22
+ > <ME3> Serial Number: 010070303406434
+ > <FUN> Functionality Level: 1
+ > gsmctl[ERROR]: expected number, got '(2)'
+
+- add fork to gsmsmsd
+
++ document "on" and "off" operations of gsmctl
+
+- Just assume full functionality and issue AT+CGMF=0 if we haven't already
+ done so for this MeTa.
+
++ make update po
+
++ add find function
+
++ specify exact location of manual files in /usr/man/man* in spec
+ file, so that erase does not try to delete these directories
+
++ update PO
+
++ add option to gsmsendsms/gsmsmsd to request delivery reports
+
++ Fix CBM reception in gsmsmsd, see testcb.cc program
+
++ fix gsmsmsd:
+ --> AT+CNMI=?
+ <--
+ <-- +CNMI: (1),(1),(0),(0),(0)
+ <--
+ <-- OK
+ --> AT+CNMI=1,0,0,0,0
+ <--
+ <-- +CME ERROR: 003
+ ./gsmsmsd[ERROR]: ME/TA error 'operation not allowed' (code 003)
+
++ Wenn ich den SMS-Speicher auslesen m�chte, bricht gsmlib ab, weil der
+ Speicherplatz 1 auf der SIM-Karte nicht belegt ist. Das kann z.B.
+ passieren, wenn man Nachrichten im Handy l�scht. Es kommt der Fehlercode
+ 321 (Invalid memory index). Wie w�re es, in der Leseroutine alle
+ ung�ltigen Pl�tze zu ignorieren und solange zu lesen, bis die Anzahl der
+ vorhandenen Nachrichten im Speicher eingelesen ist?
+
++ document --charset option of gsmpb
+
++ Problems with PDUs with alphanumeric SCA, e.g.:
+ 07911497941902F00414D0E474989D769F5DE4320839001040122151820000
+
++ > 2. Ich kann mit meinem Nokia 6210 nicht den Telefon-SMS-Speicher
+ auslesen. Dies liegt an der Speicherwahl, die vor dem Auslesen
+ an das Telefon �bermittelt wird. Von der gsmlib wird anscheinend
+ immer die Anzahl der Speicher aus dem "CPMS=?"-Befehl genommen
+ (z.B. "SM","SM","SM"). Notwendig ist es aber nur, die erste
+ Position (zum Lesen und L�schen) bzw. die ersten beiden
+ Positionen (zum Schreiben) zu benutzen.
+ Das Nokia 6210 unterst�tzt aber an der ritten Stelle nur "SM",
+ nicht "ME". So kann ich die SMS im Telefon leider nicht
+ auslesen :-(
+
+- add option to gsmpb/gsmssmstore deletion to delete ALL entries
+
+- recheck Solaris port
+
++ cache character set settings in MeTa
+
++ add documentation for new gsmctl and gsmpb charset parameters
+
++ support characters sets other than GSM default alphabet for phone books
+
++ create non-existent files (gsmpb and gsmsmsstore)
+
++ rename libgsm to libgsmme, new major version 1
+
++ document sca/setsca operations/parameters in gsmctl
+
++ document option to set SCA in SMS-related apps
+
++ implement option to set SCA in SMS-related apps
+
++ convert NDEBUG test output from cout to cerr
+
++ test new gsm_unix_serial behaviour
+
++ apply checks for telephone number in gsm_sorted_phonebook
+
++ add interrupted() checks
+
++ check for gcc-2.95.2 in configure
+
+- document custom backend options of gsmpb (and gsmsmsstore)
+
+- /var/lock/LCK..modem
+
++ make gsmctl all continue even if there are some failures
+
++ CPIN thing
+
++ bring German translations up-to-date
+
++ document -I parameter
+
++ make chat routines robust against TAs that insist on echoing AT commands
+
++ ericsson sh 888:
+ <-- AT+CLCK="P2",2,,1
+ <--
+ +CME ERROR: 4
+ gsmctl[ERROR]: ME/TA error 'operation not supported' (code 4)
+
++ put README etc. into gsmlib package (not only devel)
+
++ make SMS decoding routines more robust against bad SMS (especially
+ premature end of PDU)
+
++ stop gsm_sorted_sms_store.cc from copying back SMS that came from
+ the SC (SMS_DELIVER, SMS_STATUS_REPORT, SMS_SUBMIT_REPORT). Their
+ message type is ambiguous and the ME may misinterpret them.
+
++ gsmsmsd: reinitialize modem every hour or so (signal termination implemented)
+
++ implement store, flush and spool options of gsmsmsd,
+ document them in man pages
+
++ test case for COPS answer numeric operator name in quotation marks
+ (testparser.cc)
+
++ retry when initializing TA (ATZ/ATE0 sequences)
+
++ correctly parse malformed SMS PDUs without SCA with Ericsson phone,
+ introduce Capability object for that. Ericsson ID:
+ <ME0> Manufacturer: ERICSSON
+ <ME1> Model: 6050102
+ <ME2> Revision: 990225 1852 CXC112143
+ <ME3> Serial Number: 520001690279310
+
++ Determine CPMS number of parameters for CPMS command (Ericsson
+ phone/GM12 GSM modem):
+ AT+CPMS?
+ +CPMS: "ME",0,10,"ME",0,10
+ AT+CPMS=?
+ +CPMS: ("ME","SM"),("ME","SM")
+
++ accept string as numeric value when interpreting COPS=? response
+ (Ericsson phone + GSM12 GSM module)
+
++ accept string as numeric value when interpreting COPS? response
+ (Ericsson phone + GSM12 GSM module)
+
++ It would be nice if it was possible to send sms:es
+ via gsmsmsd as well, via a spool directory or a socket (or stdin, in which
+ case one can put another program in front of this program and then
+ feed it with outgoing messages any way one wants). That way the program
+ could be the gateway between programs and the sms network. Now one has
+ to stop gsmsmsd to send an sms and that's not so elegant or write
+ ones own program.
+
++ gsmsmsd geht davon aus, das ein platz frei ist und benutzt nur diesen....
+ Wenn also eine SMS kommt, dann zieht es Sie raus, und l�scht den
+ Speicherplatz.
+ Wenn aber die Karte voll ist, passiert gar nichts. F�r eine automatisierte
+ umgebung ist das schlecht. besser w�re es, bei startup von gsmsmsd alle
+ Speicherpl�tze abzufr�hst�cken, und die Action aufzurufen.
+
++ Ein RING bringt den gsmsmsd ziemlich heftig aus dem Tritt. Hab jetzt �ne
+ Rufumleitung eingebaut.
+
++ Links section in homepage
+
++ AT+CNMI=? liefert bei mir folgendes zur�ck:
+ +CNMI: (0-3),(0-3),(0-2),0,(0-1)
+ Parameter 4 (<ds>) liefert also keine Liste sondern nur ein Int zur�ck, du
+ versuchts aber ein ( zu parsen.
+ Was sagt die ETSI-spec. dazu ?? Ist das konform ??
+
++ give name of command at beginning of synopsis in man pages
+
++ list combinations of mobiles phones/GSM modems in the README
+
++ test ALARM in case of timeout when writing or reading to TA
+
++ install headers in gsmlib subdirectory
+
++ RPM spec file
+
++ test index changes for sorted phonebook -> write second test case
+
++ sort phone numbers the same way in gsm_sorted_sms_store and
+ gsm_sorted_phonebook
+
++ write glossary for all these nice abbreviations (TA, ME, SC, SME, TE)
+
++ HAVE_VSNPRINTF instead of HAVE_VPRINTF
+
++ internationalization of messages with GNU gettext. Files:
+ +gsm_at.cc +gsm_parser.cc +gsm_sorted_phonebook.cc
+ +gsm_error.cc +gsm_phonebook.cc +gsm_sorted_sms_store.cc
+ +gsm_event.cc +gsm_sms.cc +gsm_unix_serial.cc
+ +gsm_me_ta.cc +gsm_sms_codec.cc +gsm_util.cc
+ +gsm_nls.cc +gsm_sms_store.cc
+ +gsmctl.cc +gsmpb.cc +gsmsendsms.cc
+ +gsmsmsd.cc +gsmsmsstore.cc
+
++ implement indexed phonebook ops in gsmpb.cc
+
++ describe phonebook file format in gsmpb.man
+
++ update list of compatible hardware in README
+
++ all #include <gsm_config.h> must be enclosed in #ifdef's
+
++ check for getopt_long in configure
+
++ remove asserts regarding lengths of numeric data types, put them
+into configure script
+(string)
+
++ sort options in apps/*.cc alphabetically
+
++ in gsm_sorted_sms_store compare telephone numbers numerically
+
++ introduce -v option to gsmpb and gsmsmsstore to report execution
+statistics (gives a nicer feeling to users)
+
++ test new synchronization function in gsmpb program
+
++ implement equality operator for SMSSToreEntry
+
++ test 'make install'
+
++ implement operations in the gsmctl program
+
++ test operations in the gsmctl program
+
++ document operations in the gsmctl program
+
++ rewrite test cases (compare output)
+
++ write gsm_sorted_sms_store module (along the lines of gsm_sorted_phonebook)
+
++ complete gsmsmsstore program (using abovementioned modules)
+
+TODO low priority:
+
+- implement SMS text mode
+
+- The action command of gsmsmsd would be easier to make, if the program
+ sent the values in environment variables instead (except the user data
+ which could be sent on stdin).
+
++ Upgrade to latest autoheader, autoconf, libtool
+
+- provide German translations for manual pages
+
+- organize doc subdirectory for translated READMEs, manual pages
+
++ Win32 port
+
+- test: optimization when accessing phonebooks: use size information
+available via AT command to stop reading entries known to be empty (I
+cannot test this with my hardware since CPBS? is not fully supported)
+
+- make apps accept stdin or stdout
+
++ maybe strip leading and trailing whitespace from phonebook entries
+when reading them from ME/TA or file? (not done, perhaps users want to
+achieve special effects with white space)
+
+- support international character sets (8-bit, 16-bit) in phonebook
+operations (I'd like to have input from users who need this)
+
33 acconfig.h
@@ -0,0 +1,33 @@
+/* used by libtool*/
+#define PACKAGE 0
+
+/* used by libtool*/
+#define VERSION 0
+
+/* Define if getopt_long() available */
+#undef HAVE_GETOPT_LONG
+
+/* Define if alarm() available */
+#undef HAVE_ALARM
+
+/* Define if netinet/in.h header available */
+#undef HAVE_NETINET_IN_H
+
+/* Define if string.h header available */
+#undef HAVE_STRING_H
+
+/* Define for NLS */
+#undef ENABLE_NLS
+#undef HAVE_CATGETS
+#undef HAVE_GETTEXT
+#undef HAVE_LC_MESSAGES
+#undef HAVE_STPCPY
+
+/* Define LOCALEDIR */
+#define LOCALEDIR "/usr/share/locale"
+
+/* Define if libintl.h header available */
+#undef HAVE_LIBINTL_H
+
+/* Define if vsnprintf() function available */
+#undef HAVE_VSNPRINTF
0 acinclude.m4
No changes.
9,704 aclocal.m4
9,704 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
36 apps/Makefile.am
@@ -0,0 +1,36 @@
+## Process this file with automake to produce Makefile.in
+# *************************************************************************
+# * GSM TA/ME library
+# *
+# * File: Makefile.am
+# *
+# * Purpose: apps Makefile
+# *
+# * Author: Peter Hofmann (software@pxh.de)
+# *
+# * Created: 5.6.1999
+# *************************************************************************
+
+INCLUDES = -I..
+
+bin_PROGRAMS = gsmsmsstore gsmctl gsmsmsd gsmpb gsmsendsms
+
+# build gsmsmsd from gsmsmsd.cc and libgsmme.la
+gsmsmsd_SOURCES = gsmsmsd.cc
+gsmsmsd_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmpb from gsmpb.cc and libgsmme.la
+gsmpb_SOURCES = gsmpb.cc
+gsmpb_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmctl from gsmctl.cc and libgsmme.la
+gsmctl_SOURCES = gsmctl.cc
+gsmctl_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmsendsms from gsmsendsms.cc and libgsmme.la
+gsmsendsms_SOURCES = gsmsendsms.cc
+gsmsendsms_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmsmsstore from gsmsmsstore.cc and libgsmme.la
+gsmsmsstore_SOURCES = gsmsmsstore.cc
+gsmsmsstore_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
442 apps/Makefile.in
@@ -0,0 +1,442 @@
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
+# @configure_input@
+
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# *************************************************************************
+# * GSM TA/ME library
+# *
+# * File: Makefile.am
+# *
+# * Purpose: apps Makefile
+# *
+# * Author: Peter Hofmann (software@pxh.de)
+# *
+# * Created: 5.6.1999
+# *************************************************************************
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_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
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = @program_transform_name@
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+
+EXEEXT = @EXEEXT@
+OBJEXT = @OBJEXT@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+AMTAR = @AMTAR@
+AS = @AS@
+AWK = @AWK@
+BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
+CATOBJEXT = @CATOBJEXT@
+CC = @CC@
+CPP = @CPP@
+CXX = @CXX@
+DATADIRNAME = @DATADIRNAME@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+ECHO = @ECHO@
+GENCAT = @GENCAT@
+GLIBC21 = @GLIBC21@
+GMSGFMT = @GMSGFMT@
+GSM_VERSION = @GSM_VERSION@
+HAVE_LIB = @HAVE_LIB@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INSTOBJEXT = @INSTOBJEXT@
+INTLBISON = @INTLBISON@
+INTLLIBS = @INTLLIBS@
+INTLOBJS = @INTLOBJS@
+INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
+LIB = @LIB@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIB = @LTLIB@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+MKINSTALLDIRS = @MKINSTALLDIRS@
+OBJDUMP = @OBJDUMP@
+PACKAGE = @PACKAGE@
+POSUB = @POSUB@
+RANLIB = @RANLIB@
+STRIP = @STRIP@
+USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+am__include = @am__include@
+am__quote = @am__quote@
+install_sh = @install_sh@
+
+INCLUDES = -I..
+
+bin_PROGRAMS = gsmsmsstore gsmctl gsmsmsd gsmpb gsmsendsms
+
+# build gsmsmsd from gsmsmsd.cc and libgsmme.la
+gsmsmsd_SOURCES = gsmsmsd.cc
+gsmsmsd_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmpb from gsmpb.cc and libgsmme.la
+gsmpb_SOURCES = gsmpb.cc
+gsmpb_LDADD = ../gsmlib/libgsmme.la $(INTLLIBS)
+
+# build gsmctl from gsmctl.cc and libgsmme.la
+gsmctl_SOURCES = gsmctl.cc