##

##

##

##

##

    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 objects, 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}doc/*          textfiles, html
      ${gcad_dir_dev}icons/*        icons
      ${gcad_dir_dev}debian/*       package-creation-files Debian, Ubuntu, .. (.deb)
      ${gcad_dir_dev}rpm/*          package-creation-files CentOS, Suse, ..   (.rpm)
      ${gcad_dir_dev}pack_MS/*      package-creation-files MS-Win
      ${gcad_dir_dev}packages/*     packages for all OS

    Userfiles:
      ${gcad_dir_dev}gCAD3D/*       configfiles, testmodels .. for app

    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/Linux_x86_64/gCAD3D        main-executable
      /usr/lib/gcad3d/Linux_x86_64/*.so          shared libs for main-executable
      /usr/lib/gcad3d/Linux_x86_64/plugins/*.so  plugins (shared libs)
      /usr/lib/gcad3d/Linux_x86_64/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/gcad3d/doc/html/*               documentation
      /usr/share/gcad3d/doc/msg/*                software-message-files
      /usr/share/doc/gcad3d/changelog.Debian.gz, copyright, NEWS, README

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

    If file $HOME/gCAD3D/cfg_Linux/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_Linux/ !

    ___________________________________________________

    CentOS, Suse, .. (.rpm)

    Programfiles:
      /usr/bin/gcad3d                            Startscript for main-executable
      /usr/lib/gcad3d/Linux_x86_64/gCAD3D        main-executable
      /usr/lib/gcad3d/Linux_x86_64/*.so          shared libs for main-executable
      /usr/lib/gcad3d/Linux_x86_64/plugins/*.so  plugins (shared libs)
      /usr/lib/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/gcad3d/doc/html/*               documentation
      /usr/share/gcad3d/doc/msg/*                software-message-files
      /usr/share/doc/gcad3d/LICENSE, README, NEWS

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

    If file $HOME/gCAD3D/cfg_Linux/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_Linux/ !

    ____________________________________________________________________________

    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_MS\                   config-files
                       prg\                      application-programs .gcap topDir
                       ctlg\                     Catalog-files .gcad topDir

    If file %APPDATA%/gCAD3D/cfg_MS/gCAD3D.rc does not exist:
      the defaultfiles will be copied into %APPDATA%/gCAD3D/cfg_MS/.

    ____________________________________________________________________________