pkgsrc/mk/install
joerg 005620851f Add core of the infrastructure support for cross-compilation.
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of
  the target filesystem
- derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR
- buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR
- compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf)
- PKG_DBDIR is prefixed with _CROSS_DESTDIR
- package-install and bin-install are not called with su
- install and strip are redirected to the tool version
- links for the target specific ar, as, ld, nm, objdump, ranlib and
  strip are added
- compiler wrapper detect if linking is requested or not
- special command sinks for CPP and CC/CXX add the cross-compile magic:
  - modify include dirs to get the target /usr/include
  - modify linker dirs and runpath to use target /usr/lib at link time,
    but keep correct rpath entries

Supported-by: Google SoC 2007
Basic tests by he@ on Sparc. Review from jlam@.
2007-08-02 18:19:31 +00:00
..
bin-install.mk Add core of the infrastructure support for cross-compilation. 2007-08-02 18:19:31 +00:00
bsd.install-vars.mk Remove USE_MTREE support. Keep one copy (the NetBSD version) for 2007-07-02 14:54:09 +00:00
bsd.install.mk Replaced PKG_SILENT/PKG_DEBUG with RUN. 2007-03-09 03:15:33 +00:00
deinstall.mk Renamed some more flavor-specific targets to have the form _flavor-*. 2007-03-09 00:39:54 +00:00
install.mk Remove USE_MTREE support. Keep one copy (the NetBSD version) for 2007-07-02 14:54:09 +00:00
replace.mk Fixed pkglint warnings. 2007-03-09 03:28:58 +00:00