Files
harbour-core/harbour/examples/superlib
Viktor Szakats f1052fb187 2009-06-23 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/superlib/hbsuper.hbp
  + examples/superlib/superlib.hbc
  + examples/superlib/superlib.dif
  - examples/superlib/hbsuper.dif
  * examples/superlib/readme.txt
  + examples/superlib/superlib.hbp
    * Change make system to have full multiplatform/multicompiler
      support. The same all other examples and contribs have.
    + Added one-liner instruction, how to build superlib based
      apps using hbmk2.
2009-06-23 17:11:04 +00:00
..

/*
 * $Id$
 */

1.) Download original sources of SuperLib 3.5 from this page:
       http://www.the-oasis.net/ftpmaster.php3?content=ftplib.htm
    Direct link:
       http://www.the-oasis.net/files/library/supfree.zip

2.) Unpack it:
    unzip supfree.zip
    unzip SOURCE.ZIP

3.) *nix users will need to convert original filenames to lowercase
    and EOLs to native format, using these commands:
    hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.c"
    hbformat -lFCaseLow=yes -nEol=0 -lIndent=no -lCase=no -lSpaces=no "*.prg"

4.) Apply supplied patch to the source using GNU Patch:
    patch -lNi superlib.dif

5.) Build it:
    hbmk2 superlib.hbp

6.) You're done.

7.) Finally, to build an application with SuperLib, use:
    hbmk2 myapp.prg superlib.hbc

[vszakats]