File: Makefile

package info (click to toggle)
xfsprogs 6.18.0-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 11,304 kB
  • sloc: ansic: 167,330; sh: 4,604; makefile: 1,337; python: 835; cpp: 5
file content (102 lines) | stat: -rw-r--r-- 1,704 bytes parent folder | download | duplicates (2)
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
95
96
97
98
99
100
101
102
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2017 Oracle.  All Rights Reserved.
#

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

LTLIBRARY = libfrog.la
LT_CURRENT = 0
LT_REVISION = 0
LT_AGE = 0
# we need a static build even if --disable-static is specified
LTLDFLAGS += -static

CFILES = \
avl64.c \
bitmap.c \
bulkstat.c \
convert.c \
crc32.c \
file_exchange.c \
fsgeom.c \
fsproperties.c \
fsprops.c \
getparents.c \
histogram.c \
file_attr.c \
list_sort.c \
linux.c \
logging.c \
paths.c \
projects.c \
ptvar.c \
radix-tree.c \
randbytes.c \
scrub.c \
util.c \
workqueue.c

HFILES = \
avl64.h \
bulkstat.h \
bitmap.h \
convert.h \
crc32c.h \
crc32cselftest.h \
crc32defs.h \
crc32table.h \
dahashselftest.h \
div64.h \
fakelibattr.h \
file_exchange.h \
fsgeom.h \
fsproperties.h \
fsprops.h \
getparents.h \
handle_priv.h \
histogram.h \
file_attr.h \
logging.h \
paths.h \
projects.h \
ptvar.h \
radix-tree.h \
randbytes.h \
scrub.h \
statx.h \
workqueue.h

GETTEXT_PY = \
	gettext.py

LSRCFILES += gen_crc32table.c

LDIRT = gen_crc32table crc32table.h

ifeq ($(ENABLE_GETTEXT),yes)
HAVE_GETTEXT = True
else
HAVE_GETTEXT = False
endif

default: ltdepend $(LTLIBRARY) $(GETTEXT_PY)

crc32table.h: gen_crc32table.c crc32defs.h
	@echo "    [CC]     gen_crc32table"
	$(Q) $(BUILD_CC) $(BUILD_CFLAGS) -o gen_crc32table $<
	@echo "    [GENERATE] $@"
	$(Q) ./gen_crc32table > crc32table.h

$(GETTEXT_PY): $(GETTEXT_PY).in $(TOPDIR)/include/builddefs
	@echo "    [SED]    $@"
	$(Q)$(SED) -e "s|@HAVE_GETTEXT@|$(HAVE_GETTEXT)|g" \
		   -e "s|@PACKAGE@|$(PKG_NAME)|g" \
		   -e "s|@LOCALEDIR@|$(PKG_LOCALE_DIR)|g" \
		   < $< > $@

include $(BUILDRULES)

install install-dev: default

-include .ltdep