Files
harbour-core/utils/hbmk2/pkg_inst.hbm
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

43 lines
1.2 KiB
Plaintext

# Include file to setup standard installation rules
# for 3rd party packages. To use it just add the line
# '$hb_pkg_install.hbm' to the beginning of your project
# .hbp file. [vszakats]
# specify public/redistributable files
# ------------------------------------
-instfile=misc:*.hb
-instfile=misc:*.hbc
-instfile=misc:*.txt
-instfile=inc:*.ch
-instfile=inc:*.hbx
-instfile=tests:tests/*.*
# setup target directories for installation
# -----------------------------------------
# static library & dynamic library on *nix
{hblib}-instpath=${HB_ADDONS}/${hb_name}/lib/${hb_plat}/${hb_comp}/
# dynamic library on non-*nix
{hbdyn&!unix}-instpath=${HB_BIN}/
{hbdyn&unix}-instpath=${HB_LIB}/
# executable
{hbexe}-instpath=${HB_BIN}/
# import library on non-*nix
-instpath=implib:${HB_ADDONS}/${hb_name}/lib/${hb_plat}/${hb_comp}/
# dynamic libraries belonging to project dependencies
{hbdyn&(win|os2)&HB_INSTALL_3RDDYN='yes'}-instpath=depimplibsrc:${HB_BIN}/
# import libraries belonging to project dependencies
{!(HB_INSTALL_IMPLIB='no')}-instpath=depimplib:${HB_ADDONS}/${hb_name}/lib/${hb_plat}/${hb_comp}/
# misc files, public headers, tests
-instpath=misc:${HB_ADDONS}/${hb_name}/
-instpath=inc:${HB_ADDONS}/${hb_name}/
-instpath=tests:${HB_ADDONS}/${hb_name}/tests/