##

##

##

##

##

    Debian, Ubuntu, .. (.deb)
    CentOS, Suse, ..   (.rpm)
    MS-Windows
    Development-Unix
    Development-MS-Win

    ____________________________________________________________________________

    Development-Unix:

    Necessary symbols:
      $DIR_DEV; if not defined ${HOME}/devel/  will be used
      $DIR_BIN; if not defined ${HOME}/devel/bin/  will be used

      For other directories do:
      export DIR_DEV='//'
      export DIR_BIN='//'

      $DIR_DEV must have sourcfiles

      $DIR_BIN will receive all objectsi, libs and executables
        in ${DIR_BIN}/gcad3d/ ???

    Used symbols  (set in ${DIR_DEV}gcad3d/src/options.sh):
    ${gcad_dir_dev} = ${DIR_DEV}gcad3d/
    ${gcad_dir_bin} = ${HOME}/devel/binLinux${bitNr}

    Programfiles:
      ${gcad_dir_dev}src/*          all sourcefiles
      ${gcad_dir_dev}debian/*       package-creation-files debian
      ${gcad_dir_dev}pack_MS/*      package-creation-files MS-Win
      ${gcad_dir_dev}packages/*     packages for all OS

    Userfiles:
      ${gcad_dir_dev}gCAD3D/

    Symbols set by gcad-startup-script:
      gcad_dir_bin       (Def. = /usr/lib/gCAD3D/binLinux${osVer})
      LD_LIBRARY_PATH    (Def. = ${gcad_dir_bin})

      This symbols can be set:
        gcad_dir_bas     (Def. = /usr/share/gcad3d/)
        gcad_dir_ico     (Def. = /usr/share/gcad3d/icons/)
        gcad_dir_local   (Def. = ${HOME}/gCAD3D/)

    Create-package-debian:
      ${DIR_DEV}gcad3d/debian/pack_deb.sh

    ____________________________________________________________________________

    Development-MS-Win:

    let %DIR_DEV% = {basic-development-directory}\gcad3d
      %DIR_DEV%\binMS32           binarary files

    %DIR_DEV%\src\*          all sourcefiles

    Create-package-MS-Win:
      %DIR_DEV%\pack_MS\pack.bat  (using gcad3d\pack_MS\gCAD3D.nsi)

    ____________________________________________________________________________

    Debian, Ubuntu, .. (.deb)

    Programfiles:
      /usr/bin/gcad3d                            Startscript for main-executable
      /usr/lib/gCAD3D/binLinux64/gCAD3D          main-executable
      /usr/lib/gCAD3D/binLinux64/*.so            shared libs for main-executable
      /usr/lib/gCAD3D/binLinux64/plugins/*.so    plugins (shared libs)
      /usr/lib/gCAD3D/binLinux64/plugins/cut1/*  processes (NC-programs, executables)
      /usr/share/menu/gcad3d                     menufile for package gcad3d
      /usr/share/pixmaps/gCAD3D.xpm              icon for menufile
      /usr/share/gcad3d/gCAD3D.desktop           Desktop-starter
      /usr/share/gcad3d/examples.gz              zipfile for userspace
      /usr/share/gcad3d/icons/*                  icons for executable
      /usr/share/doc/gcad3d/changelog.Debian.gz, copyright
      /usr/share/doc/gcad3d/html/*               documentation
      /usr/share/doc/gcad3d/msg/*                software-message-files

    Userfiles:
      $HOME/gCAD3D/tmp/                          temporary files
                   dat/                          cad-models-directory
                   cfg/                          config-files
                   prg/                          application-programs .gcap topDir
                   ctlg/                         Catalog-files .gcad topDir

    If file $HOME/gCAD3D/cfg/gCAD3D.rc does not exist:
      /usr/share/gcad3d/examples.zip will be extracted,
      - this will overwrite all startup-userfiles with the original version,
      - also the user-config-files  in $HOME/gCAD3D/cfg/ !

    ___________________________________________________

    CentOS, Suse, .. (.rpm)

    Programfiles:
      /usr/bin/gcad3d                            Startscript for main-executable
      /usr/lib64/gcad3d/Linux_x86_64/gCAD3D      main-executable
      /usr/lib64/gcad3d/Linux_x86_64/*.so        shared libs for main-executable
      /usr/lib64/gcad3d/Linux_x86_64/plugins/*.so   plugins (shared libs)
      /usr/lib64/gCAD3D/Linux_x86_64/plugins/cut1/* processes (NC-programs, executables)
      /usr/share/applications/gCAD3D.desktop     Desktop-starter
      /usr/share/pixmaps/gCAD3D.xpm              icon for Desktop-starter
      /usr/share/gcad3d/examples.gz              zipfile for userspace
      /usr/share/gcad3d/icons/*                  icons for executable
      /usr/share/doc/gcad3d/changelog.Debian.gz, copyright
      /usr/share/doc/gcad3d/html/*               documentation
      /usr/share/doc/gcad3d/msg/*                software-message-files

    Userfiles:
      $HOME/gCAD3D/tmp/                          temporary files
                   dat/                          cad-models-directory
                   cfg/                          config-files
                   prg/                          application-programs .gcap topDir
                   ctlg/                         Catalog-files .gcad topDir

    If file $HOME/gCAD3D/cfg/gCAD3D.rc does not exist:
      /usr/share/gcad3d/examples.zip will be extracted,
      - this will overwrite all startup-userfiles with the original version,
      - also the user-config-files  in $HOME/gCAD3D/cfg/ !

    ____________________________________________________________________________

    MS-Windows:

    Programfiles:
      %ProgramFiles%\gCAD3D\gCAD3D.bat           Startscript for main-executable
      %ProgramFiles%\gCAD3D\binMS32\*            executables, libs, plugins, ..
      %ProgramFiles%\gCAD3D\doc\*
      %ProgramFiles%\gCAD3D\icons\*
      %USERPROFILE%\Desktop\gCAD3D.lnk           Desktop-starter

    Userfiles:
      %APPDATA%\gCAD3D\tmp\                      temporary files
                       dat\                      cad-models-directory
                       cfg\                      config-files
                       prg\                      application-programs .gcap topDir
                       ctlg\                     Catalog-files .gcad topDir

    ____________________________________________________________________________