zfs/etc/systemd/system
Turbo Fredriksson 47a4a6fd5f Support parallel build trees (VPATH builds)
Build products from an out of tree build should be written
relative to the build directory.  Sources should be referred
to by their locations in the source directory.

This is accomplished by adding the 'src' and 'obj' variables
for the module Makefile.am, using relative paths to reference
source files, and by setting VPATH when source files are not
co-located with the Makefile.  This enables the following:

  $ mkdir build
  $ cd build
  $ ../configure \
    --with-spl=$HOME/src/git/spl/ \
    --with-spl-obj=$HOME/src/git/spl/build
  $ make -s

This change also has the advantage of resolving the following
warning which is generated by modern versions of automake.

  Makefile.am:00: warning: source file 'xxx' is in a subdirectory,
  Makefile.am:00: but option 'subdir-objects' is disabled

Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1082
2015-07-17 13:42:51 -07:00
..
.gitignore Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
50-zfs.preset.in Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
Makefile.am Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
zed.service.in Change startup mode of ZED 2014-09-02 14:18:53 -07:00
zfs-import-cache.service.in Use ExecStartPre to load zfs modules 2015-05-26 16:18:50 -07:00
zfs-import-scan.service.in Use ExecStartPre to load zfs modules 2015-05-26 16:18:50 -07:00
zfs-mount.service.in Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
zfs-share.service.in Improve systemd script to not leave stale sharetab 2014-12-18 09:54:56 -08:00
zfs.target.in Add systemd unit file for zed 2014-04-02 13:10:08 -07:00