]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | # SPDX-License-Identifier: GPL-2.0 |
e80aa729 | 2 | # Copyright (c) 2000-2006 Silicon Graphics, Inc. |
f302e9e4 | 3 | # All Rights Reserved. |
dfc130f3 | 4 | # |
2bd0ea18 NS |
5 | |
6 | TOPDIR = .. | |
7 | include $(TOPDIR)/include/builddefs | |
8 | ||
77d98709 | 9 | LIBHFILES = libxfs.h \ |
cebd3912 | 10 | libxlog.h \ |
82c3a179 | 11 | libxcmd.h \ |
cebd3912 DC |
12 | atomic.h \ |
13 | bitops.h \ | |
14 | cache.h \ | |
15 | hlist.h \ | |
16 | kmem.h \ | |
17 | list.h \ | |
18 | parent.h \ | |
b626fb59 | 19 | xfs_inode.h \ |
cc085d77 DC |
20 | xfs_log_recover.h \ |
21 | xfs_metadump.h \ | |
b626fb59 | 22 | xfs_mount.h \ |
4a32b9e9 DC |
23 | xfs_quota_defs.h \ |
24 | xfs_sb.h \ | |
25 | xfs_shared.h \ | |
b626fb59 | 26 | xfs_trace.h \ |
77d98709 CH |
27 | xfs_trans.h \ |
28 | command.h \ | |
29 | input.h \ | |
4a32b9e9 | 30 | platform_defs.h |
77a20f18 | 31 | |
cebd3912 DC |
32 | HFILES = handle.h \ |
33 | jdm.h \ | |
bf64c900 | 34 | linux.h \ |
cebd3912 | 35 | xfs.h \ |
5711848a | 36 | xqm.h \ |
918664ad | 37 | xfs_fs_compat.h \ |
5711848a | 38 | xfs_arch.h |
cebd3912 | 39 | |
bf64c900 | 40 | LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh |
636b4d91 DC |
41 | LSRCFILES += $(DKHFILES) $(LIBHFILES) |
42 | LDIRT = disk | |
43 | LDIRDIRT = xfs | |
2bd0ea18 | 44 | |
b08338d7 | 45 | default: disk |
31e375e6 | 46 | |
636b4d91 | 47 | disk: |
35714853 DC |
48 | @echo " [LN] $@" |
49 | $(Q)$(LN_S) . $@ | |
721ae57d | 50 | |
b08338d7 DC |
51 | include $(BUILDRULES) |
52 | ||
636b4d91 | 53 | # set up include/xfs header directory |
bf64c900 | 54 | install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES)) |
636b4d91 | 55 | |
7af0c6c3 | 56 | %-hdrs: |
f4a2ea00 | 57 | $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$* |
636b4d91 | 58 | |
b08338d7 | 59 | install: default |
fc49813f | 60 | $(INSTALL) -m 755 -d $(PKG_INC_DIR) |
b08338d7 DC |
61 | |
62 | install-dev: install | |
fc49813f | 63 | $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR) |