Whamcloud - gitweb
LU-14083 build: Don't overwrite KBUILD_EXTRA_SYMBOLS
[fs/lustre-release.git] / lustre / autoMakefile.am
1 #
2 # GPL HEADER START
3 #
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 2 only,
8 # as published by the Free Software Foundation.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # General Public License version 2 for more details (a copy is included
14 # in the LICENSE file that accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License
17 # version 2 along with this program; If not, see
18 # http://www.gnu.org/licenses/gpl-2.0.html
19 #
20 # GPL HEADER END
21 #
22
23 #
24 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Copyright (c) 2011, 2014, Intel Corporation.
28 #
29
30 #
31 # This file is part of Lustre, http://www.lustre.org/
32 # Lustre is a trademark of Sun Microsystems, Inc.
33 #
34
35 AUTOMAKE_OPTIONS = foreign
36
37 # also update lustre/autoconf/lustre-core.m4 AC_CONFIG_FILES
38 ALWAYS_SUBDIRS = include obdclass ldlm ptlrpc obdecho \
39         mgc fid fld doc utils tests tests/kernel scripts autoconf contrib conf
40
41 SERVER_SUBDIRS = ost mgs mdt mdd ofd osd-zfs osd-ldiskfs \
42         quota osp lod target lfsck
43
44 CLIENT_SUBDIRS = mdc lmv llite lov osc
45
46 SUBDIRS := $(ALWAYS_SUBDIRS)
47
48 if SERVER
49 SUBDIRS += $(SERVER_SUBDIRS)
50 endif
51
52 if CLIENT
53 SUBDIRS += $(CLIENT_SUBDIRS)
54 endif
55
56 DIST_SUBDIRS := $(ALWAYS_SUBDIRS) $(SERVER_SUBDIRS) $(CLIENT_SUBDIRS)
57
58 EXTRA_DIST = BUGS kernel_patches BUILDING