Rules 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. # Copyright (C) 1991-2026 Free Software Foundation, Inc.
  2. # This file is part of the GNU C Library.
  3. # The GNU C Library is free software; you can redistribute it and/or
  4. # modify it under the terms of the GNU Lesser General Public
  5. # License as published by the Free Software Foundation; either
  6. # version 2.1 of the License, or (at your option) any later version.
  7. # The GNU C Library is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. # Lesser General Public License for more details.
  11. # You should have received a copy of the GNU Lesser General Public
  12. # License along with the GNU C Library; if not, see
  13. # <https://www.gnu.org/licenses/>.
  14. #
  15. # Rules for making a subdirectory in the GNU C library.
  16. # Each subdirectory Makefile defines some variables and includes this.
  17. #
  18. ifneq (,)
  19. This makefile requires GNU Make.
  20. endif
  21. all: # Don't let the default goal come from Makeconfig.
  22. include $(firstword $(..) ../)Makeconfig
  23. ifndef subdir
  24. Each subdirectory makefile must define the `subdir' variable.
  25. endif
  26. # This ` unconfuses emacs.
  27. # This is benign and useless in GNU make before 3.63.
  28. export subdir := $(subdir)
  29. # This is the default target; it makes the library and auxiliary programs.
  30. .PHONY: all
  31. all: objs lib others
  32. ifeq ($(build-programs),yes)
  33. others: $(addprefix $(objpfx),$(extra-objs) \
  34. $(install-lib) \
  35. $(install-bin) $(install-bin-script) \
  36. $(install-rootsbin) $(install-sbin))
  37. else
  38. others: $(addprefix $(objpfx),$(extra-objs) \
  39. $(install-lib))
  40. endif
  41. ifneq "$(findstring env,$(origin headers))" ""
  42. headers :=
  43. endif
  44. ifneq "$(findstring env,$(origin generated))" ""
  45. generated :=
  46. endif
  47. ifneq "$(findstring env,$(origin common-generated))" ""
  48. common-generated :=
  49. endif
  50. include $(..)Makerules
  51. .PHONY: subdir_lib
  52. subdir_lib: lib-noranlib
  53. # Some subdirs need to install a dummy library.
  54. # They can use "$(objpfx)libfnord.a: $(dep-dummy-lib); $(make-dummy-lib)".
  55. dep-dummy-lib = $(common-objpfx)dummy.o
  56. define make-dummy-lib
  57. $(AR) cr$(verbose) $@ $<
  58. endef
  59. $(common-objpfx)dummy.c:
  60. rm -f $@
  61. (echo 'extern void __dummy__ (void);'; \
  62. echo 'void __dummy__ (void) { }') > $@
  63. common-generated += dummy.o dummy.c
  64. ifneq "$(headers)" ""
  65. # Test that all of the headers installed by this directory can be compiled
  66. # in isolation.
  67. tests-special += $(objpfx)check-installed-headers-c.out
  68. libof-check-installed-headers-c := testsuite
  69. $(objpfx)check-installed-headers-c.out: \
  70. $(..)scripts/check-installed-headers.sh $(headers)
  71. $(SHELL) $(..)scripts/check-installed-headers.sh c $(supported-fortify) \
  72. "$(CC) $(test-config-cflags-finput-charset-ascii) \
  73. $(filter-out -std=%,$(CFLAGS)) -D_ISOMAC $(+includes)" \
  74. $(headers) > $@; \
  75. $(evaluate-test)
  76. ifneq "$(CXX)" ""
  77. # If a C++ compiler is available, also test that they can be compiled
  78. # in isolation as C++.
  79. tests-special += $(objpfx)check-installed-headers-cxx.out
  80. libof-check-installed-headers-cxx := testsuite
  81. $(objpfx)check-installed-headers-cxx.out: \
  82. $(..)scripts/check-installed-headers.sh $(headers)
  83. $(SHELL) $(..)scripts/check-installed-headers.sh c++ $(supported-fortify) \
  84. "$(CXX) $(test-config-cxxflags-finput-charset-ascii) \
  85. $(filter-out -std=%,$(CXXFLAGS)) -D_ISOMAC $(+includes)" \
  86. $(headers) > $@; \
  87. $(evaluate-test)
  88. endif # $(CXX)
  89. # Test that a wrapper header exists in include/ for each non-sysdeps header.
  90. # This script does not need $(py-env).
  91. tests-special += $(objpfx)check-wrapper-headers.out
  92. $(objpfx)check-wrapper-headers.out: \
  93. $(..)scripts/check-wrapper-headers.py $(headers)
  94. $(PYTHON) $< --root=$(..) --subdir=$(subdir) $(headers) > $@; \
  95. $(evaluate-test)
  96. # Test that none of the headers installed by this directory use certain
  97. # obsolete constructs (e.g. legacy BSD typedefs superseded by stdint.h).
  98. # This script does not need $(py-env).
  99. tests-special += $(objpfx)check-obsolete-constructs.out
  100. libof-check-obsolete-constructs := testsuite
  101. $(objpfx)check-obsolete-constructs.out: \
  102. $(..)scripts/check-obsolete-constructs.py $(headers)
  103. $(PYTHON) $^ > $@ 2>&1; \
  104. $(evaluate-test)
  105. endif # $(headers)
  106. # This makes all the auxiliary and test programs.
  107. .PHONY: others tests bench bench-build
  108. # Test programs for the pretty printers.
  109. tests-printers-programs := $(addprefix $(objpfx),$(tests-printers))
  110. # .out files with the output of running the pretty printer tests.
  111. tests-printers-out := $(patsubst %,$(objpfx)%.out,$(tests-printers))
  112. ifeq ($(build-programs),yes)
  113. others: $(addprefix $(objpfx),$(others) $(sysdep-others) $(extra-objs))
  114. else
  115. others: $(addprefix $(objpfx),$(extra-objs))
  116. endif
  117. # Generate constant files for Python pretty printers if required.
  118. others: $(py-const)
  119. ifeq ($(run-built-tests),no)
  120. # The $(xtests) dependency ensures that xtests are always built.
  121. tests: $(addprefix $(objpfx),$(filter-out $(tests-unsupported), \
  122. $(tests) $(tests-internal) $(xtests) \
  123. $(tests-container) \
  124. $(tests-mcheck:%=%-mcheck) \
  125. $(tests-malloc-check:%=%-malloc-check) \
  126. $(tests-malloc-hugetlb1:%=%-malloc-hugetlb1) \
  127. $(tests-malloc-hugetlb2:%=%-malloc-hugetlb2) \
  128. $(tests-malloc-largetcache:%=%-malloc-largetcache)) \
  129. $(test-srcs)) $(tests-special) \
  130. $(tests-printers-programs)
  131. xtests: tests $(xtests-special)
  132. else # $(run-built-tests) != no
  133. # The $(xtests) dependency ensures that xtests are always built.
  134. tests: $(tests:%=$(objpfx)%.out) $(tests-internal:%=$(objpfx)%.out) \
  135. $(addprefix $(objpfx),$(filter-out $(tests-unsupported), $(xtests))) \
  136. $(tests-container:%=$(objpfx)%.out) \
  137. $(tests-mcheck:%=$(objpfx)%-mcheck.out) \
  138. $(tests-malloc-check:%=$(objpfx)%-malloc-check.out) \
  139. $(tests-malloc-hugetlb1:%=$(objpfx)%-malloc-hugetlb1.out) \
  140. $(tests-malloc-hugetlb2:%=$(objpfx)%-malloc-hugetlb2.out) \
  141. $(tests-malloc-largetcache:%=$(objpfx)%-malloc-largetcache.out) \
  142. $(tests-special) $(tests-printers-out)
  143. xtests: tests $(xtests:%=$(objpfx)%.out) $(xtests-special)
  144. endif # $(run-built-tests) != no
  145. tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))
  146. xtests-special-notdir = $(patsubst $(objpfx)%, %, $(xtests-special))
  147. ifeq ($(run-built-tests),no)
  148. tests-expected =
  149. xtests-expected =
  150. else # $(run-built-tests) != no
  151. tests-expected = $(tests) $(tests-internal) $(tests-printers) \
  152. $(tests-container) $(tests-malloc-check:%=%-malloc-check) \
  153. $(tests-malloc-hugetlb1:%=%-malloc-hugetlb1) \
  154. $(tests-malloc-hugetlb2:%=%-malloc-hugetlb2) \
  155. $(tests-malloc-largetcache:%=%-malloc-largetcache) \
  156. $(tests-mcheck:%=%-mcheck)
  157. xtests-expected = $(xtests)
  158. endif # $(run-built-tests) != no
  159. tests:
  160. $(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \
  161. $(sort $(tests-expected) $(tests-special-notdir:.out=)) \
  162. > $(objpfx)subdir-tests.sum
  163. xtests:
  164. $(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \
  165. $(sort $(xtests-expected) $(xtests-special-notdir:.out=)) \
  166. > $(objpfx)subdir-xtests.sum
  167. ifeq ($(build-programs),yes)
  168. ifeq (yes,$(have-libgcc_s))
  169. # NB: Build programs in $(others-noinstall) like tests only if libgcc_s is
  170. # available. Otherwise, "build-many-glibcs.py compilers" will fail to
  171. # build the initial glibc with the initial limited gcc due to the missing
  172. # libgcc_s.
  173. all-notests = $(others-noinstall)
  174. endif
  175. binaries-all-notests = $(filter-out $(all-notests), \
  176. $(others) $(sysdep-others))
  177. binaries-all-tests = $(tests) $(tests-internal) $(xtests) $(test-srcs) \
  178. $(tests-container) $(all-notests)
  179. binaries-all = $(binaries-all-notests) $(binaries-all-tests)
  180. binaries-static-notests = $(others-static)
  181. binaries-static-tests = $(tests-static) $(xtests-static)
  182. binaries-static = $(binaries-static-notests) $(binaries-static-tests)
  183. binaries-shared-2.0-tests = $(tests-2.0)
  184. ifeq (yesyes,$(have-fpie)$(build-shared))
  185. binaries-pie-tests = $(tests-pie) $(xtests-pie)
  186. binaries-pie-notests = $(others-pie)
  187. else
  188. binaries-pie-tests =
  189. binaries-pie-notests =
  190. endif
  191. binaries-mcheck-tests = $(tests-mcheck:%=%-mcheck)
  192. binaries-malloc-check-tests = $(tests-malloc-check:%=%-malloc-check)
  193. binaries-malloc-hugetlb1-tests = $(tests-malloc-hugetlb1:%=%-malloc-hugetlb1)
  194. binaries-malloc-hugetlb2-tests = $(tests-malloc-hugetlb2:%=%-malloc-hugetlb2)
  195. binaries-malloc-largetcache-tests = $(tests-malloc-largetcache:%=%-malloc-largetcache)
  196. else
  197. binaries-all-notests =
  198. binaries-all-tests = $(tests) $(tests-internal) $(xtests) $(test-srcs)
  199. binaries-all = $(binaries-all-tests)
  200. binaries-static-notests =
  201. binaries-static-tests =
  202. binaries-static =
  203. binaries-pie-tests =
  204. binaries-pie-notests =
  205. binaries-mcheck-tests =
  206. binaries-malloc-check-tests =
  207. binaries-malloc-hugetlb1-tests =
  208. binaries-malloc-hugetlb2-tests =
  209. binaries-malloc-largetcache-tests =
  210. endif
  211. binaries-pie = $(binaries-pie-tests) $(binaries-pie-notests)
  212. binaries-shared-tests = $(filter-out $(binaries-pie) $(binaries-static) \
  213. $(binaries-shared-2.0-tests), \
  214. $(binaries-all-tests))
  215. binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \
  216. $(binaries-all-notests))
  217. ifneq "$(strip $(binaries-shared-notests))" ""
  218. $(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o \
  219. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  220. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  221. $(+link)
  222. endif
  223. ifneq "$(strip $(binaries-shared-tests))" ""
  224. $(addprefix $(objpfx),$(sort $(binaries-shared-tests))): %: %.o \
  225. $(link-extra-libs-tests) \
  226. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  227. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  228. $(+link-tests)
  229. endif
  230. # Linking test programs with crt1.o from glibc 2.0.
  231. ifneq "$(strip $(binaries-shared-2.0-tests))" ""
  232. $(addprefix $(objpfx),$(binaries-shared-2.0-tests)): %: %.o \
  233. $(link-extra-libs-tests) \
  234. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  235. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  236. $(+link-2.0-tests)
  237. endif
  238. ifneq "$(strip $(binaries-mcheck-tests))" ""
  239. $(addprefix $(objpfx),$(binaries-mcheck-tests)): %-mcheck: %.o \
  240. $(link-extra-libs-tests) \
  241. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  242. $(common-objpfx)malloc/libmcheck.a \
  243. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  244. $(+link-tests)
  245. endif
  246. ifneq "$(strip $(binaries-malloc-check-tests))" ""
  247. $(addprefix $(objpfx),$(binaries-malloc-check-tests)): %-malloc-check: %.o \
  248. $(link-extra-libs-tests) \
  249. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  250. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  251. $(+link-tests)
  252. endif
  253. ifneq "$(strip $(binaries-malloc-hugetlb1-tests))" ""
  254. $(addprefix $(objpfx),$(binaries-malloc-hugetlb1-tests)): %-malloc-hugetlb1: %.o \
  255. $(link-extra-libs-tests) \
  256. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  257. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  258. $(+link-tests)
  259. endif
  260. ifneq "$(strip $(binaries-malloc-hugetlb2-tests))" ""
  261. $(addprefix $(objpfx),$(binaries-malloc-hugetlb2-tests)): %-malloc-hugetlb2: %.o \
  262. $(link-extra-libs-tests) \
  263. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  264. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  265. $(+link-tests)
  266. endif
  267. ifneq "$(strip $(binaries-malloc-largetcache-tests))" ""
  268. $(addprefix $(objpfx),$(binaries-malloc-largetcache-tests)): %-malloc-largetcache: %.o \
  269. $(link-extra-libs-tests) \
  270. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  271. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  272. $(+link-tests)
  273. endif
  274. ifneq "$(strip $(binaries-pie-tests))" ""
  275. $(addprefix $(objpfx),$(binaries-pie-tests)): %: %.o \
  276. $(link-extra-libs-tests) \
  277. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  278. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  279. $(+link-pie-tests)
  280. endif
  281. ifneq "$(strip $(binaries-pie-notests))" ""
  282. $(addprefix $(objpfx),$(binaries-pie-notests)): %: %.o \
  283. $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
  284. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  285. $(+link-pie)
  286. endif
  287. ifneq "$(strip $(binaries-static-notests))" ""
  288. $(addprefix $(objpfx),$(binaries-static-notests)): %: %.o \
  289. $(sort $(filter $(common-objpfx)lib%,$(link-libc-static))) \
  290. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  291. $(+link-static)
  292. endif
  293. ifneq "$(strip $(binaries-static-tests))" ""
  294. $(addprefix $(objpfx),$(binaries-static-tests)): %: %.o \
  295. $(link-extra-libs-tests) \
  296. $(sort $(filter $(common-objpfx)lib%,$(link-libc-static-tests))) \
  297. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  298. $(+link-static-tests)
  299. endif
  300. # All malloc-check tests will be run with MALLOC_CHECK_=3
  301. define malloc-check-ENVS
  302. $(1)-malloc-check-ENV = MALLOC_CHECK_=3 \
  303. LD_PRELOAD=$(common-objpfx)/malloc/libc_malloc_debug.so
  304. endef
  305. $(foreach t,$(tests-malloc-check),$(eval $(call malloc-check-ENVS,$(t))))
  306. # All malloc-hugetlb1 tests will be run with GLIBC_TUNABLES=glibc.malloc.hugetlb=1
  307. define malloc-hugetlb1-ENVS
  308. $(1)-malloc-hugetlb1-ENV += GLIBC_TUNABLES=glibc.malloc.hugetlb=1
  309. endef
  310. $(foreach t,$(tests-malloc-hugetlb1),$(eval $(call malloc-hugetlb1-ENVS,$(t))))
  311. # All malloc-hugetlb2 tests will be run with GLIBC_TUNABLE=glibc.malloc.hugetlb=2
  312. define malloc-hugetlb2-ENVS
  313. $(1)-malloc-hugetlb2-ENV += GLIBC_TUNABLES=glibc.malloc.hugetlb=2
  314. endef
  315. $(foreach t,$(tests-malloc-hugetlb2),$(eval $(call malloc-hugetlb2-ENVS,$(t))))
  316. # All malloc-largetcache tests will be run with GLIBC_TUNABLE=glibc.malloc.tcache_max=1048576
  317. define malloc-largetcache-ENVS
  318. $(1)-malloc-largetcache-ENV += GLIBC_TUNABLES=glibc.malloc.tcache_max=1048576
  319. endef
  320. $(foreach t,$(tests-malloc-largetcache),$(eval $(call malloc-largetcache-ENVS,$(t))))
  321. # mcheck tests need the debug DSO to support -lmcheck.
  322. define mcheck-ENVS
  323. $(1)-mcheck-ENV = LD_PRELOAD=$(common-objpfx)/malloc/libc_malloc_debug.so
  324. endef
  325. $(foreach t,$(tests-mcheck),$(eval $(call mcheck-ENVS,$(t))))
  326. ifneq "$(strip $(tests) $(tests-internal) $(xtests) $(test-srcs))" ""
  327. # These are the implicit rules for making test outputs
  328. # from the test programs and whatever input files are present.
  329. define make-test-out
  330. $(if $($*-ENV-only),$(test-wrapper-env-only) $($*-ENV-only),\
  331. $(test-wrapper-env) $(run-program-env) $($*-ENV)) \
  332. $(host-test-program-cmd) $($*-ARGS)
  333. endef
  334. $(objpfx)%.out: %.input $(objpfx)%
  335. $(make-test-out) > $@ < $(word 1,$^); \
  336. $(evaluate-test)
  337. $(objpfx)%.out: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence.
  338. $(make-test-out) > $@; \
  339. $(evaluate-test)
  340. # Any tests that require an isolated container (filesystem, network
  341. # and pid namespaces) in which to run, should be added to
  342. # tests-container.
  343. $(tests-container:%=$(objpfx)%.out): $(objpfx)%.out : $(if $(wildcard $(objpfx)%.files),$(objpfx)%.files,/dev/null) $(objpfx)%
  344. $(test-wrapper-env) $(run-program-env) $(test-via-rtld-prefix) \
  345. $(common-objpfx)support/test-container env $(run-program-env) $($*-ENV) \
  346. $(host-test-program-cmd) $($*-ARGS) > $@; \
  347. $(evaluate-test)
  348. # tests-unsupported lists tests that we will not try to build at all in
  349. # this configuration. Note this runs every time because it does not
  350. # actually create its target. The dependency on Makefile is meant to
  351. # ensure that it runs after a Makefile change to add a test to the list
  352. # when it previously ran and produced a .out file (probably for a failure).
  353. ifneq "$(strip $(tests-unsupported))" ""
  354. $(tests-unsupported:%=$(objpfx)%.out): $(objpfx)%.out: Makefile
  355. @rm -f $@
  356. $(..)scripts/evaluate-test.sh $(patsubst $(common-objpfx)%.out,%,$@) \
  357. 77 false false > $(@:.out=.test-result)
  358. endif
  359. endif # tests
  360. ifneq "$(strip $(tests-printers))" ""
  361. # Static pattern rule for building the test programs for the pretty printers.
  362. $(tests-printers-programs): %: %.o $(tests-printers-libs) \
  363. $(sort $(filter $(common-objpfx)lib%,$(link-libc-static-tests))) \
  364. $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
  365. $(+link-printers-tests)
  366. # Add the paths to the generated constants file and test_common_printers.py
  367. # to PYTHONPATH so the test scripts can find them.
  368. py-env := PYTHONPATH=$(py-const-dir):$(..)scripts:$${PYTHONPATH}
  369. # Static pattern rule that matches the test-* targets to their .c and .py
  370. # prerequisites. It'll run the corresponding test script for each test program
  371. # we compiled and place its output in the corresponding .out file.
  372. # The pretty printer files and test_common_printers.py must be present for all.
  373. $(tests-printers-out): $(objpfx)%.out: $(objpfx)% %.py %.c $(pretty-printers) \
  374. $(..)scripts/test_printers_common.py
  375. $(test-wrapper-env) $(py-env) \
  376. $(PYTHON) $*.py $*.c $(objpfx)$* $(pretty-printers) > $@; \
  377. $(evaluate-test)
  378. endif
  379. .PHONY: distclean realclean subdir_distclean subdir_realclean \
  380. subdir_clean subdir_mostlyclean subdir_testclean
  381. subdir_mostlyclean: mostlyclean
  382. subdir_clean: clean
  383. subdir_distclean: distclean
  384. subdir_realclean: realclean
  385. subdir_testclean: do-tests-clean
  386. realclean: distclean
  387. distclean: clean
  388. # We want to install everything except the library itself, but update all
  389. # our portions of the library because the parent make will install it later
  390. # (likewise the stubs file).
  391. .PHONY: subdir_install
  392. subdir_install: install-no-libc.a lib-noranlib stubs
  393. .PHONY: subdir_objs subdir_stubs
  394. subdir_objs: objs
  395. subdir_stubs: stubs
  396. # Target required by the Hurd to ensure that all the MiG-generated
  397. # headers are in place before building a subdirectory.
  398. .PHONY: before-compile
  399. before-compile: $(before-compile)
  400. $(common-objpfx)dummy.o: $(common-objpfx)dummy.c $(before-compile);
  401. $(compile-command.c)
  402. # Local Variables:
  403. # mode: makefile
  404. # End: