forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VPATH and remove $(top_srcdir)/... to make sure it's possible to
do the build in a different directory and not clutter the source with build results (such as Makefiles, *.o and *.a files etc). Closes: openzfs#1082
- Loading branch information
Showing
53 changed files
with
406 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
SUBDIRS = zfs zpool zdb zhack zinject zstreamdump ztest zpios | ||
SUBDIRS += mount_zfs fsck_zfs zvol_id vdev_id arcstat dbufstat zed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bin_SCRIPTS = arcstat.py | ||
VPATH = @abs_top_srcdir@ | ||
|
||
bin_SCRIPTS = $(top_srcdir)/cmd/arcstat/arcstat.py | ||
EXTRA_DIST = $(bin_SCRIPTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bin_SCRIPTS = dbufstat.py | ||
VPATH = @abs_top_srcdir@ | ||
|
||
bin_SCRIPTS = $(top_srcdir)/cmd/dbufstat/dbufstat.py | ||
EXTRA_DIST = $(bin_SCRIPTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
dist_sbin_SCRIPTS = fsck.zfs | ||
VPATH = @abs_top_srcdir@ | ||
|
||
dist_sbin_SCRIPTS = $(top_srcdir)/cmd/fsck_zfs/fsck.zfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
dist_udev_SCRIPTS = vdev_id | ||
VPATH = @abs_top_srcdir@ | ||
|
||
dist_udev_SCRIPTS = $(top_srcdir)/cmd/vdev_id/vdev_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h | ||
|
||
AM_LIBTOOLFLAGS = --silent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
pkgdracutdir = $(dracutdir)/modules.d/90zfs | ||
pkgdracut_SCRIPTS = \ | ||
$(top_srcdir)/dracut/90zfs/module-setup.sh \ | ||
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \ | ||
$(top_srcdir)/dracut/90zfs/parse-zfs.sh | ||
module-setup.sh \ | ||
mount-zfs.sh \ | ||
parse-zfs.sh | ||
|
||
EXTRA_DIST = \ | ||
$(top_srcdir)/dracut/90zfs/module-setup.sh.in \ | ||
|
@@ -15,7 +17,7 @@ $(pkgdracut_SCRIPTS): | |
-e 's,@udevdir\@,$(udevdir),g' \ | ||
-e 's,@udevruledir\@,$(udevruledir),g' \ | ||
-e 's,@sysconfdir\@,$(sysconfdir),g' \ | ||
'[email protected]' >'$@' | ||
"$(abs_top_srcdir)/dracut/90zfs/$@.in' >'$@' | ||
|
||
distclean-local:: | ||
-$(RM) $(pkgdracut_SCRIPTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
SUBDIRS = 90zfs | ||
|
||
EXTRA_DIST = README.dracut.markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
SUBDIRS = zfs $(ZFS_INIT_SYSTEMD) $(ZFS_INIT_SYSV) $(ZFS_MODULE_LOAD) | ||
DIST_SUBDIRS = init.d zfs systemd modules-load.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
modulesload_DATA = \ | ||
$(top_srcdir)/etc/modules-load.d/zfs.conf | ||
zfs.conf | ||
|
||
EXTRA_DIST = \ | ||
$(top_srcdir)/etc/modules-load.d/zfs.conf.in | ||
|
||
$(modulesload_DATA): | ||
-$(SED) \ | ||
-e '' \ | ||
'$@.in' >'$@' | ||
"$(top_srcdir)/etc/modules-load.d/$@.in" >'$@' | ||
|
||
distclean-local:: | ||
-$(RM) $(modulesload_DATA) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
SUBDIRS = system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
VPATH = @abs_top_srcdir@ | ||
|
||
pkgsysconfdir = $(sysconfdir)/zfs | ||
|
||
pkgsysconf_DATA = \ | ||
vdev_id.conf.alias.example \ | ||
vdev_id.conf.sas_direct.example \ | ||
vdev_id.conf.sas_switch.example \ | ||
vdev_id.conf.multipath.example | ||
etc/zfs/vdev_id.conf.alias.example \ | ||
etc/zfs/vdev_id.conf.sas_direct.example \ | ||
etc/zfs/vdev_id.conf.sas_switch.example \ | ||
etc/zfs/vdev_id.conf.multipath.example | ||
|
||
EXTRA_DIST = $(pkgsysconf_DATA) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.