~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/xfs/Makefile

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/xfs/Makefile (Version linux-6.12-rc7) and /fs/xfs/Makefile (Version linux-2.4.37.11)


  1 # SPDX-License-Identifier: GPL-2.0             << 
  2 #                                                   1 #
  3 # Copyright (c) 2000-2005 Silicon Graphics, In !!   2 # Copyright (c) 2000-2004 Silicon Graphics, Inc.  All Rights Reserved.
  4 # All Rights Reserved.                         !!   3 #
                                                   >>   4 # This program is free software; you can redistribute it and/or modify it
                                                   >>   5 # under the terms of version 2 of the GNU General Public License as
                                                   >>   6 # published by the Free Software Foundation.
                                                   >>   7 #
                                                   >>   8 # This program is distributed in the hope that it would be useful, but
                                                   >>   9 # WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                                                   >>  11 #
                                                   >>  12 # Further, this software is distributed without any warranty that it is
                                                   >>  13 # free of the rightful claim of any third person regarding infringement
                                                   >>  14 # or the like.  Any license provided herein, whether implied or
                                                   >>  15 # otherwise, applies only to this software file.  Patent licenses, if
                                                   >>  16 # any, provided herein do not apply to combinations of this program with
                                                   >>  17 # other software, or any other product whatsoever.
                                                   >>  18 #
                                                   >>  19 # You should have received a copy of the GNU General Public License along
                                                   >>  20 # with this program; if not, write the Free Software Foundation, Inc., 59
                                                   >>  21 # Temple Place - Suite 330, Boston MA 02111-1307, USA.
                                                   >>  22 #
                                                   >>  23 # Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
                                                   >>  24 # Mountain View, CA  94043, or:
                                                   >>  25 #
                                                   >>  26 # http://www.sgi.com
                                                   >>  27 #
                                                   >>  28 # For further information regarding this notice, see:
                                                   >>  29 #
                                                   >>  30 # http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  5 #                                                  31 #
  6                                                    32 
  7 ccflags-y += -I $(src)          # needed for t !!  33 EXTRA_CFLAGS +=  -I. -I linux-2.4 -funsigned-char
  8 ccflags-y += -I $(src)/libxfs                  << 
  9                                                    34 
 10 obj-$(CONFIG_XFS_FS)            += xfs.o       !!  35 ifeq ($(CONFIG_XFS_DEBUG),y)
                                                   >>  36         EXTRA_CFLAGS += -g -DSTATIC="" -DDEBUG
                                                   >>  37         EXTRA_CFLAGS += -DPAGEBUF_LOCK_TRACKING
                                                   >>  38 endif
                                                   >>  39 ifeq ($(CONFIG_XFS_TRACE),y)
                                                   >>  40         EXTRA_CFLAGS += -DXFS_ALLOC_TRACE
                                                   >>  41         EXTRA_CFLAGS += -DXFS_ATTR_TRACE
                                                   >>  42         EXTRA_CFLAGS += -DXFS_BLI_TRACE
                                                   >>  43         EXTRA_CFLAGS += -DXFS_BMAP_TRACE
                                                   >>  44         EXTRA_CFLAGS += -DXFS_BMBT_TRACE
                                                   >>  45         EXTRA_CFLAGS += -DXFS_DIR_TRACE
                                                   >>  46         EXTRA_CFLAGS += -DXFS_DQUOT_TRACE
                                                   >>  47         EXTRA_CFLAGS += -DXFS_ILOCK_TRACE
                                                   >>  48         EXTRA_CFLAGS += -DXFS_LOG_TRACE
                                                   >>  49         EXTRA_CFLAGS += -DXFS_RW_TRACE
                                                   >>  50         EXTRA_CFLAGS += -DXFS_DIR2_TRACE
                                                   >>  51         EXTRA_CFLAGS += -DPAGEBUF_TRACE
                                                   >>  52         # EXTRA_CFLAGS += -DXFS_VNODE_TRACE
                                                   >>  53 endif
                                                   >>  54 
                                                   >>  55 O_TARGET                        := xfs.o
                                                   >>  56 obj-m                           := $(O_TARGET)
 11                                                    57 
 12 # this one should be compiled first, as the tr !!  58 obj-$(CONFIG_XFS_RT)            += xfs_rtalloc.o
 13 xfs-y                           += xfs_trace.o !!  59 obj-$(CONFIG_XFS_POSIX_ACL)     += xfs_acl.o
 14                                                    60 
 15 # build the libxfs code first                  !!  61 obj-$(CONFIG_XFS_TRACE)         += xfs_dir2_trace.o
 16 xfs-y                           += $(addprefix !!  62 
 17                                    xfs_ag.o \  !!  63 obj-y                           += xfs_alloc.o \
 18                                    xfs_alloc.o << 
 19                                    xfs_alloc_b     64                                    xfs_alloc_btree.o \
 20                                    xfs_attr.o      65                                    xfs_attr.o \
 21                                    xfs_attr_le     66                                    xfs_attr_leaf.o \
 22                                    xfs_attr_re !!  67                                    xfs_behavior.o \
 23                                    xfs_bit.o \     68                                    xfs_bit.o \
 24                                    xfs_bmap.o      69                                    xfs_bmap.o \
 25                                    xfs_bmap_bt     70                                    xfs_bmap_btree.o \
 26                                    xfs_btree.o     71                                    xfs_btree.o \
 27                                    xfs_btree_s !!  72                                    xfs_buf_item.o \
 28                                    xfs_da_btre     73                                    xfs_da_btree.o \
 29                                    xfs_defer.o !!  74                                    xfs_dir.o \
 30                                    xfs_dir2.o      75                                    xfs_dir2.o \
 31                                    xfs_dir2_bl     76                                    xfs_dir2_block.o \
 32                                    xfs_dir2_da     77                                    xfs_dir2_data.o \
 33                                    xfs_dir2_le     78                                    xfs_dir2_leaf.o \
 34                                    xfs_dir2_no     79                                    xfs_dir2_node.o \
 35                                    xfs_dir2_sf     80                                    xfs_dir2_sf.o \
 36                                    xfs_dquot_b !!  81                                    xfs_dir_leaf.o \
 37                                    xfs_exchmap << 
 38                                    xfs_ialloc. << 
 39                                    xfs_ialloc_ << 
 40                                    xfs_iext_tr << 
 41                                    xfs_inode_f << 
 42                                    xfs_inode_b << 
 43                                    xfs_inode_u << 
 44                                    xfs_log_rli << 
 45                                    xfs_ag_resv << 
 46                                    xfs_parent. << 
 47                                    xfs_rmap.o  << 
 48                                    xfs_rmap_bt << 
 49                                    xfs_refcoun << 
 50                                    xfs_refcoun << 
 51                                    xfs_sb.o \  << 
 52                                    xfs_symlink << 
 53                                    xfs_trans_i << 
 54                                    xfs_trans_r << 
 55                                    xfs_trans_s << 
 56                                    xfs_types.o << 
 57                                    )           << 
 58 # xfs_rtbitmap is shared with libxfs           << 
 59 xfs-$(CONFIG_XFS_RT)            += $(addprefix << 
 60                                    xfs_rtbitma << 
 61                                    )           << 
 62                                                << 
 63 # highlevel code                               << 
 64 xfs-y                           += xfs_aops.o  << 
 65                                    xfs_attr_in << 
 66                                    xfs_attr_li << 
 67                                    xfs_bmap_ut << 
 68                                    xfs_bio_io. << 
 69                                    xfs_buf.o \ << 
 70                                    xfs_dahash_ << 
 71                                    xfs_dir2_re << 
 72                                    xfs_discard << 
 73                                    xfs_error.o     82                                    xfs_error.o \
 74                                    xfs_exchran !!  83                                    xfs_extfree_item.o \
 75                                    xfs_export. << 
 76                                    xfs_extent_ << 
 77                                    xfs_file.o  << 
 78                                    xfs_filestr << 
 79                                    xfs_fsmap.o << 
 80                                    xfs_fsops.o     84                                    xfs_fsops.o \
 81                                    xfs_globals !!  85                                    xfs_ialloc.o \
 82                                    xfs_handle. !!  86                                    xfs_ialloc_btree.o \
 83                                    xfs_health. !!  87                                    xfs_iget.o \
 84                                    xfs_icache. << 
 85                                    xfs_ioctl.o << 
 86                                    xfs_iomap.o << 
 87                                    xfs_iops.o  << 
 88                                    xfs_inode.o     88                                    xfs_inode.o \
                                                   >>  89                                    xfs_inode_item.o \
                                                   >>  90                                    xfs_iocore.o \
                                                   >>  91                                    xfs_iomap.o \
 89                                    xfs_itable.     92                                    xfs_itable.o \
 90                                    xfs_iwalk.o !!  93                                    xfs_dfrag.o \
 91                                    xfs_message !!  94                                    xfs_log.o \
                                                   >>  95                                    xfs_log_recover.o \
                                                   >>  96                                    xfs_macros.o \
 92                                    xfs_mount.o     97                                    xfs_mount.o \
 93                                    xfs_mru_cac !!  98                                    xfs_rename.o \
 94                                    xfs_pwork.o << 
 95                                    xfs_reflink << 
 96                                    xfs_stats.o << 
 97                                    xfs_super.o << 
 98                                    xfs_symlink << 
 99                                    xfs_sysfs.o << 
100                                    xfs_trans.o     99                                    xfs_trans.o \
101                                    xfs_xattr.o << 
102                                                << 
103 # low-level transaction/log code               << 
104 xfs-y                           += xfs_log.o \ << 
105                                    xfs_log_cil << 
106                                    xfs_bmap_it << 
107                                    xfs_buf_ite << 
108                                    xfs_buf_ite << 
109                                    xfs_dquot_i << 
110                                    xfs_exchmap << 
111                                    xfs_extfree << 
112                                    xfs_attr_it << 
113                                    xfs_icreate << 
114                                    xfs_inode_i << 
115                                    xfs_inode_i << 
116                                    xfs_iunlink << 
117                                    xfs_refcoun << 
118                                    xfs_rmap_it << 
119                                    xfs_log_rec << 
120                                    xfs_trans_a    100                                    xfs_trans_ail.o \
121                                    xfs_trans_b !! 101                                    xfs_trans_buf.o \
122                                                !! 102                                    xfs_trans_extfree.o \
123 # optional features                            !! 103                                    xfs_trans_inode.o \
124 xfs-$(CONFIG_XFS_QUOTA)         += xfs_dquot.o !! 104                                    xfs_trans_item.o \
125                                    xfs_dquot_i !! 105                                    xfs_utils.o \
126                                    xfs_trans_d !! 106                                    xfs_vfsops.o \
127                                    xfs_qm_sysc !! 107                                    xfs_vnodeops.o \
128                                    xfs_qm_bhv. !! 108                                    xfs_refcache.o \
129                                    xfs_qm.o \  !! 109                                    xfs_rw.o \
130                                    xfs_quotaop !! 110                                    xfs_dmops.o \
131                                                !! 111                                    xfs_qmops.o
132 # xfs_rtbitmap is shared with libxfs           !! 112 
133 xfs-$(CONFIG_XFS_RT)            += xfs_rtalloc !! 113 # Objects not built in this directory
134                                                !! 114 obj-y                           += linux-2.4/linux_xfs.o \
135 xfs-$(CONFIG_XFS_POSIX_ACL)     += xfs_acl.o   !! 115                                    support/support_xfs.o
136 xfs-$(CONFIG_SYSCTL)            += xfs_sysctl. !! 116 
137 xfs-$(CONFIG_COMPAT)            += xfs_ioctl32 !! 117 subdir-$(CONFIG_XFS_FS)         += linux-2.4 support
138 xfs-$(CONFIG_EXPORTFS_BLOCK_OPS)        += xfs !! 118 
139                                                !! 119 ifeq ($(CONFIG_XFS_DMAPI),y)
140 # notify failure                               !! 120   subdir-$(CONFIG_XFS_FS)       += dmapi
141 ifeq ($(CONFIG_MEMORY_FAILURE),y)              !! 121   obj-y                         += dmapi/xfs_dmapi.o
142 xfs-$(CONFIG_FS_DAX)            += xfs_notify_ << 
143 endif                                             122 endif
144                                                   123 
145 xfs-$(CONFIG_XFS_DRAIN_INTENTS) += xfs_drain.o !! 124 ifeq ($(CONFIG_XFS_QUOTA),y)
146 xfs-$(CONFIG_XFS_LIVE_HOOKS)    += xfs_hooks.o !! 125   subdir-$(CONFIG_XFS_FS)       += quota
147 xfs-$(CONFIG_XFS_MEMORY_BUFS)   += xfs_buf_mem !! 126   obj-y                         += quota/xfs_quota.o
148 xfs-$(CONFIG_XFS_BTREE_IN_MEM)  += libxfs/xfs_ << 
149                                                << 
150 # online scrub/repair                          << 
151 ifeq ($(CONFIG_XFS_ONLINE_SCRUB),y)            << 
152                                                << 
153 # Tracepoints like to blow up, so build that b << 
154                                                << 
155 xfs-y                           += $(addprefix << 
156                                    trace.o \   << 
157                                    agb_bitmap. << 
158                                    agheader.o  << 
159                                    alloc.o \   << 
160                                    attr.o \    << 
161                                    bitmap.o \  << 
162                                    bmap.o \    << 
163                                    btree.o \   << 
164                                    common.o \  << 
165                                    dabtree.o \ << 
166                                    dir.o \     << 
167                                    dirtree.o \ << 
168                                    fscounters. << 
169                                    health.o \  << 
170                                    ialloc.o \  << 
171                                    inode.o \   << 
172                                    iscan.o \   << 
173                                    listxattr.o << 
174                                    nlinks.o \  << 
175                                    parent.o \  << 
176                                    readdir.o \ << 
177                                    refcount.o  << 
178                                    rmap.o \    << 
179                                    scrub.o \   << 
180                                    symlink.o \ << 
181                                    xfarray.o \ << 
182                                    xfblob.o \  << 
183                                    xfile.o \   << 
184                                    )           << 
185                                                << 
186 xfs-$(CONFIG_XFS_ONLINE_SCRUB_STATS) += scrub/ << 
187                                                << 
188 xfs-$(CONFIG_XFS_RT)            += $(addprefix << 
189                                    rtbitmap.o  << 
190                                    rtsummary.o << 
191                                    )           << 
192                                                << 
193 xfs-$(CONFIG_XFS_QUOTA)         += $(addprefix << 
194                                    dqiterate.o << 
195                                    quota.o \   << 
196                                    quotacheck. << 
197                                    )           << 
198                                                << 
199 # online repair                                << 
200 ifeq ($(CONFIG_XFS_ONLINE_REPAIR),y)           << 
201 xfs-y                           += $(addprefix << 
202                                    agheader_re << 
203                                    alloc_repai << 
204                                    attr_repair << 
205                                    bmap_repair << 
206                                    cow_repair. << 
207                                    dir_repair. << 
208                                    dirtree_rep << 
209                                    findparent. << 
210                                    fscounters_ << 
211                                    ialloc_repa << 
212                                    inode_repai << 
213                                    newbt.o \   << 
214                                    nlinks_repa << 
215                                    orphanage.o << 
216                                    parent_repa << 
217                                    rcbag_btree << 
218                                    rcbag.o \   << 
219                                    reap.o \    << 
220                                    refcount_re << 
221                                    repair.o \  << 
222                                    rmap_repair << 
223                                    symlink_rep << 
224                                    tempfile.o  << 
225                                    )           << 
226                                                << 
227 xfs-$(CONFIG_XFS_RT)            += $(addprefix << 
228                                    rtbitmap_re << 
229                                    rtsummary_r << 
230                                    )           << 
231                                                << 
232 xfs-$(CONFIG_XFS_QUOTA)         += $(addprefix << 
233                                    quota_repai << 
234                                    quotacheck_ << 
235                                    )           << 
236 endif                                          << 
237 endif                                             127 endif
                                                   >> 128 
                                                   >> 129 include $(TOPDIR)/Rules.make
                                                   >> 130 
                                                   >> 131 # This is really nasty, but Rules.make was never designed for multi directory
                                                   >> 132 # modules.  Keith Owens.
                                                   >> 133 
                                                   >> 134 xfs.o: $(patsubst %,_modsubdir_%,$(subdir-m))
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php