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
This commit is contained in:
parent
2a53e2dacc
commit
47a4a6fd5f
11
Makefile.am
11
Makefile.am
|
@ -1,9 +1,8 @@
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I config
|
ACLOCAL_AMFLAGS = -I config
|
||||||
|
|
||||||
include $(top_srcdir)/config/rpm.am
|
include config/rpm.am
|
||||||
include $(top_srcdir)/config/deb.am
|
include config/deb.am
|
||||||
include $(top_srcdir)/config/tgz.am
|
include config/tgz.am
|
||||||
|
|
||||||
SUBDIRS = include rpm
|
SUBDIRS = include rpm
|
||||||
if CONFIG_USER
|
if CONFIG_USER
|
||||||
|
@ -57,11 +56,11 @@ shellcheck:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ctags:
|
ctags:
|
||||||
$(RM) $(top_srcdir)/tags
|
$(RM) tags
|
||||||
find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
|
find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
|
||||||
|
|
||||||
etags:
|
etags:
|
||||||
$(RM) $(top_srcdir)/TAGS
|
$(RM) TAGS
|
||||||
find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
|
find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
|
||||||
|
|
||||||
tags: ctags etags
|
tags: ctags etags
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
bin_SCRIPTS = arc_summary.py
|
dist_bin_SCRIPTS = arc_summary.py
|
||||||
EXTRA_DIST = $(bin_SCRIPTS)
|
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
bin_SCRIPTS = arcstat.py
|
dist_bin_SCRIPTS = arcstat.py
|
||||||
EXTRA_DIST = $(bin_SCRIPTS)
|
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
bin_SCRIPTS = dbufstat.py
|
dist_bin_SCRIPTS = dbufstat.py
|
||||||
EXTRA_DIST = $(bin_SCRIPTS)
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ sbindir=$(mounthelperdir)
|
||||||
sbin_PROGRAMS = mount.zfs
|
sbin_PROGRAMS = mount.zfs
|
||||||
|
|
||||||
mount_zfs_SOURCES = \
|
mount_zfs_SOURCES = \
|
||||||
$(top_srcdir)/cmd/mount_zfs/mount_zfs.c
|
mount_zfs.c
|
||||||
|
|
||||||
mount_zfs_LDADD = \
|
mount_zfs_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -7,8 +7,8 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zdb
|
sbin_PROGRAMS = zdb
|
||||||
|
|
||||||
zdb_SOURCES = \
|
zdb_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zdb/zdb.c \
|
zdb.c \
|
||||||
$(top_srcdir)/cmd/zdb/zdb_il.c
|
zdb_il.c
|
||||||
|
|
||||||
zdb_LDADD = \
|
zdb_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -4,25 +4,25 @@ DEFAULT_INCLUDES += \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_srcdir)/lib/libspl/include
|
-I$(top_srcdir)/lib/libspl/include
|
||||||
|
|
||||||
EXTRA_DIST = $(top_srcdir)/cmd/zed/zed.d/README
|
EXTRA_DIST = zed.d/README
|
||||||
|
|
||||||
sbin_PROGRAMS = zed
|
sbin_PROGRAMS = zed
|
||||||
|
|
||||||
zed_SOURCES = \
|
zed_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zed/zed.c \
|
zed.c \
|
||||||
$(top_srcdir)/cmd/zed/zed.h \
|
zed.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_conf.c \
|
zed_conf.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_conf.h \
|
zed_conf.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_event.c \
|
zed_event.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_event.h \
|
zed_event.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_exec.c \
|
zed_exec.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_exec.h \
|
zed_exec.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_file.c \
|
zed_file.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_file.h \
|
zed_file.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_log.c \
|
zed_log.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_log.h \
|
zed_log.h \
|
||||||
$(top_srcdir)/cmd/zed/zed_strings.c \
|
zed_strings.c \
|
||||||
$(top_srcdir)/cmd/zed/zed_strings.h
|
zed_strings.h
|
||||||
|
|
||||||
zed_LDADD = \
|
zed_LDADD = \
|
||||||
$(top_builddir)/lib/libavl/libavl.la \
|
$(top_builddir)/lib/libavl/libavl.la \
|
||||||
|
@ -35,22 +35,22 @@ zed_LDADD = \
|
||||||
zedconfdir = $(sysconfdir)/zfs/zed.d
|
zedconfdir = $(sysconfdir)/zfs/zed.d
|
||||||
|
|
||||||
dist_zedconf_DATA = \
|
dist_zedconf_DATA = \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/zed-functions.sh \
|
zed.d/zed-functions.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/zed.rc
|
zed.d/zed.rc
|
||||||
|
|
||||||
zedexecdir = $(libexecdir)/zfs/zed.d
|
zedexecdir = $(libexecdir)/zfs/zed.d
|
||||||
|
|
||||||
dist_zedexec_SCRIPTS = \
|
dist_zedexec_SCRIPTS = \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/all-debug.sh \
|
zed.d/all-debug.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/all-syslog.sh \
|
zed.d/all-syslog.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/checksum-notify.sh \
|
zed.d/checksum-notify.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/checksum-spare.sh \
|
zed.d/checksum-spare.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/data-notify.sh \
|
zed.d/data-notify.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/generic-notify.sh \
|
zed.d/generic-notify.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/io-notify.sh \
|
zed.d/io-notify.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/io-spare.sh \
|
zed.d/io-spare.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/resilver.finish-notify.sh \
|
zed.d/resilver.finish-notify.sh \
|
||||||
$(top_srcdir)/cmd/zed/zed.d/scrub.finish-notify.sh
|
zed.d/scrub.finish-notify.sh
|
||||||
|
|
||||||
zedconfdefaults = \
|
zedconfdefaults = \
|
||||||
all-syslog.sh \
|
all-syslog.sh \
|
||||||
|
|
|
@ -7,10 +7,10 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zfs
|
sbin_PROGRAMS = zfs
|
||||||
|
|
||||||
zfs_SOURCES = \
|
zfs_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zfs/zfs_iter.c \
|
zfs_iter.c \
|
||||||
$(top_srcdir)/cmd/zfs/zfs_iter.h \
|
zfs_iter.h \
|
||||||
$(top_srcdir)/cmd/zfs/zfs_main.c \
|
zfs_main.c \
|
||||||
$(top_srcdir)/cmd/zfs/zfs_util.h
|
zfs_util.h
|
||||||
|
|
||||||
zfs_LDADD = \
|
zfs_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -7,7 +7,7 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zhack
|
sbin_PROGRAMS = zhack
|
||||||
|
|
||||||
zhack_SOURCES = \
|
zhack_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zhack/zhack.c
|
zhack.c
|
||||||
|
|
||||||
zhack_LDADD = \
|
zhack_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -7,9 +7,9 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zinject
|
sbin_PROGRAMS = zinject
|
||||||
|
|
||||||
zinject_SOURCES = \
|
zinject_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zinject/translate.c \
|
translate.c \
|
||||||
$(top_srcdir)/cmd/zinject/zinject.c \
|
zinject.c \
|
||||||
$(top_srcdir)/cmd/zinject/zinject.h
|
zinject.h
|
||||||
|
|
||||||
zinject_LDADD = \
|
zinject_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -6,7 +6,6 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zpios
|
sbin_PROGRAMS = zpios
|
||||||
|
|
||||||
zpios_SOURCES = \
|
zpios_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zpios/zpios_main.c \
|
zpios_main.c \
|
||||||
$(top_srcdir)/cmd/zpios/zpios_util.c \
|
zpios_util.c \
|
||||||
$(top_srcdir)/cmd/zpios/zpios.h
|
zpios.h
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zpool
|
sbin_PROGRAMS = zpool
|
||||||
|
|
||||||
zpool_SOURCES = \
|
zpool_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zpool/zpool_iter.c \
|
zpool_iter.c \
|
||||||
$(top_srcdir)/cmd/zpool/zpool_main.c \
|
zpool_main.c \
|
||||||
$(top_srcdir)/cmd/zpool/zpool_util.c \
|
zpool_util.c \
|
||||||
$(top_srcdir)/cmd/zpool/zpool_util.h \
|
zpool_util.h \
|
||||||
$(top_srcdir)/cmd/zpool/zpool_vdev.c
|
zpool_vdev.c
|
||||||
|
|
||||||
zpool_LDADD = \
|
zpool_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -7,7 +7,7 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = zstreamdump
|
sbin_PROGRAMS = zstreamdump
|
||||||
|
|
||||||
zstreamdump_SOURCES = \
|
zstreamdump_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zstreamdump/zstreamdump.c
|
zstreamdump.c
|
||||||
|
|
||||||
zstreamdump_LDADD = \
|
zstreamdump_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -9,7 +9,7 @@ DEFAULT_INCLUDES += \
|
||||||
sbin_PROGRAMS = ztest
|
sbin_PROGRAMS = ztest
|
||||||
|
|
||||||
ztest_SOURCES = \
|
ztest_SOURCES = \
|
||||||
$(top_srcdir)/cmd/ztest/ztest.c
|
ztest.c
|
||||||
|
|
||||||
ztest_LDADD = \
|
ztest_LDADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
||||||
|
|
|
@ -11,4 +11,4 @@ DEFAULT_INCLUDES += \
|
||||||
udev_PROGRAMS = zvol_id
|
udev_PROGRAMS = zvol_id
|
||||||
|
|
||||||
zvol_id_SOURCES = \
|
zvol_id_SOURCES = \
|
||||||
$(top_srcdir)/cmd/zvol_id/zvol_id_main.c
|
zvol_id_main.c
|
||||||
|
|
|
@ -338,6 +338,8 @@ AC_DEFUN([ZFS_AC_SPL], [
|
||||||
splbuild="${splsrc}/${LINUX_VERSION}"
|
splbuild="${splsrc}/${LINUX_VERSION}"
|
||||||
], [ test -e "${splsrc}/spl_config.h" ], [
|
], [ test -e "${splsrc}/spl_config.h" ], [
|
||||||
splbuild="${splsrc}"
|
splbuild="${splsrc}"
|
||||||
|
], [ find -L "${splsrc}" -name spl_config.h 2> /dev/null | grep -wq spl_config.h ], [
|
||||||
|
splbuild=$(find -L "${splsrc}" -name spl_config.h | sed 's,/spl_config.h,,')
|
||||||
], [
|
], [
|
||||||
splbuild="[Not found]"
|
splbuild="[Not found]"
|
||||||
])
|
])
|
||||||
|
|
|
@ -51,7 +51,7 @@ rpm-local:
|
||||||
mkdir -p $(rpmbuild)/SPECS && \
|
mkdir -p $(rpmbuild)/SPECS && \
|
||||||
cp ${RPM_SPEC_DIR}/$(rpmspec) $(rpmbuild)/SPECS && \
|
cp ${RPM_SPEC_DIR}/$(rpmspec) $(rpmbuild)/SPECS && \
|
||||||
mkdir -p $(rpmbuild)/SOURCES && \
|
mkdir -p $(rpmbuild)/SOURCES && \
|
||||||
cp scripts/kmodtool $(rpmbuild)/SOURCES && \
|
cp $(top_srcdir)/scripts/kmodtool $(rpmbuild)/SOURCES && \
|
||||||
cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
|
cp $(distdir).tar.gz $(rpmbuild)/SOURCES)
|
||||||
|
|
||||||
srpm-common: dist
|
srpm-common: dist
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
pkgdracutdir = $(dracutdir)/modules.d/90zfs
|
pkgdracutdir = $(dracutdir)/modules.d/90zfs
|
||||||
pkgdracut_SCRIPTS = \
|
pkgdracut_SCRIPTS = \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh \
|
export-zfs.sh \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/module-setup.sh \
|
module-setup.sh \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/mount-zfs.sh \
|
mount-zfs.sh \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/parse-zfs.sh \
|
parse-zfs.sh \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/zfs-lib.sh
|
zfs-lib.sh
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh.in \
|
$(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh.in \
|
||||||
|
@ -19,7 +19,7 @@ $(pkgdracut_SCRIPTS):
|
||||||
-e 's,@udevdir\@,$(udevdir),g' \
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
-e 's,@udevruledir\@,$(udevruledir),g' \
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
'$@.in' >'$@'
|
"$(top_srcdir)/contrib/dracut/90zfs/$@.in" >'$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(pkgdracut_SCRIPTS)
|
-$(RM) $(pkgdracut_SCRIPTS)
|
||||||
|
|
|
@ -36,7 +36,7 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS): $(EXTRA_DIST)
|
||||||
-e 's,@runstatedir\@,$(runstatedir),g' \
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
||||||
-e "s,@SHELL\@,$$SHELL,g" \
|
-e "s,@SHELL\@,$$SHELL,g" \
|
||||||
-e "s,@NFS_SRV\@,$$NFS_SRV,g" \
|
-e "s,@NFS_SRV\@,$$NFS_SRV,g" \
|
||||||
'$@.in' >'$@'; \
|
"$(top_srcdir)/etc/init.d/$@.in" >'$@'; \
|
||||||
[ '$@' = 'zfs-functions' -o '$@' = 'zfs' ] || \
|
[ '$@' = 'zfs-functions' -o '$@' = 'zfs' ] || \
|
||||||
chmod +x '$@')
|
chmod +x '$@')
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
modulesload_DATA = \
|
modulesload_DATA = \
|
||||||
$(top_srcdir)/etc/modules-load.d/zfs.conf
|
zfs.conf
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(top_srcdir)/etc/modules-load.d/zfs.conf.in
|
$(top_srcdir)/etc/modules-load.d/zfs.conf.in
|
||||||
|
@ -7,7 +7,7 @@ EXTRA_DIST = \
|
||||||
$(modulesload_DATA):
|
$(modulesload_DATA):
|
||||||
-$(SED) \
|
-$(SED) \
|
||||||
-e '' \
|
-e '' \
|
||||||
'$@.in' >'$@'
|
"$(top_srcdir)/etc/modules-load.d/$@.in" >'$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(modulesload_DATA)
|
-$(RM) $(modulesload_DATA)
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
systemdpreset_DATA = \
|
systemdpreset_DATA = \
|
||||||
$(top_srcdir)/etc/systemd/system/50-zfs.preset
|
50-zfs.preset
|
||||||
|
|
||||||
systemdunit_DATA = \
|
systemdunit_DATA = \
|
||||||
$(top_srcdir)/etc/systemd/system/zed.service \
|
zed.service \
|
||||||
$(top_srcdir)/etc/systemd/system/zfs-import-cache.service \
|
zfs-import-cache.service \
|
||||||
$(top_srcdir)/etc/systemd/system/zfs-import-scan.service \
|
zfs-import-scan.service \
|
||||||
$(top_srcdir)/etc/systemd/system/zfs-mount.service \
|
zfs-mount.service \
|
||||||
$(top_srcdir)/etc/systemd/system/zfs-share.service \
|
zfs-share.service \
|
||||||
$(top_srcdir)/etc/systemd/system/zfs.target
|
zfs.target
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(top_srcdir)/etc/systemd/system/zed.service.in \
|
$(top_srcdir)/etc/systemd/system/zed.service.in \
|
||||||
|
@ -22,14 +23,14 @@ $(systemdunit_DATA):
|
||||||
-e 's,@runstatedir\@,$(runstatedir),g' \
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
||||||
-e 's,@sbindir\@,$(sbindir),g' \
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
'$@.in' >'$@'
|
"$(top_srcdir)/etc/systemd/system/$@.in" >'$@'
|
||||||
|
|
||||||
$(systemdpreset_DATA):
|
$(systemdpreset_DATA):
|
||||||
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
-e 's,@runstatedir\@,$(runstatedir),g' \
|
-e 's,@runstatedir\@,$(runstatedir),g' \
|
||||||
-e 's,@sbindir\@,$(sbindir),g' \
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
'$@.in' >'$@'
|
"$(top_srcdir)/etc/systemd/system/$@.in" >'$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)
|
-$(RM) $(systemdunit_DATA) $(systemdpreset_DATA)
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
|
VPATH = $(top_srcdir)/module/avl/
|
||||||
|
|
||||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
|
@ -8,5 +10,13 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libavl.la
|
noinst_LTLIBRARIES = libavl.la
|
||||||
|
|
||||||
libavl_la_SOURCES = \
|
USER_C =
|
||||||
$(top_srcdir)/module/avl/avl.c
|
|
||||||
|
KERNEL_C = \
|
||||||
|
avl.c
|
||||||
|
|
||||||
|
nodist_libavl_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -8,7 +8,15 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libefi.la
|
noinst_LTLIBRARIES = libefi.la
|
||||||
|
|
||||||
libefi_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libefi/rdwr_efi.c
|
rdwr_efi.c
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libefi_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libefi_la_LIBADD = $(LIBUUID) $(ZLIB)
|
libefi_la_LIBADD = $(LIBUUID) $(ZLIB)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
|
VPATH = \
|
||||||
|
$(top_srcdir)/module/nvpair \
|
||||||
|
$(top_srcdir)/lib/libnvpair
|
||||||
|
|
||||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
|
@ -8,17 +12,22 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libnvpair.la
|
lib_LTLIBRARIES = libnvpair.la
|
||||||
|
|
||||||
libnvpair_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libnvpair/libnvpair.c \
|
libnvpair.c \
|
||||||
$(top_srcdir)/lib/libnvpair/nvpair_alloc_system.c \
|
nvpair_alloc_system.c
|
||||||
$(top_srcdir)/module/nvpair/nvpair_alloc_fixed.c \
|
|
||||||
$(top_srcdir)/module/nvpair/nvpair.c \
|
KERNEL_C = \
|
||||||
$(top_srcdir)/module/nvpair/fnvpair.c
|
nvpair_alloc_fixed.c \
|
||||||
|
nvpair.c \
|
||||||
|
fnvpair.c
|
||||||
|
|
||||||
|
nodist_libnvpair_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libnvpair_la_LIBADD = \
|
libnvpair_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libuutil/libuutil.la
|
$(top_builddir)/lib/libuutil/libuutil.la
|
||||||
|
|
||||||
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
libnvpair_la_LDFLAGS = -version-info 1:1:0
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = $(USER_C)
|
||||||
$(top_srcdir)/module/nvpair/nvpair_alloc_spl.c
|
|
||||||
|
|
|
@ -6,10 +6,18 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libshare.la
|
noinst_LTLIBRARIES = libshare.la
|
||||||
|
|
||||||
libshare_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libshare/libshare_impl.h \
|
libshare_impl.h \
|
||||||
$(top_srcdir)/lib/libshare/libshare.c \
|
libshare.c \
|
||||||
$(top_srcdir)/lib/libshare/nfs.c \
|
nfs.c \
|
||||||
$(top_srcdir)/lib/libshare/nfs.h \
|
nfs.h \
|
||||||
$(top_srcdir)/lib/libshare/smb.c \
|
smb.c \
|
||||||
$(top_srcdir)/lib/libshare/smb.h
|
smb.h
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libshare_la_SOURCES = \
|
||||||
|
$(USER_C)
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
|
VPATH = \
|
||||||
|
$(top_srcdir)/lib/libspl \
|
||||||
|
$(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)
|
||||||
|
|
||||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||||
|
|
||||||
SUBDIRS = include $(TARGET_ASM_DIR)
|
SUBDIRS = include $(TARGET_ASM_DIR)
|
||||||
|
@ -13,21 +17,31 @@ AM_CCASFLAGS = \
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libspl.la
|
noinst_LTLIBRARIES = libspl.la
|
||||||
|
|
||||||
libspl_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libspl/getexecname.c \
|
getexecname.c \
|
||||||
$(top_srcdir)/lib/libspl/gethrtime.c \
|
gethrtime.c \
|
||||||
$(top_srcdir)/lib/libspl/gethrestime.c \
|
gethrestime.c \
|
||||||
$(top_srcdir)/lib/libspl/getmntany.c \
|
getmntany.c \
|
||||||
$(top_srcdir)/lib/libspl/list.c \
|
list.c \
|
||||||
$(top_srcdir)/lib/libspl/mkdirp.c \
|
mkdirp.c \
|
||||||
$(top_srcdir)/lib/libspl/strlcat.c \
|
strlcat.c \
|
||||||
$(top_srcdir)/lib/libspl/strlcpy.c \
|
strlcpy.c \
|
||||||
$(top_srcdir)/lib/libspl/strnlen.c \
|
strnlen.c \
|
||||||
$(top_srcdir)/lib/libspl/timestamp.c \
|
timestamp.c \
|
||||||
$(top_srcdir)/lib/libspl/zone.c \
|
zone.c \
|
||||||
$(top_srcdir)/lib/libspl/xdr.c \
|
xdr.c \
|
||||||
$(top_srcdir)/lib/libspl/$(TARGET_ASM_DIR)/atomic.S \
|
include/sys/list.h \
|
||||||
$(top_srcdir)/lib/libspl/include/sys/list.h \
|
include/sys/list_impl.h
|
||||||
$(top_srcdir)/lib/libspl/include/sys/list_impl.h
|
|
||||||
|
USER_ASM = atomic.S
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libspl_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(USER_ASM) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libspl_la_LIBADD = -lrt
|
libspl_la_LIBADD = -lrt
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
Stub file for 'make dist' distdir rule.
|
|
||||||
|
|
||||||
This file is directly referenced by ../Makefile.am as a source
|
|
||||||
file and thus will be expected by 'make dist'. To avoid this
|
|
||||||
being a problem this stub file was added. It will be overwritten
|
|
||||||
at build time based on assmebly generated from atomic.c.
|
|
|
@ -1 +1 @@
|
||||||
noinst_HEADERS = $(top_srcdir)/lib/libspl/asm-i386/*.S
|
noinst_HEADERS = atomic.S
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
noinst_HEADERS = $(top_srcdir)/lib/libspl/asm-x86_64/*.S
|
noinst_HEADERS = atomic.S
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
|
VPATH = $(top_srcdir)/module/unicode
|
||||||
|
|
||||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
|
@ -8,6 +10,14 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libunicode.la
|
noinst_LTLIBRARIES = libunicode.la
|
||||||
|
|
||||||
libunicode_la_SOURCES = \
|
USER_C =
|
||||||
$(top_srcdir)/module/unicode/u8_textprep.c \
|
|
||||||
$(top_srcdir)/module/unicode/uconv.c
|
KERNEL_C = \
|
||||||
|
u8_textprep.c \
|
||||||
|
uconv.c
|
||||||
|
|
||||||
|
nodist_libunicode_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -8,17 +8,23 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libuutil.la
|
lib_LTLIBRARIES = libuutil.la
|
||||||
|
|
||||||
libuutil_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libuutil/uu_alloc.c \
|
uu_alloc.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_avl.c \
|
uu_avl.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_dprintf.c \
|
uu_dprintf.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_ident.c \
|
uu_ident.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_list.c \
|
uu_list.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_misc.c \
|
uu_misc.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_open.c \
|
uu_open.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_pname.c \
|
uu_pname.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_string.c \
|
uu_string.c \
|
||||||
$(top_srcdir)/lib/libuutil/uu_strtoint.c
|
uu_strtoint.c
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libuutil_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libuutil_la_LIBADD = \
|
libuutil_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libavl/libavl.la \
|
$(top_builddir)/lib/libavl/libavl.la \
|
||||||
|
@ -26,3 +32,5 @@ libuutil_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libefi/libefi.la
|
$(top_builddir)/lib/libefi/libefi.la
|
||||||
|
|
||||||
libuutil_la_LDFLAGS = -pthread -version-info 1:1:0
|
libuutil_la_LDFLAGS = -pthread -version-info 1:1:0
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
libzfs_pcdir = $(datarootdir)/pkgconfig
|
libzfs_pcdir = $(datarootdir)/pkgconfig
|
||||||
libzfs_pc_DATA = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc
|
libzfs_pc_DATA = libzfs.pc libzfs_core.pc
|
||||||
EXTRA_DIST = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc
|
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
|
@ -10,20 +9,26 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libzfs.la
|
lib_LTLIBRARIES = libzfs.la
|
||||||
|
|
||||||
libzfs_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_changelist.c \
|
libzfs_changelist.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_config.c \
|
libzfs_config.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_dataset.c \
|
libzfs_dataset.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_diff.c \
|
libzfs_diff.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_fru.c \
|
libzfs_fru.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_graph.c \
|
libzfs_graph.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_import.c \
|
libzfs_import.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_iter.c \
|
libzfs_iter.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_mount.c \
|
libzfs_mount.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_pool.c \
|
libzfs_pool.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_sendrecv.c \
|
libzfs_sendrecv.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_status.c \
|
libzfs_status.c \
|
||||||
$(top_srcdir)/lib/libzfs/libzfs_util.c
|
libzfs_util.c
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libzfs_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libzfs_la_LIBADD = \
|
libzfs_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
||||||
|
@ -33,3 +38,5 @@ libzfs_la_LIBADD = \
|
||||||
|
|
||||||
libzfs_la_LIBADD += -lm -ldl $(LIBBLKID)
|
libzfs_la_LIBADD += -lm -ldl $(LIBBLKID)
|
||||||
libzfs_la_LDFLAGS = -version-info 2:0:0
|
libzfs_la_LDFLAGS = -version-info 2:0:0
|
||||||
|
|
||||||
|
EXTRA_DIST = $(libzfs_pc_DATA) $(USER_C)
|
||||||
|
|
|
@ -6,10 +6,18 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libzfs_core.la
|
lib_LTLIBRARIES = libzfs_core.la
|
||||||
|
|
||||||
libzfs_core_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libzfs_core/libzfs_core.c
|
libzfs_core.c
|
||||||
|
|
||||||
|
KERNEL_C =
|
||||||
|
|
||||||
|
nodist_libzfs_core_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libzfs_core_la_LIBADD = \
|
libzfs_core_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libnvpair/libnvpair.la
|
$(top_builddir)/lib/libnvpair/libnvpair.la
|
||||||
|
|
||||||
libzfs_core_la_LDFLAGS = -version-info 1:0:0
|
libzfs_core_la_LDFLAGS = -version-info 1:0:0
|
||||||
|
|
||||||
|
EXTRA_DIST = $(USER_C)
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
include $(top_srcdir)/config/Rules.am
|
include $(top_srcdir)/config/Rules.am
|
||||||
|
|
||||||
|
VPATH = \
|
||||||
|
$(top_srcdir)/module/zfs \
|
||||||
|
$(top_srcdir)/module/zcommon \
|
||||||
|
$(top_srcdir)/lib/libzpool
|
||||||
|
|
||||||
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
AM_CFLAGS += $(DEBUG_STACKFLAGS) $(FRAME_LARGER_THAN)
|
||||||
|
|
||||||
DEFAULT_INCLUDES += \
|
DEFAULT_INCLUDES += \
|
||||||
|
@ -8,99 +13,105 @@ DEFAULT_INCLUDES += \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libzpool.la
|
lib_LTLIBRARIES = libzpool.la
|
||||||
|
|
||||||
libzpool_la_SOURCES = \
|
USER_C = \
|
||||||
$(top_srcdir)/lib/libzpool/kernel.c \
|
kernel.c \
|
||||||
$(top_srcdir)/lib/libzpool/taskq.c \
|
taskq.c \
|
||||||
$(top_srcdir)/lib/libzpool/util.c \
|
util.c
|
||||||
$(top_srcdir)/module/zcommon/zfs_comutil.c \
|
|
||||||
$(top_srcdir)/module/zcommon/zfs_deleg.c \
|
KERNEL_C = \
|
||||||
$(top_srcdir)/module/zcommon/zfs_fletcher.c \
|
zfs_comutil.c \
|
||||||
$(top_srcdir)/module/zcommon/zfs_namecheck.c \
|
zfs_deleg.c \
|
||||||
$(top_srcdir)/module/zcommon/zfs_prop.c \
|
zfs_fletcher.c \
|
||||||
$(top_srcdir)/module/zcommon/zfs_uio.c \
|
zfs_namecheck.c \
|
||||||
$(top_srcdir)/module/zcommon/zpool_prop.c \
|
zfs_prop.c \
|
||||||
$(top_srcdir)/module/zcommon/zprop_common.c \
|
zfs_uio.c \
|
||||||
$(top_srcdir)/module/zfs/arc.c \
|
zpool_prop.c \
|
||||||
$(top_srcdir)/module/zfs/blkptr.c \
|
zprop_common.c \
|
||||||
$(top_srcdir)/module/zfs/bplist.c \
|
arc.c \
|
||||||
$(top_srcdir)/module/zfs/bpobj.c \
|
blkptr.c \
|
||||||
$(top_srcdir)/module/zfs/bptree.c \
|
bplist.c \
|
||||||
$(top_srcdir)/module/zfs/dbuf.c \
|
bpobj.c \
|
||||||
$(top_srcdir)/module/zfs/dbuf_stats.c \
|
bptree.c \
|
||||||
$(top_srcdir)/module/zfs/ddt.c \
|
dbuf.c \
|
||||||
$(top_srcdir)/module/zfs/ddt_zap.c \
|
dbuf_stats.c \
|
||||||
$(top_srcdir)/module/zfs/dmu.c \
|
ddt.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_diff.c \
|
ddt_zap.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_object.c \
|
dmu.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_objset.c \
|
dmu_diff.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_send.c \
|
dmu_object.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_traverse.c \
|
dmu_objset.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_tx.c \
|
dmu_send.c \
|
||||||
$(top_srcdir)/module/zfs/dmu_zfetch.c \
|
dmu_traverse.c \
|
||||||
$(top_srcdir)/module/zfs/dnode.c \
|
dmu_tx.c \
|
||||||
$(top_srcdir)/module/zfs/dnode_sync.c \
|
dmu_zfetch.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_bookmark.c \
|
dnode.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_dataset.c \
|
dnode_sync.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_deadlist.c \
|
dsl_bookmark.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_deleg.c \
|
dsl_dataset.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_dir.c \
|
dsl_deadlist.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_pool.c \
|
dsl_deleg.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_prop.c \
|
dsl_dir.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_scan.c \
|
dsl_pool.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_synctask.c \
|
dsl_prop.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_destroy.c \
|
dsl_scan.c \
|
||||||
$(top_srcdir)/module/zfs/dsl_userhold.c \
|
dsl_synctask.c \
|
||||||
$(top_srcdir)/module/zfs/fm.c \
|
dsl_destroy.c \
|
||||||
$(top_srcdir)/module/zfs/gzip.c \
|
dsl_userhold.c \
|
||||||
$(top_srcdir)/module/zfs/lzjb.c \
|
fm.c \
|
||||||
$(top_srcdir)/module/zfs/lz4.c \
|
gzip.c \
|
||||||
$(top_srcdir)/module/zfs/metaslab.c \
|
lzjb.c \
|
||||||
$(top_srcdir)/module/zfs/multilist.c \
|
lz4.c \
|
||||||
$(top_srcdir)/module/zfs/range_tree.c \
|
metaslab.c \
|
||||||
$(top_srcdir)/module/zfs/refcount.c \
|
multilist.c \
|
||||||
$(top_srcdir)/module/zfs/rrwlock.c \
|
range_tree.c \
|
||||||
$(top_srcdir)/module/zfs/sa.c \
|
refcount.c \
|
||||||
$(top_srcdir)/module/zfs/sha256.c \
|
rrwlock.c \
|
||||||
$(top_srcdir)/module/zfs/spa.c \
|
sa.c \
|
||||||
$(top_srcdir)/module/zfs/spa_boot.c \
|
sha256.c \
|
||||||
$(top_srcdir)/module/zfs/spa_config.c \
|
spa.c \
|
||||||
$(top_srcdir)/module/zfs/spa_errlog.c \
|
spa_boot.c \
|
||||||
$(top_srcdir)/module/zfs/spa_history.c \
|
spa_config.c \
|
||||||
$(top_srcdir)/module/zfs/spa_misc.c \
|
spa_errlog.c \
|
||||||
$(top_srcdir)/module/zfs/spa_stats.c \
|
spa_history.c \
|
||||||
$(top_srcdir)/module/zfs/space_map.c \
|
spa_misc.c \
|
||||||
$(top_srcdir)/module/zfs/space_reftree.c \
|
spa_stats.c \
|
||||||
$(top_srcdir)/module/zfs/txg.c \
|
space_map.c \
|
||||||
$(top_srcdir)/module/zfs/trace.c \
|
space_reftree.c \
|
||||||
$(top_srcdir)/module/zfs/uberblock.c \
|
txg.c \
|
||||||
$(top_srcdir)/module/zfs/unique.c \
|
trace.c \
|
||||||
$(top_srcdir)/module/zfs/vdev.c \
|
uberblock.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_cache.c \
|
unique.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_file.c \
|
vdev.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_label.c \
|
vdev_cache.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_mirror.c \
|
vdev_file.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_missing.c \
|
vdev_label.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_queue.c \
|
vdev_mirror.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_raidz.c \
|
vdev_missing.c \
|
||||||
$(top_srcdir)/module/zfs/vdev_root.c \
|
vdev_queue.c \
|
||||||
$(top_srcdir)/module/zfs/zap.c \
|
vdev_raidz.c \
|
||||||
$(top_srcdir)/module/zfs/zap_leaf.c \
|
vdev_root.c \
|
||||||
$(top_srcdir)/module/zfs/zap_micro.c \
|
zap.c \
|
||||||
$(top_srcdir)/module/zfs/zfeature.c \
|
zap_leaf.c \
|
||||||
$(top_srcdir)/module/zfs/zfeature_common.c \
|
zap_micro.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_byteswap.c \
|
zfeature.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_debug.c \
|
zfeature_common.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_fm.c \
|
zfs_byteswap.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_fuid.c \
|
zfs_debug.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_sa.c \
|
zfs_fm.c \
|
||||||
$(top_srcdir)/module/zfs/zfs_znode.c \
|
zfs_fuid.c \
|
||||||
$(top_srcdir)/module/zfs/zil.c \
|
zfs_sa.c \
|
||||||
$(top_srcdir)/module/zfs/zio.c \
|
zfs_znode.c \
|
||||||
$(top_srcdir)/module/zfs/zio_checksum.c \
|
zil.c \
|
||||||
$(top_srcdir)/module/zfs/zio_compress.c \
|
zio.c \
|
||||||
$(top_srcdir)/module/zfs/zio_inject.c \
|
zio_checksum.c \
|
||||||
$(top_srcdir)/module/zfs/zle.c \
|
zio_compress.c \
|
||||||
$(top_srcdir)/module/zfs/zrlock.c
|
zio_inject.c \
|
||||||
|
zle.c \
|
||||||
|
zrlock.c
|
||||||
|
|
||||||
|
nodist_libzpool_la_SOURCES = \
|
||||||
|
$(USER_C) \
|
||||||
|
$(KERNEL_C)
|
||||||
|
|
||||||
libzpool_la_LIBADD = \
|
libzpool_la_LIBADD = \
|
||||||
$(top_builddir)/lib/libunicode/libunicode.la \
|
$(top_builddir)/lib/libunicode/libunicode.la \
|
||||||
|
@ -110,23 +121,4 @@ libzpool_la_LIBADD = \
|
||||||
libzpool_la_LIBADD += $(ZLIB)
|
libzpool_la_LIBADD += $(ZLIB)
|
||||||
libzpool_la_LDFLAGS = -version-info 2:0:0
|
libzpool_la_LDFLAGS = -version-info 2:0:0
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = $(USER_C)
|
||||||
$(top_srcdir)/module/zfs/vdev_disk.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_acl.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_ctldir.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_dir.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_ioctl.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_log.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_onexit.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_replay.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_rlock.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_vfsops.c \
|
|
||||||
$(top_srcdir)/module/zfs/zfs_vnops.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_ctldir.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_export.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_file.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_inode.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_super.c \
|
|
||||||
$(top_srcdir)/module/zfs/zpl_xattr.c \
|
|
||||||
$(top_srcdir)/module/zfs/zvol.c \
|
|
||||||
$(top_srcdir)/module/zpios/pios.c
|
|
||||||
|
|
|
@ -63,6 +63,10 @@ modules_uninstall:
|
||||||
done
|
done
|
||||||
|
|
||||||
distdir:
|
distdir:
|
||||||
|
list='$(subdir-m)'; for subdir in $$list; do \
|
||||||
|
(find @top_srcdir@/module/$$subdir -name '*.c' -o -name '*.h' |\
|
||||||
|
xargs /bin/cp -t $$distdir/$$subdir); \
|
||||||
|
done
|
||||||
|
|
||||||
distclean maintainer-clean: clean
|
distclean maintainer-clean: clean
|
||||||
install: modules_install
|
install: modules_install
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
src = @abs_top_srcdir@/module/avl
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := zavl
|
MODULE := zavl
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/avl/avl.o
|
$(MODULE)-objs += avl.o
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
|
src = @abs_top_srcdir@/module/nvpair
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := znvpair
|
MODULE := znvpair
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair.o
|
$(MODULE)-objs += nvpair.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/nvpair/fnvpair.o
|
$(MODULE)-objs += fnvpair.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair_alloc_spl.o
|
$(MODULE)-objs += nvpair_alloc_spl.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/nvpair/nvpair_alloc_fixed.o
|
$(MODULE)-objs += nvpair_alloc_fixed.o
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
|
src = @abs_top_srcdir@/module/unicode
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := zunicode
|
MODULE := zunicode
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/unicode/u8_textprep.o
|
$(MODULE)-objs += u8_textprep.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/unicode/uconv.o
|
$(MODULE)-objs += uconv.o
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
|
src = @abs_top_srcdir@/module/zcommon
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := zcommon
|
MODULE := zcommon
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_deleg.o
|
$(MODULE)-objs += zfs_deleg.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_prop.o
|
$(MODULE)-objs += zfs_prop.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zprop_common.o
|
$(MODULE)-objs += zprop_common.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_namecheck.o
|
$(MODULE)-objs += zfs_namecheck.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_comutil.o
|
$(MODULE)-objs += zfs_comutil.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_fletcher.o
|
$(MODULE)-objs += zfs_fletcher.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zfs_uio.o
|
$(MODULE)-objs += zfs_uio.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zcommon/zpool_prop.o
|
$(MODULE)-objs += zpool_prop.o
|
||||||
|
|
|
@ -1,105 +1,108 @@
|
||||||
|
src = @abs_top_srcdir@/module/zfs
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := zfs
|
MODULE := zfs
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/arc.o
|
$(MODULE)-objs += arc.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/blkptr.o
|
$(MODULE)-objs += blkptr.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/bplist.o
|
$(MODULE)-objs += bplist.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/bpobj.o
|
$(MODULE)-objs += bpobj.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dbuf.o
|
$(MODULE)-objs += dbuf.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dbuf_stats.o
|
$(MODULE)-objs += dbuf_stats.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/bptree.o
|
$(MODULE)-objs += bptree.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/ddt.o
|
$(MODULE)-objs += ddt.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/ddt_zap.o
|
$(MODULE)-objs += ddt_zap.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu.o
|
$(MODULE)-objs += dmu.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_diff.o
|
$(MODULE)-objs += dmu_diff.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_object.o
|
$(MODULE)-objs += dmu_object.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_objset.o
|
$(MODULE)-objs += dmu_objset.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_send.o
|
$(MODULE)-objs += dmu_send.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_traverse.o
|
$(MODULE)-objs += dmu_traverse.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_tx.o
|
$(MODULE)-objs += dmu_tx.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dmu_zfetch.o
|
$(MODULE)-objs += dmu_zfetch.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dnode.o
|
$(MODULE)-objs += dnode.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dnode_sync.o
|
$(MODULE)-objs += dnode_sync.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_dataset.o
|
$(MODULE)-objs += dsl_dataset.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_deadlist.o
|
$(MODULE)-objs += dsl_deadlist.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_deleg.o
|
$(MODULE)-objs += dsl_deleg.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_bookmark.o
|
$(MODULE)-objs += dsl_bookmark.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_dir.o
|
$(MODULE)-objs += dsl_dir.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_pool.o
|
$(MODULE)-objs += dsl_pool.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_prop.o
|
$(MODULE)-objs += dsl_prop.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_scan.o
|
$(MODULE)-objs += dsl_scan.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_synctask.o
|
$(MODULE)-objs += dsl_synctask.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/fm.o
|
$(MODULE)-objs += fm.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/gzip.o
|
$(MODULE)-objs += gzip.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/lzjb.o
|
$(MODULE)-objs += lzjb.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/lz4.o
|
$(MODULE)-objs += lz4.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/metaslab.o
|
$(MODULE)-objs += metaslab.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/multilist.o
|
$(MODULE)-objs += multilist.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/range_tree.o
|
$(MODULE)-objs += range_tree.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/refcount.o
|
$(MODULE)-objs += refcount.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/rrwlock.o
|
$(MODULE)-objs += rrwlock.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/sa.o
|
$(MODULE)-objs += sa.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/sha256.o
|
$(MODULE)-objs += sha256.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa.o
|
$(MODULE)-objs += spa.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_boot.o
|
$(MODULE)-objs += spa_boot.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_config.o
|
$(MODULE)-objs += spa_config.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_errlog.o
|
$(MODULE)-objs += spa_errlog.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_history.o
|
$(MODULE)-objs += spa_history.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_misc.o
|
$(MODULE)-objs += spa_misc.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/spa_stats.o
|
$(MODULE)-objs += spa_stats.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/space_map.o
|
$(MODULE)-objs += space_map.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/space_reftree.o
|
$(MODULE)-objs += space_reftree.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/txg.o
|
$(MODULE)-objs += txg.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/trace.o
|
$(MODULE)-objs += trace.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/uberblock.o
|
$(MODULE)-objs += uberblock.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/unique.o
|
$(MODULE)-objs += unique.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev.o
|
$(MODULE)-objs += vdev.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_cache.o
|
$(MODULE)-objs += vdev_cache.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_disk.o
|
$(MODULE)-objs += vdev_disk.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_file.o
|
$(MODULE)-objs += vdev_file.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_label.o
|
$(MODULE)-objs += vdev_label.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_mirror.o
|
$(MODULE)-objs += vdev_mirror.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_missing.o
|
$(MODULE)-objs += vdev_missing.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_queue.o
|
$(MODULE)-objs += vdev_queue.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_raidz.o
|
$(MODULE)-objs += vdev_raidz.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/vdev_root.o
|
$(MODULE)-objs += vdev_root.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zap.o
|
$(MODULE)-objs += zap.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zap_leaf.o
|
$(MODULE)-objs += zap_leaf.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zap_micro.o
|
$(MODULE)-objs += zap_micro.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfeature.o
|
$(MODULE)-objs += zfeature.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfeature_common.o
|
$(MODULE)-objs += zfeature_common.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_acl.o
|
$(MODULE)-objs += zfs_acl.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_byteswap.o
|
$(MODULE)-objs += zfs_byteswap.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_ctldir.o
|
$(MODULE)-objs += zfs_ctldir.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_debug.o
|
$(MODULE)-objs += zfs_debug.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_dir.o
|
$(MODULE)-objs += zfs_dir.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_fm.o
|
$(MODULE)-objs += zfs_fm.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_fuid.o
|
$(MODULE)-objs += zfs_fuid.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_ioctl.o
|
$(MODULE)-objs += zfs_ioctl.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_log.o
|
$(MODULE)-objs += zfs_log.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_onexit.o
|
$(MODULE)-objs += zfs_onexit.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_replay.o
|
$(MODULE)-objs += zfs_replay.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_rlock.o
|
$(MODULE)-objs += zfs_rlock.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_sa.o
|
$(MODULE)-objs += zfs_sa.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_vfsops.o
|
$(MODULE)-objs += zfs_vfsops.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_vnops.o
|
$(MODULE)-objs += zfs_vnops.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zfs_znode.o
|
$(MODULE)-objs += zfs_znode.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zil.o
|
$(MODULE)-objs += zil.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zio.o
|
$(MODULE)-objs += zio.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zio_checksum.o
|
$(MODULE)-objs += zio_checksum.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zio_compress.o
|
$(MODULE)-objs += zio_compress.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zio_inject.o
|
$(MODULE)-objs += zio_inject.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zle.o
|
$(MODULE)-objs += zle.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_ctldir.o
|
$(MODULE)-objs += zpl_ctldir.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_export.o
|
$(MODULE)-objs += zpl_export.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_file.o
|
$(MODULE)-objs += zpl_file.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_inode.o
|
$(MODULE)-objs += zpl_inode.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_super.o
|
$(MODULE)-objs += zpl_super.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zpl_xattr.o
|
$(MODULE)-objs += zpl_xattr.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zrlock.o
|
$(MODULE)-objs += zrlock.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/zvol.o
|
$(MODULE)-objs += zvol.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_destroy.o
|
$(MODULE)-objs += dsl_destroy.o
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zfs/dsl_userhold.o
|
$(MODULE)-objs += dsl_userhold.o
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
src = @abs_top_srcdir@/module/zpios
|
||||||
|
obj = @abs_builddir@
|
||||||
|
|
||||||
MODULE := zpios
|
MODULE := zpios
|
||||||
|
|
||||||
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
EXTRA_CFLAGS = $(ZFS_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
||||||
|
|
||||||
obj-$(CONFIG_ZFS) := $(MODULE).o
|
obj-$(CONFIG_ZFS) := $(MODULE).o
|
||||||
|
|
||||||
$(MODULE)-objs += @top_srcdir@/module/zpios/pios.o
|
$(MODULE)-objs += pios.o
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
udevrule_DATA = \
|
udevrule_DATA = \
|
||||||
$(top_srcdir)/udev/rules.d/69-vdev.rules \
|
69-vdev.rules \
|
||||||
$(top_srcdir)/udev/rules.d/60-zvol.rules \
|
60-zvol.rules \
|
||||||
$(top_srcdir)/udev/rules.d/90-zfs.rules
|
90-zfs.rules
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(top_srcdir)/udev/rules.d/69-vdev.rules.in \
|
$(top_srcdir)/udev/rules.d/69-vdev.rules.in \
|
||||||
|
@ -14,7 +14,7 @@ $(udevrule_DATA):
|
||||||
-e 's,@udevdir\@,$(udevdir),g' \
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
-e 's,@udevruledir\@,$(udevruledir),g' \
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
'$@.in' >'$@'
|
"$(top_srcdir)/udev/rules.d/$@.in" > '$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(udevrule_DATA)
|
-$(RM) $(udevrule_DATA)
|
||||||
|
|
Loading…
Reference in New Issue