blob: 2e5bfbb69960aeb40bf9ceb43e481b67e34ceb88 [file] [log] [blame]
Jiri Olsa5ff32882019-02-13 13:32:39 +01001perf-y += annotate.o
Jin Yao60414412019-11-07 15:47:14 +08002perf-y += block-info.o
Jiri Olsa5ff32882019-02-13 13:32:39 +01003perf-y += block-range.o
4perf-y += build-id.o
Arnaldo Carvalho de Melo12500902019-08-22 16:58:29 -03005perf-y += cacheline.o
Jiri Olsa5ff32882019-02-13 13:32:39 +01006perf-y += config.o
Arnaldo Carvalho de Melo32ff3fe2019-09-24 15:14:12 -03007perf-y += copyfile.o
Jiri Olsa5ff32882019-02-13 13:32:39 +01008perf-y += ctype.o
9perf-y += db-export.o
10perf-y += env.o
11perf-y += event.o
12perf-y += evlist.o
Jin Yaob53a0752021-04-27 15:01:26 +080013perf-y += evlist-hybrid.o
Arnaldo Carvalho de Melo9a399942020-05-05 12:18:21 -030014perf-y += sideband_evlist.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010015perf-y += evsel.o
16perf-y += evsel_fprintf.o
Arnaldo Carvalho de Meloca125272019-09-24 15:41:51 -030017perf-y += perf_event_attr_fprintf.o
Arnaldo Carvalho de Melo8829e562019-08-15 11:00:11 -030018perf-y += evswitch.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010019perf-y += find_bit.o
20perf-y += get_current_dir_name.o
21perf-y += kallsyms.o
22perf-y += levenshtein.o
23perf-y += llvm-utils.o
24perf-y += mmap.o
25perf-y += memswap.o
26perf-y += parse-events.o
Jin Yao9cbfa2f2021-04-27 15:01:21 +080027perf-y += parse-events-hybrid.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010028perf-y += perf_regs.o
29perf-y += path.o
30perf-y += print_binary.o
Arnaldo Carvalho de Melo49752232019-07-09 14:49:26 -030031perf-y += rlimit.o
Arnaldo Carvalho de Melo9c105482019-06-26 15:27:58 -030032perf-y += argv_split.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010033perf-y += rbtree.o
34perf-y += libstring.o
35perf-y += bitmap.o
36perf-y += hweight.o
37perf-y += smt.o
38perf-y += strbuf.o
39perf-y += string.o
40perf-y += strlist.o
41perf-y += strfilter.o
42perf-y += top.o
43perf-y += usage.o
44perf-y += dso.o
Arnaldo Carvalho de Melo4a3cec82019-08-30 11:11:01 -030045perf-y += dsos.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010046perf-y += symbol.o
47perf-y += symbol_fprintf.o
48perf-y += color.o
49perf-y += color_config.o
50perf-y += metricgroup.o
51perf-y += header.o
52perf-y += callchain.o
53perf-y += values.o
54perf-y += debug.o
Andi Kleend9664582019-11-20 16:15:11 -080055perf-y += fncache.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010056perf-y += machine.o
57perf-y += map.o
58perf-y += pstack.o
59perf-y += session.o
60perf-y += sample-raw.o
61perf-y += s390-sample-raw.o
Kim Phillips291dcb92021-08-17 17:15:09 -050062perf-y += amd-sample-raw.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010063perf-$(CONFIG_TRACE) += syscalltbl.o
64perf-y += ordered-events.o
65perf-y += namespaces.o
66perf-y += comm.o
67perf-y += thread.o
68perf-y += thread_map.o
69perf-y += trace-event-parse.o
70perf-y += parse-events-flex.o
71perf-y += parse-events-bison.o
72perf-y += pmu.o
73perf-y += pmu-flex.o
74perf-y += pmu-bison.o
Jin Yao44462432021-04-27 15:01:18 +080075perf-y += pmu-hybrid.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010076perf-y += trace-event-read.o
77perf-y += trace-event-info.o
78perf-y += trace-event-scripting.o
79perf-y += trace-event.o
80perf-y += svghelper.o
81perf-y += sort.o
82perf-y += hist.o
83perf-y += util.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010084perf-y += cpumap.o
Andi Kleen267ed5d2019-11-20 16:15:12 -080085perf-y += affinity.o
Jiri Olsa5135d5e2019-02-19 10:58:13 +010086perf-y += cputopo.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010087perf-y += cgroup.o
88perf-y += target.o
89perf-y += rblist.o
90perf-y += intlist.o
91perf-y += vdso.o
92perf-y += counts.o
93perf-y += stat.o
94perf-y += stat-shadow.o
95perf-y += stat-display.o
Arnaldo Carvalho de Melo40c7d242020-05-05 11:49:08 -030096perf-y += perf_api_probe.o
Jiri Olsa5ff32882019-02-13 13:32:39 +010097perf-y += record.o
98perf-y += srcline.o
99perf-y += srccode.o
Arnaldo Carvalho de Melo055c67e2019-09-18 16:08:52 -0300100perf-y += synthetic-events.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100101perf-y += data.o
102perf-y += tsc.o
103perf-y += cloexec.o
104perf-y += call-path.o
105perf-y += rwsem.o
106perf-y += thread-stack.o
Jin Yaocebf7d52019-09-25 09:14:46 +0800107perf-y += spark.o
Kan Liang687986b2020-09-11 07:48:05 -0700108perf-y += topdown.o
Alexander Antonovf07952b2021-04-19 12:41:44 +0300109perf-y += iostat.o
Jin Yao480accb2020-10-09 10:28:39 +0800110perf-y += stream.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100111perf-$(CONFIG_AUXTRACE) += auxtrace.o
112perf-$(CONFIG_AUXTRACE) += intel-pt-decoder/
113perf-$(CONFIG_AUXTRACE) += intel-pt.o
114perf-$(CONFIG_AUXTRACE) += intel-bts.o
115perf-$(CONFIG_AUXTRACE) += arm-spe.o
Tan Xiaojun4db25f62020-05-30 20:24:40 +0800116perf-$(CONFIG_AUXTRACE) += arm-spe-decoder/
Jiri Olsa5ff32882019-02-13 13:32:39 +0100117perf-$(CONFIG_AUXTRACE) += s390-cpumsf.o
Mathieu Poirier440a23b2018-01-17 10:52:11 -0700118
119ifdef CONFIG_LIBOPENCSD
Jiri Olsa5ff32882019-02-13 13:32:39 +0100120perf-$(CONFIG_AUXTRACE) += cs-etm.o
121perf-$(CONFIG_AUXTRACE) += cs-etm-decoder/
Mathieu Poirier440a23b2018-01-17 10:52:11 -0700122endif
123
Jiri Olsa5ff32882019-02-13 13:32:39 +0100124perf-y += parse-branch-options.o
125perf-y += dump-insn.o
126perf-y += parse-regs-options.o
Changbin Dua80abe22020-08-08 10:31:30 +0800127perf-y += parse-sublevel-options.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100128perf-y += term.o
129perf-y += help-unknown-cmd.o
Adrian Hunter291961f2021-06-27 16:18:09 +0300130perf-y += dlfilter.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100131perf-y += mem-events.o
132perf-y += vsprintf.o
133perf-y += units.o
134perf-y += time-utils.o
Jiri Olsa26226a92020-02-28 10:36:13 +0100135perf-y += expr-flex.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100136perf-y += expr-bison.o
Jiri Olsa576a65b2020-02-28 10:36:12 +0100137perf-y += expr.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100138perf-y += branch.o
139perf-y += mem2node.o
Jiri Olsa6953beb2020-08-05 11:34:38 +0200140perf-y += clockid.o
Ian Rogers92ec3cc2021-10-15 10:21:12 -0700141perf-y += list_sort.o
Jiri Olsa9352aab2014-12-29 17:42:46 +0100142
Jiri Olsa5ff32882019-02-13 13:32:39 +0100143perf-$(CONFIG_LIBBPF) += bpf-loader.o
Arnaldo Carvalho de Melod19f85642019-02-19 16:11:56 -0300144perf-$(CONFIG_LIBBPF) += bpf_map.o
Song Liufa853c42020-12-29 13:42:14 -0800145perf-$(CONFIG_PERF_BPF_SKEL) += bpf_counter.o
Namhyung Kim944138f2021-07-01 14:12:27 -0700146perf-$(CONFIG_PERF_BPF_SKEL) += bpf_counter_cgroup.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100147perf-$(CONFIG_BPF_PROLOGUE) += bpf-prologue.o
148perf-$(CONFIG_LIBELF) += symbol-elf.o
149perf-$(CONFIG_LIBELF) += probe-file.o
150perf-$(CONFIG_LIBELF) += probe-event.o
Jiri Olsa709e6792014-12-29 23:52:25 +0100151
Jiri Olsaad1237c2021-05-08 22:50:20 +0200152ifdef CONFIG_LIBBPF_DYNAMIC
153 hashmap := 1
154endif
Ian Rogerseee19502020-05-15 15:17:29 -0700155ifndef CONFIG_LIBBPF
Jiri Olsaad1237c2021-05-08 22:50:20 +0200156 hashmap := 1
157endif
158
159ifdef hashmap
Ian Rogerseee19502020-05-15 15:17:29 -0700160perf-y += hashmap.o
161endif
162
Jiri Olsa709e6792014-12-29 23:52:25 +0100163ifndef CONFIG_LIBELF
Jiri Olsa5ff32882019-02-13 13:32:39 +0100164perf-y += symbol-minimal.o
Jiri Olsa709e6792014-12-29 23:52:25 +0100165endif
166
Arnaldo Carvalho de Melo86bcdb52017-07-18 17:15:29 -0300167ifndef CONFIG_SETNS
Jiri Olsa5ff32882019-02-13 13:32:39 +0100168perf-y += setns.o
Arnaldo Carvalho de Melo86bcdb52017-07-18 17:15:29 -0300169endif
170
Jiri Olsa5ff32882019-02-13 13:32:39 +0100171perf-$(CONFIG_DWARF) += probe-finder.o
172perf-$(CONFIG_DWARF) += dwarf-aux.o
173perf-$(CONFIG_DWARF) += dwarf-regs.o
Jiri Olsa8379fce2014-12-30 00:06:25 +0100174
Jiri Olsa5ff32882019-02-13 13:32:39 +0100175perf-$(CONFIG_LIBDW_DWARF_UNWIND) += unwind-libdw.o
176perf-$(CONFIG_LOCAL_LIBUNWIND) += unwind-libunwind-local.o
177perf-$(CONFIG_LIBUNWIND) += unwind-libunwind.o
178perf-$(CONFIG_LIBUNWIND_X86) += libunwind/x86_32.o
179perf-$(CONFIG_LIBUNWIND_AARCH64) += libunwind/arm64.o
Jiri Olsab2e45c32014-12-30 00:11:11 +0100180
Jiri Olsa5ff32882019-02-13 13:32:39 +0100181perf-$(CONFIG_LIBBABELTRACE) += data-convert-bt.o
Nicholas Fraserd0713d42021-04-26 10:47:16 -0400182perf-y += data-convert-json.o
Jiri Olsaedbe9812015-02-20 23:17:00 +0100183
Jiri Olsa5ff32882019-02-13 13:32:39 +0100184perf-y += scripting-engines/
Jiri Olsac7355f82014-12-30 13:11:32 +0100185
Jiri Olsa5ff32882019-02-13 13:32:39 +0100186perf-$(CONFIG_ZLIB) += zlib.o
187perf-$(CONFIG_LZMA) += lzma.o
Alexey Budankovf24c1d72019-03-18 20:42:55 +0300188perf-$(CONFIG_ZSTD) += zstd.o
189
Igor Lubashevc22e1502019-08-07 10:44:14 -0400190perf-$(CONFIG_LIBCAP) += cap.o
191
Fabian Hemmercef7af22021-02-03 16:15:37 -0500192perf-y += demangle-ocaml.o
Jiri Olsa5ff32882019-02-13 13:32:39 +0100193perf-y += demangle-java.o
194perf-y += demangle-rust.o
Arnaldo Carvalho de Melo46dad052016-03-07 18:48:45 -0300195
Jiri Olsae12b2022016-03-10 17:41:13 +0100196ifdef CONFIG_JITDUMP
Jiri Olsa5ff32882019-02-13 13:32:39 +0100197perf-$(CONFIG_LIBELF) += jitdump.o
198perf-$(CONFIG_LIBELF) += genelf.o
199perf-$(CONFIG_DWARF) += genelf_debug.o
Arnaldo Carvalho de Melo46dad052016-03-07 18:48:45 -0300200endif
Jiri Olsa3bc33742014-12-30 13:30:04 +0100201
Jiri Olsa5ff32882019-02-13 13:32:39 +0100202perf-y += perf-hooks.o
Wang Nana0748652016-11-26 07:03:28 +0000203
Jiri Olsa5ff32882019-02-13 13:32:39 +0100204perf-$(CONFIG_LIBBPF) += bpf-event.o
Dave Marchevsky6ac22d02021-10-11 01:20:30 -0700205perf-$(CONFIG_LIBBPF) += bpf-utils.o
Song Liu45178a92019-01-17 08:15:18 -0800206
Jiri Olsa5ff32882019-02-13 13:32:39 +0100207perf-$(CONFIG_CXX) += c++/
Wang Nan00b86692016-11-26 07:03:34 +0000208
Stephane Eranian70943492020-05-05 11:29:43 -0700209perf-$(CONFIG_LIBPFM4) += pfm.o
210
Jiri Olsa9352aab2014-12-29 17:42:46 +0100211CFLAGS_config.o += -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
Arnaldo Carvalho de Melo1b16fff2018-05-04 10:37:27 -0300212CFLAGS_llvm-utils.o += -DPERF_INCLUDE_DIR="BUILD_STR($(perf_include_dir_SQ))"
213
Stephane Eranian598b7c62015-11-30 10:02:23 +0100214# avoid compiler warnings in 32-bit mode
215CFLAGS_genelf_debug.o += -Wno-packed
Jiri Olsa9352aab2014-12-29 17:42:46 +0100216
Ian Rogers4b971df2020-06-18 21:33:51 -0700217$(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-flex.h: util/parse-events.l $(OUTPUT)util/parse-events-bison.c
Jiri Olsa19993072014-12-30 18:44:38 +0100218 $(call rule_mkdir)
Ian Rogers4b971df2020-06-18 21:33:51 -0700219 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/parse-events-flex.c \
220 --header-file=$(OUTPUT)util/parse-events-flex.h $(PARSER_DEBUG_FLEX) $<
Jiri Olsa9352aab2014-12-29 17:42:46 +0100221
Ian Rogersef9894d2020-06-18 21:33:52 -0700222$(OUTPUT)util/parse-events-bison.c $(OUTPUT)util/parse-events-bison.h: util/parse-events.y
Jiri Olsa19993072014-12-30 18:44:38 +0100223 $(call rule_mkdir)
Denys Zagorui67936722021-05-24 04:15:14 -0700224 $(Q)$(call echo-cmd,bison)$(BISON) -v $< -d $(PARSER_DEBUG_BISON) $(BISON_FILE_PREFIX_MAP) \
Ian Rogersef9894d2020-06-18 21:33:52 -0700225 -o $(OUTPUT)util/parse-events-bison.c -p parse_events_
Jiri Olsa9352aab2014-12-29 17:42:46 +0100226
Ian Rogers4b971df2020-06-18 21:33:51 -0700227$(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-flex.h: util/expr.l $(OUTPUT)util/expr-bison.c
Jiri Olsa26226a92020-02-28 10:36:13 +0100228 $(call rule_mkdir)
Ian Rogers4b971df2020-06-18 21:33:51 -0700229 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/expr-flex.c \
230 --header-file=$(OUTPUT)util/expr-flex.h $(PARSER_DEBUG_FLEX) $<
Jiri Olsa26226a92020-02-28 10:36:13 +0100231
Ian Rogersef9894d2020-06-18 21:33:52 -0700232$(OUTPUT)util/expr-bison.c $(OUTPUT)util/expr-bison.h: util/expr.y
Andi Kleen07516732017-03-20 13:17:05 -0700233 $(call rule_mkdir)
Denys Zagorui67936722021-05-24 04:15:14 -0700234 $(Q)$(call echo-cmd,bison)$(BISON) -v $< -d $(PARSER_DEBUG_BISON) $(BISON_FILE_PREFIX_MAP) \
Ian Rogersef9894d2020-06-18 21:33:52 -0700235 -o $(OUTPUT)util/expr-bison.c -p expr_
Andi Kleen07516732017-03-20 13:17:05 -0700236
Ian Rogers4b971df2020-06-18 21:33:51 -0700237$(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-flex.h: util/pmu.l $(OUTPUT)util/pmu-bison.c
Jiri Olsa19993072014-12-30 18:44:38 +0100238 $(call rule_mkdir)
Ian Rogers4b971df2020-06-18 21:33:51 -0700239 $(Q)$(call echo-cmd,flex)$(FLEX) -o $(OUTPUT)util/pmu-flex.c \
240 --header-file=$(OUTPUT)util/pmu-flex.h $(PARSER_DEBUG_FLEX) $<
Jiri Olsa9352aab2014-12-29 17:42:46 +0100241
Ian Rogersef9894d2020-06-18 21:33:52 -0700242$(OUTPUT)util/pmu-bison.c $(OUTPUT)util/pmu-bison.h: util/pmu.y
Jiri Olsa19993072014-12-30 18:44:38 +0100243 $(call rule_mkdir)
Denys Zagorui67936722021-05-24 04:15:14 -0700244 $(Q)$(call echo-cmd,bison)$(BISON) -v $< -d $(PARSER_DEBUG_BISON) $(BISON_FILE_PREFIX_MAP) \
Ian Rogersef9894d2020-06-18 21:33:52 -0700245 -o $(OUTPUT)util/pmu-bison.c -p perf_pmu_
Jiri Olsa9352aab2014-12-29 17:42:46 +0100246
Ian Rogers304d7a92020-06-18 21:33:53 -0700247FLEX_GE_26 := $(shell expr $(shell $(FLEX) --version | sed -e 's/flex \([0-9]\+\).\([0-9]\+\)/\1\2/g') \>\= 26)
248ifeq ($(FLEX_GE_26),1)
249 flex_flags := -Wno-switch-enum -Wno-switch-default -Wno-unused-function -Wno-redundant-decls -Wno-sign-compare -Wno-unused-parameter -Wno-missing-prototypes -Wno-missing-declarations
250 CC_HASNT_MISLEADING_INDENTATION := $(shell echo "int main(void) { return 0 }" | $(CC) -Werror -Wno-misleading-indentation -o /dev/null -xc - 2>&1 | grep -q -- -Wno-misleading-indentation ; echo $$?)
251 ifeq ($(CC_HASNT_MISLEADING_INDENTATION), 1)
252 flex_flags += -Wno-misleading-indentation
253 endif
254else
255 flex_flags := -w
256endif
257CFLAGS_parse-events-flex.o += $(flex_flags)
258CFLAGS_pmu-flex.o += $(flex_flags)
259CFLAGS_expr-flex.o += $(flex_flags)
Ian Rogers1f16fca2020-06-18 21:33:56 -0700260
261bison_flags := -DYYENABLE_NLS=0
262BISON_GE_35 := $(shell expr $(shell $(BISON) --version | grep bison | sed -e 's/.\+ \([0-9]\+\).\([0-9]\+\)/\1\2/g') \>\= 35)
263ifeq ($(BISON_GE_35),1)
264 bison_flags += -Wno-unused-parameter -Wno-nested-externs -Wno-implicit-function-declaration -Wno-switch-enum
265else
266 bison_flags += -w
267endif
268CFLAGS_parse-events-bison.o += $(bison_flags)
269CFLAGS_pmu-bison.o += -DYYLTYPE_IS_TRIVIAL=0 $(bison_flags)
270CFLAGS_expr-bison.o += -DYYLTYPE_IS_TRIVIAL=0 $(bison_flags)
Jiri Olsa9352aab2014-12-29 17:42:46 +0100271
272$(OUTPUT)util/parse-events.o: $(OUTPUT)util/parse-events-flex.c $(OUTPUT)util/parse-events-bison.c
273$(OUTPUT)util/pmu.o: $(OUTPUT)util/pmu-flex.c $(OUTPUT)util/pmu-bison.c
Jiri Olsa26226a92020-02-28 10:36:13 +0100274$(OUTPUT)util/expr.o: $(OUTPUT)util/expr-flex.c $(OUTPUT)util/expr-bison.c
Jiri Olsa9352aab2014-12-29 17:42:46 +0100275
Arnaldo Carvalho de Melo915b0882016-01-08 12:33:37 -0300276CFLAGS_bitmap.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
Arnaldo Carvalho de Melo552eb9752016-01-08 10:46:52 -0300277CFLAGS_find_bit.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
Jiri Olsa9352aab2014-12-29 17:42:46 +0100278CFLAGS_rbtree.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
Arnaldo Carvalho de Melo4ddd3272015-11-16 11:36:29 -0300279CFLAGS_libstring.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
Jiri Olsa9352aab2014-12-29 17:42:46 +0100280CFLAGS_hweight.o += -Wno-unused-parameter -DETC_PERFCONFIG="BUILD_STR($(ETC_PERFCONFIG_SQ))"
281CFLAGS_parse-events.o += -Wno-redundant-decls
Jiri Olsa26226a92020-02-28 10:36:13 +0100282CFLAGS_expr.o += -Wno-redundant-decls
Soramichi AKIYAMAd25ed5d2017-01-17 00:22:37 +0900283CFLAGS_header.o += -include $(OUTPUT)PERF-VERSION-FILE
Jiri Olsa9352aab2014-12-29 17:42:46 +0100284
285$(OUTPUT)util/kallsyms.o: ../lib/symbol/kallsyms.c FORCE
Jiri Olsa19993072014-12-30 18:44:38 +0100286 $(call rule_mkdir)
Jiri Olsa9352aab2014-12-29 17:42:46 +0100287 $(call if_changed_dep,cc_o_c)
288
Arnaldo Carvalho de Melo9c105482019-06-26 15:27:58 -0300289$(OUTPUT)util/argv_split.o: ../lib/argv_split.c FORCE
290 $(call rule_mkdir)
291 $(call if_changed_dep,cc_o_c)
292
Arnaldo Carvalho de Melo915b0882016-01-08 12:33:37 -0300293$(OUTPUT)util/bitmap.o: ../lib/bitmap.c FORCE
294 $(call rule_mkdir)
295 $(call if_changed_dep,cc_o_c)
296
Arnaldo Carvalho de Melo3052ba52019-06-25 17:27:31 -0300297$(OUTPUT)util/ctype.o: ../lib/ctype.c FORCE
298 $(call rule_mkdir)
299 $(call if_changed_dep,cc_o_c)
300
Arnaldo Carvalho de Melo552eb9752016-01-08 10:46:52 -0300301$(OUTPUT)util/find_bit.o: ../lib/find_bit.c FORCE
Jiri Olsa19993072014-12-30 18:44:38 +0100302 $(call rule_mkdir)
Jiri Olsa9352aab2014-12-29 17:42:46 +0100303 $(call if_changed_dep,cc_o_c)
304
Arnaldo Carvalho de Melo3f735372015-07-05 22:48:21 -0300305$(OUTPUT)util/rbtree.o: ../lib/rbtree.c FORCE
Jiri Olsa19993072014-12-30 18:44:38 +0100306 $(call rule_mkdir)
Jiri Olsa9352aab2014-12-29 17:42:46 +0100307 $(call if_changed_dep,cc_o_c)
308
Arnaldo Carvalho de Melo4ddd3272015-11-16 11:36:29 -0300309$(OUTPUT)util/libstring.o: ../lib/string.c FORCE
310 $(call rule_mkdir)
311 $(call if_changed_dep,cc_o_c)
312
Arnaldo Carvalho de Melo0aefc352015-07-09 16:27:25 -0300313$(OUTPUT)util/hweight.o: ../lib/hweight.c FORCE
Jiri Olsa19993072014-12-30 18:44:38 +0100314 $(call rule_mkdir)
Jiri Olsa9352aab2014-12-29 17:42:46 +0100315 $(call if_changed_dep,cc_o_c)
Arnaldo Carvalho de Melod0761e32016-07-07 15:42:33 -0300316
317$(OUTPUT)util/vsprintf.o: ../lib/vsprintf.c FORCE
318 $(call rule_mkdir)
319 $(call if_changed_dep,cc_o_c)
Ian Rogers92ec3cc2021-10-15 10:21:12 -0700320
321$(OUTPUT)util/list_sort.o: ../lib/list_sort.c FORCE
322 $(call rule_mkdir)
323 $(call if_changed_dep,cc_o_c)