From c6869c3d301e03ae02e87b40c5cfe2987517c0c4 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Tue, 29 May 2012 15:26:11 +0400 Subject: [PATCH] LU-1305 osd: Makefiles for osd-zfs Makefiles ... Signed-off-by: Alex Zhuravlev Change-Id: I1fdf9eecf98306b0cfe0bbc0611df3a977f48b10 Reviewed-on: http://review.whamcloud.com/2972 Reviewed-by: Andreas Dilger Tested-by: Hudson Tested-by: Maloo Reviewed-by: Fan Yong --- lustre/osd-zfs/Makefile.in | 10 ++++++++++ lustre/osd-zfs/autoMakefile.am | 44 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 lustre/osd-zfs/Makefile.in create mode 100644 lustre/osd-zfs/autoMakefile.am diff --git a/lustre/osd-zfs/Makefile.in b/lustre/osd-zfs/Makefile.in new file mode 100644 index 0000000..f4754e1 --- /dev/null +++ b/lustre/osd-zfs/Makefile.in @@ -0,0 +1,10 @@ +MODULES := osd_zfs +osd_zfs-objs := osd_handler.o osd_lproc.o udmu.o +osd_zfs-objs += osd_object.o osd_io.o osd_oi.o osd_xattr.o osd_index.o + +EXTRA_PRE_CFLAGS += -I@SPL_DIR@ -I@SPL_DIR@/include +EXTRA_PRE_CFLAGS += -include @SPL_OBJ@/spl_config.h +EXTRA_PRE_CFLAGS += -I@ZFS_DIR@ -I@ZFS_DIR@/include +EXTRA_PRE_CFLAGS += -include @ZFS_OBJ@/zfs_config.h + +@INCLUDE_RULES@ diff --git a/lustre/osd-zfs/autoMakefile.am b/lustre/osd-zfs/autoMakefile.am new file mode 100644 index 0000000..1f8fe2b --- /dev/null +++ b/lustre/osd-zfs/autoMakefile.am @@ -0,0 +1,44 @@ +# +# GPL HEADER START +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 only, +# as published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License version 2 for more details (a copy is included +# in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU General Public License +# version 2 along with this program; If not, see +# http://www.sun.com/software/products/lustre/docs/GPLv2.pdf +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, +# CA 95054 USA or visit www.sun.com if you need additional information or +# have any questions. +# +# GPL HEADER END +# + +# +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. +# Use is subject to license terms. +# + +# +# This file is part of Lustre, http://www.lustre.org/ +# Lustre is a trademark of Sun Microsystems, Inc. +# + +if MODULES +if ZFS_ENABLED +modulefs_DATA = osd_zfs$(KMODEXT) +endif +endif + +MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ +EXTRA_DIST := $(osd_zfs-objs:%.o=%.c) osd_internal.h udmu.h -- 1.8.3.1