configure.ac 3.85 KB
Newer Older
Brian Behlendorf's avatar
Brian Behlendorf committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/*
 * This file is part of the ZFS Linux port.
 *
 * Copyright (c) 2009 Lawrence Livermore National Security, LLC.
 * Produced at Lawrence Livermore National Laboratory
 * Written by:
 *         Brian Behlendorf <behlendorf1@llnl.gov>,
 *         Herb Wartens <wartens2@llnl.gov>,
 *         Jim Garlick <garlick@llnl.gov>
 * LLNL-CODE-403049
 *
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License, Version 1.0 only
 * (the "License").  You may not use this file except in compliance
 * with the License.
 *
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 * or http://www.opensolaris.org/os/licensing.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 * If applicable, add the following below this CDDL HEADER, with the
 * fields enclosed by brackets "[]" replaced with your own identifying
 * information: Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */

33 34
AC_INIT(m4_esyscmd(grep Name META | cut -d ':' -f 2 | tr -d ' \n'),
	m4_esyscmd(grep Version META | cut -d ':' -f 2 | tr -d ' \n'))
Brian Behlendorf's avatar
Brian Behlendorf committed
35 36 37
AC_LANG(C)
ZFS_AC_META
AC_CONFIG_AUX_DIR([config])
38
AC_CONFIG_MACRO_DIR([config])
Brian Behlendorf's avatar
Brian Behlendorf committed
39 40
AC_CANONICAL_SYSTEM
AM_MAINTAINER_MODE
41
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
42
AM_INIT_AUTOMAKE
Brian Behlendorf's avatar
Brian Behlendorf committed
43 44
AC_CONFIG_HEADERS([zfs_config.h], [
	(mv zfs_config.h zfs_config.h.tmp &&
45
	awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
Brian Behlendorf's avatar
Brian Behlendorf committed
46 47 48 49 50 51 52 53 54 55 56
	rm zfs_config.h.tmp) || exit 1])

AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_LIBTOOL
AM_PROG_AS

ZFS_AC_LICENSE
ZFS_AC_PACKAGE
ZFS_AC_CONFIG
ZFS_AC_DEBUG
57
ZFS_AC_DEBUG_DMU_TX
Brian Behlendorf's avatar
Brian Behlendorf committed
58 59 60

AC_CONFIG_FILES([ 
	Makefile
61 62
	udev/Makefile
	udev/rules.d/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
63
	etc/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
64 65
	etc/init.d/Makefile
	etc/zfs/Makefile
66 67 68
	etc/systemd/Makefile
	etc/systemd/system/Makefile
	etc/modules-load.d/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
69
	man/Makefile
70
	man/man1/Makefile
71
	man/man5/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
72 73
	man/man8/Makefile
	lib/Makefile
74 75 76 77 78
	lib/libspl/Makefile
	lib/libspl/asm-generic/Makefile
	lib/libspl/asm-i386/Makefile
	lib/libspl/asm-x86_64/Makefile
	lib/libspl/include/Makefile
79 80 81 82 83 84 85
	lib/libspl/include/ia32/Makefile
	lib/libspl/include/ia32/sys/Makefile
	lib/libspl/include/rpc/Makefile
	lib/libspl/include/sys/Makefile
	lib/libspl/include/sys/sysevent/Makefile
	lib/libspl/include/sys/dktp/Makefile
	lib/libspl/include/util/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
86 87 88 89 90 91
	lib/libavl/Makefile
	lib/libefi/Makefile
	lib/libnvpair/Makefile
	lib/libunicode/Makefile
	lib/libuutil/Makefile
	lib/libzpool/Makefile
92 93
	lib/libzfs/libzfs.pc
	lib/libzfs/libzfs_core.pc
Brian Behlendorf's avatar
Brian Behlendorf committed
94
	lib/libzfs/Makefile
95
	lib/libzfs_core/Makefile
96
	lib/libshare/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
97 98
	cmd/Makefile
	cmd/zdb/Makefile
99
	cmd/zhack/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
100 101 102
	cmd/zfs/Makefile
	cmd/zinject/Makefile
	cmd/zpool/Makefile
103
	cmd/zstreamdump/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
104
	cmd/ztest/Makefile
105
	cmd/zpios/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
106
	cmd/mount_zfs/Makefile
107
	cmd/fsck_zfs/Makefile
108
	cmd/zvol_id/Makefile
109
	cmd/vdev_id/Makefile
110
	cmd/arcstat/Makefile
111 112 113 114 115 116 117 118
	cmd/dbufstat/Makefile
	cmd/arc_summary/Makefile
	cmd/zed/Makefile
	contrib/Makefile
	contrib/bash_completion.d/Makefile
	contrib/dracut/Makefile
	contrib/dracut/90zfs/Makefile
	contrib/initramfs/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
119 120 121 122 123 124
	module/Makefile
	module/avl/Makefile
	module/nvpair/Makefile
	module/unicode/Makefile
	module/zcommon/Makefile
	module/zfs/Makefile
125
	module/zpios/Makefile
126
	include/Makefile
127
	include/linux/Makefile
128 129 130 131
	include/sys/Makefile
	include/sys/fs/Makefile
	include/sys/fm/Makefile
	include/sys/fm/fs/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
132
	scripts/Makefile
133 134 135
	scripts/zpios-profile/Makefile
	scripts/zpios-test/Makefile
	scripts/zpool-config/Makefile
Brian Behlendorf's avatar
Brian Behlendorf committed
136
	scripts/common.sh
Brian Behlendorf's avatar
Brian Behlendorf committed
137
	rpm/Makefile
138 139 140 141
	rpm/redhat/Makefile
	rpm/redhat/zfs.spec
	rpm/redhat/zfs-kmod.spec
	rpm/redhat/zfs-dkms.spec
Brian Behlendorf's avatar
Brian Behlendorf committed
142 143 144 145
	rpm/generic/Makefile
	rpm/generic/zfs.spec
	rpm/generic/zfs-kmod.spec
	rpm/generic/zfs-dkms.spec
146
	zfs-script-config.sh
147
	zfs.release
Brian Behlendorf's avatar
Brian Behlendorf committed
148 149 150
])

AC_OUTPUT