File: Makefile

package info (click to toggle)
xfsprogs 6.18.0-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 11,304 kB
  • sloc: ansic: 167,330; sh: 4,604; makefile: 1,337; python: 835; cpp: 5
file content (94 lines) | stat: -rw-r--r-- 1,574 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights Reserved.
#

TOPDIR = ..
include $(TOPDIR)/include/builddefs

LTCOMMAND = xfs_db

HFILES = \
	addr.h \
	agf.h \
	agfl.h \
	agi.h \
	attr.h \
	attrset.h \
	attrshort.h \
	bit.h \
	block.h \
	bmap.h \
	bmroot.h \
	btblock.h \
	check.h \
	command.h \
	crc.h \
	debug.h \
	dir2.h \
	dir2sf.h \
	dquot.h \
	echo.h \
	faddr.h \
	field.h \
	flist.h \
	fprint.h \
	frag.h \
	freesp.h \
	fsmap.h \
	fuzz.h \
	hash.h \
	help.h \
	init.h \
	inode.h \
	input.h \
	io.h \
	logformat.h \
	malloc.h \
	metadump.h \
	namei.h \
	obfuscate.h \
	output.h \
	print.h \
	quit.h \
	rtgroup.h \
	sb.h \
	sig.h \
	strvec.h \
	symlink.h \
	text.h \
	type.h \
	write.h
CFILES = $(HFILES:.h=.c) \
	bmap_inflate.c \
	btdump.c \
	btheight.c \
	convert.c \
	info.c \
	iunlink.c \
	rdump.c \
	timelimit.c
LSRCFILES = xfs_admin.sh xfs_ncheck.sh xfs_metadump.sh

LLDLIBS	= $(LIBXFS) $(LIBXLOG) $(LIBFROG) $(LIBUUID) $(LIBRT) $(LIBURCU) \
	  $(LIBPTHREAD)
LTDEPENDENCIES = $(LIBXFS) $(LIBXLOG) $(LIBFROG)
LLDFLAGS += -static-libtool-libs

ifeq ($(ENABLE_EDITLINE),yes)
LLDLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
CFLAGS += -DENABLE_EDITLINE
endif

default: depend $(LTCOMMAND)

include $(BUILDRULES)

install: default
	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
	$(INSTALL) -m 755 xfs_admin.sh $(PKG_SBIN_DIR)/xfs_admin
	$(INSTALL) -m 755 xfs_ncheck.sh $(PKG_SBIN_DIR)/xfs_ncheck
	$(INSTALL) -m 755 xfs_metadump.sh $(PKG_SBIN_DIR)/xfs_metadump
install-dev:

-include .dep