Makefile 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. ##
  2. ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  3. ##
  4. ## Use of this source code is governed by a BSD-style license
  5. ## that can be found in the LICENSE file in the root of the source
  6. ## tree. An additional intellectual property rights grant can be found
  7. ## in the file PATENTS. All contributing project authors may
  8. ## be found in the AUTHORS file in the root of the source tree.
  9. ##
  10. include config.mk
  11. quiet?=true
  12. ifeq ($(target),)
  13. # If a target wasn't specified, invoke for all enabled targets.
  14. .DEFAULT:
  15. @for t in $(ALL_TARGETS); do \
  16. $(MAKE) --no-print-directory target=$$t $(MAKECMDGOALS) || exit $$?;\
  17. done
  18. all: .DEFAULT
  19. clean:: .DEFAULT
  20. exampletest: .DEFAULT
  21. install:: .DEFAULT
  22. test:: .DEFAULT
  23. test-no-data-check:: .DEFAULT
  24. testdata:: .DEFAULT
  25. utiltest: .DEFAULT
  26. exampletest-no-data-check utiltest-no-data-check: .DEFAULT
  27. test_%: .DEFAULT ;
  28. # Note: md5sum is not installed on OS X, but openssl is. Openssl may not be
  29. # installed on cygwin, so we need to autodetect here.
  30. md5sum := $(firstword $(wildcard \
  31. $(foreach e,md5sum openssl,\
  32. $(foreach p,$(subst :, ,$(PATH)),$(p)/$(e)*))\
  33. ))
  34. md5sum := $(if $(filter %openssl,$(md5sum)),$(md5sum) dgst -md5,$(md5sum))
  35. TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN)))
  36. dist:
  37. @for t in $(ALL_TARGETS); do \
  38. $(MAKE) --no-print-directory target=$$t $(MAKECMDGOALS) || exit $$?;\
  39. done
  40. # Run configure for the user with the current toolchain.
  41. @if [ -d "$(DIST_DIR)/src" ]; then \
  42. mkdir -p "$(DIST_DIR)/build"; \
  43. cd "$(DIST_DIR)/build"; \
  44. echo "Rerunning configure $(CONFIGURE_ARGS)"; \
  45. ../src/configure $(CONFIGURE_ARGS); \
  46. $(if $(filter vs%,$(TGT_CC)),make NO_LAUNCH_DEVENV=1;) \
  47. fi
  48. @if [ -d "$(DIST_DIR)" ]; then \
  49. echo " [MD5SUM] $(DIST_DIR)"; \
  50. cd $(DIST_DIR) && \
  51. $(md5sum) `find . -name md5sums.txt -prune -o -type f -print` \
  52. | sed -e 's/MD5(\(.*\))= \([0-9a-f]\{32\}\)/\2 \1/' \
  53. > md5sums.txt;\
  54. fi
  55. endif
  56. # Since we invoke make recursively for multiple targets we need to include the
  57. # .mk file for the correct target, but only when $(target) is non-empty.
  58. ifneq ($(target),)
  59. include $(target)-$(TOOLCHAIN).mk
  60. endif
  61. BUILD_ROOT?=.
  62. VPATH=$(SRC_PATH_BARE)
  63. CFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH)
  64. CXXFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT) -I$(SRC_PATH)
  65. ASFLAGS+=-I$(BUILD_PFX)$(BUILD_ROOT)/ -I$(SRC_PATH)/
  66. DIST_DIR?=dist
  67. HOSTCC?=gcc
  68. TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN)))
  69. TGT_OS:=$(word 2, $(subst -, ,$(TOOLCHAIN)))
  70. TGT_CC:=$(word 3, $(subst -, ,$(TOOLCHAIN)))
  71. quiet:=$(if $(or $(verbose), $(V)),, yes)
  72. qexec=$(if $(quiet),@)
  73. # Cancel built-in implicit rules
  74. %: %.o
  75. %.asm:
  76. %.a:
  77. %: %.cc
  78. #
  79. # Common rules"
  80. #
  81. .PHONY: all
  82. all:
  83. .PHONY: clean
  84. clean::
  85. rm -f $(OBJS-yes) $(OBJS-yes:.o=.d) $(OBJS-yes:.asm.S.o=.asm.S)
  86. rm -f $(CLEAN-OBJS)
  87. .PHONY: clean
  88. distclean: clean
  89. if [ -z "$(target)" ]; then \
  90. rm -f Makefile; \
  91. rm -f config.log config.mk; \
  92. rm -f vpx_config.[hc] vpx_config.asm; \
  93. rm -f arm_neon.h; \
  94. else \
  95. rm -f $(target)-$(TOOLCHAIN).mk; \
  96. fi
  97. .PHONY: dist
  98. dist:
  99. .PHONY: exampletest
  100. exampletest:
  101. .PHONY: install
  102. install::
  103. .PHONY: test
  104. test::
  105. .PHONY: testdata
  106. testdata::
  107. .PHONY: utiltest
  108. utiltest:
  109. .PHONY: test-no-data-check exampletest-no-data-check utiltest-no-data-check
  110. test-no-data-check::
  111. exampletest-no-data-check utiltest-no-data-check:
  112. # Force to realign stack always on OS/2
  113. ifeq ($(TOOLCHAIN), x86-os2-gcc)
  114. CFLAGS += -mstackrealign
  115. endif
  116. # x86[_64]
  117. $(BUILD_PFX)%_mmx.c.d: CFLAGS += -mmmx
  118. $(BUILD_PFX)%_mmx.c.o: CFLAGS += -mmmx
  119. $(BUILD_PFX)%_sse2.c.d: CFLAGS += -msse2
  120. $(BUILD_PFX)%_sse2.c.o: CFLAGS += -msse2
  121. $(BUILD_PFX)%_sse3.c.d: CFLAGS += -msse3
  122. $(BUILD_PFX)%_sse3.c.o: CFLAGS += -msse3
  123. $(BUILD_PFX)%_ssse3.c.d: CFLAGS += -mssse3
  124. $(BUILD_PFX)%_ssse3.c.o: CFLAGS += -mssse3
  125. $(BUILD_PFX)%_sse4.c.d: CFLAGS += -msse4.1
  126. $(BUILD_PFX)%_sse4.c.o: CFLAGS += -msse4.1
  127. $(BUILD_PFX)%_avx.c.d: CFLAGS += -mavx
  128. $(BUILD_PFX)%_avx.c.o: CFLAGS += -mavx
  129. $(BUILD_PFX)%_avx2.c.d: CFLAGS += -mavx2
  130. $(BUILD_PFX)%_avx2.c.o: CFLAGS += -mavx2
  131. $(BUILD_PFX)%_avx512.c.d: CFLAGS += -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl
  132. $(BUILD_PFX)%_avx512.c.o: CFLAGS += -mavx512f -mavx512cd -mavx512bw -mavx512dq -mavx512vl
  133. # POWER
  134. $(BUILD_PFX)%_vsx.c.d: CFLAGS += -maltivec -mvsx
  135. $(BUILD_PFX)%_vsx.c.o: CFLAGS += -maltivec -mvsx
  136. $(BUILD_PFX)%.c.d: %.c
  137. $(if $(quiet),@echo " [DEP] $@")
  138. $(qexec)mkdir -p $(dir $@)
  139. $(qexec)$(CC) $(INTERNAL_CFLAGS) $(CFLAGS) -M $< | $(fmt_deps) > $@
  140. $(BUILD_PFX)%.c.o: %.c
  141. $(if $(quiet),@echo " [CC] $@")
  142. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  143. $(qexec)$(CC) $(INTERNAL_CFLAGS) $(CFLAGS) -c -o $@ $<
  144. $(BUILD_PFX)%.cc.d: %.cc
  145. $(if $(quiet),@echo " [DEP] $@")
  146. $(qexec)mkdir -p $(dir $@)
  147. $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -M $< | $(fmt_deps) > $@
  148. $(BUILD_PFX)%.cc.o: %.cc
  149. $(if $(quiet),@echo " [CXX] $@")
  150. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  151. $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
  152. $(BUILD_PFX)%.cpp.d: %.cpp
  153. $(if $(quiet),@echo " [DEP] $@")
  154. $(qexec)mkdir -p $(dir $@)
  155. $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -M $< | $(fmt_deps) > $@
  156. $(BUILD_PFX)%.cpp.o: %.cpp
  157. $(if $(quiet),@echo " [CXX] $@")
  158. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  159. $(qexec)$(CXX) $(INTERNAL_CFLAGS) $(CXXFLAGS) -c -o $@ $<
  160. $(BUILD_PFX)%.asm.d: %.asm
  161. $(if $(quiet),@echo " [DEP] $@")
  162. $(qexec)mkdir -p $(dir $@)
  163. $(qexec)$(SRC_PATH_BARE)/build/make/gen_asm_deps.sh \
  164. --build-pfx=$(BUILD_PFX) --depfile=$@ $(ASFLAGS) $< > $@
  165. $(BUILD_PFX)%.asm.o: %.asm
  166. $(if $(quiet),@echo " [AS] $@")
  167. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  168. $(qexec)$(AS) $(ASFLAGS) -o $@ $<
  169. $(BUILD_PFX)%.S.d: %.S
  170. $(if $(quiet),@echo " [DEP] $@")
  171. $(qexec)mkdir -p $(dir $@)
  172. $(qexec)$(SRC_PATH_BARE)/build/make/gen_asm_deps.sh \
  173. --build-pfx=$(BUILD_PFX) --depfile=$@ $(ASFLAGS) $< > $@
  174. $(BUILD_PFX)%.S.o: %.S
  175. $(if $(quiet),@echo " [AS] $@")
  176. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  177. $(qexec)$(AS) $(ASFLAGS) -o $@ $<
  178. .PRECIOUS: %.c.S
  179. %.c.S: CFLAGS += -DINLINE_ASM
  180. $(BUILD_PFX)%.c.S: %.c
  181. $(if $(quiet),@echo " [GEN] $@")
  182. $(qexec)$(if $(CONFIG_DEPENDENCY_TRACKING),,mkdir -p $(dir $@))
  183. $(qexec)$(CC) -S $(CFLAGS) -o $@ $<
  184. .PRECIOUS: %.asm.S
  185. $(BUILD_PFX)%.asm.S: %.asm
  186. $(if $(quiet),@echo " [ASM CONVERSION] $@")
  187. $(qexec)mkdir -p $(dir $@)
  188. $(qexec)$(ASM_CONVERSION) <$< >$@
  189. # If we're in debug mode, pretend we don't have GNU strip, to fall back to
  190. # the copy implementation
  191. HAVE_GNU_STRIP := $(if $(CONFIG_DEBUG),,$(HAVE_GNU_STRIP))
  192. ifeq ($(HAVE_GNU_STRIP),yes)
  193. # Older binutils strip global symbols not needed for relocation processing
  194. # when given --strip-unneeded. Using nm and awk to identify globals and
  195. # keep them caused command line length issues under mingw and segfaults in
  196. # test_libvpx were observed under OS/2: simply use --strip-debug.
  197. %.a: %_g.a
  198. $(if $(quiet),@echo " [STRIP] $@ < $<")
  199. $(qexec)$(STRIP) --strip-debug \
  200. -o $@ $<
  201. else
  202. %.a: %_g.a
  203. $(if $(quiet),@echo " [CP] $@ < $<")
  204. $(qexec)cp $< $@
  205. endif
  206. #
  207. # Utility functions
  208. #
  209. pairmap=$(if $(strip $(2)),\
  210. $(call $(1),$(word 1,$(2)),$(word 2,$(2)))\
  211. $(call pairmap,$(1),$(wordlist 3,$(words $(2)),$(2)))\
  212. )
  213. enabled=$(filter-out $($(1)-no),$($(1)-yes))
  214. cond_enabled=$(if $(filter yes,$($(1))), $(call enabled,$(2)))
  215. find_file1=$(word 1,$(wildcard $(subst //,/,$(addsuffix /$(1),$(2)))))
  216. find_file=$(foreach f,$(1),$(call find_file1,$(strip $(f)),$(strip $(2))) )
  217. obj_pats=.c=.c.o $(AS_SFX)=$(AS_SFX).o .cc=.cc.o .cpp=.cpp.o
  218. objs=$(addprefix $(BUILD_PFX),$(foreach p,$(obj_pats),$(filter %.o,$(1:$(p))) ))
  219. install_map_templates=$(eval $(call install_map_template,$(1),$(2)))
  220. not=$(subst yes,no,$(1))
  221. ifeq ($(CONFIG_MSVS),yes)
  222. lib_file_name=$(1).lib
  223. else
  224. lib_file_name=lib$(1).a
  225. endif
  226. #
  227. # Rule Templates
  228. #
  229. define linker_template
  230. $(1): $(filter-out -%,$(2))
  231. $(1):
  232. $(if $(quiet),@echo " [LD] $$@")
  233. $(qexec)$$(LD) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
  234. endef
  235. define linkerxx_template
  236. $(1): $(filter-out -%,$(2))
  237. $(1):
  238. $(if $(quiet),@echo " [LD] $$@")
  239. $(qexec)$$(CXX) $$(strip $$(INTERNAL_LDFLAGS) $$(LDFLAGS) -o $$@ $(2) $(3) $$(extralibs))
  240. endef
  241. # make-3.80 has a bug with expanding large input strings to the eval function,
  242. # which was triggered in some cases by the following component of
  243. # linker_template:
  244. # $(1): $$(call find_file, $(patsubst -l%,lib%.a,$(filter -l%,$(2))),\
  245. # $$(patsubst -L%,%,$$(filter -L%,$$(LDFLAGS) $(2))))
  246. # This may be useful to revisit in the future (it tries to locate libraries
  247. # in a search path and add them as prerequisites
  248. define install_map_template
  249. $(DIST_DIR)/$(1): $(2)
  250. $(if $(quiet),@echo " [INSTALL] $$@")
  251. $(qexec)mkdir -p $$(dir $$@)
  252. $(qexec)cp -p $$< $$@
  253. endef
  254. define archive_template
  255. # Not using a pattern rule here because we don't want to generate empty
  256. # archives when they are listed as a dependency in files not responsible
  257. # for creating them.
  258. $(1):
  259. $(if $(quiet),@echo " [AR] $$@")
  260. $(qexec)$$(AR) $$(ARFLAGS) $$@ $$^
  261. endef
  262. define so_template
  263. # Not using a pattern rule here because we don't want to generate empty
  264. # archives when they are listed as a dependency in files not responsible
  265. # for creating them.
  266. #
  267. # This needs further abstraction for dealing with non-GNU linkers.
  268. $(1):
  269. $(if $(quiet),@echo " [LD] $$@")
  270. $(qexec)$$(LD) -shared $$(LDFLAGS) \
  271. -Wl,--no-undefined -Wl,-soname,$$(SONAME) \
  272. -Wl,--version-script,$$(EXPORTS_FILE) -o $$@ \
  273. $$(filter %.o,$$^) $$(extralibs)
  274. endef
  275. define dl_template
  276. # Not using a pattern rule here because we don't want to generate empty
  277. # archives when they are listed as a dependency in files not responsible
  278. # for creating them.
  279. $(1):
  280. $(if $(quiet),@echo " [LD] $$@")
  281. $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) \
  282. -exported_symbols_list $$(EXPORTS_FILE) \
  283. -Wl,-headerpad_max_install_names,-compatibility_version,1.0,-current_version,$$(VERSION_MAJOR) \
  284. -o $$@ \
  285. $$(filter %.o,$$^) $$(extralibs)
  286. endef
  287. define dll_template
  288. # Not using a pattern rule here because we don't want to generate empty
  289. # archives when they are listed as a dependency in files not responsible
  290. # for creating them.
  291. $(1):
  292. $(if $(quiet),@echo " [LD] $$@")
  293. $(qexec)$$(LD) -Zdll $$(LDFLAGS) \
  294. -o $$@ \
  295. $$(filter %.o,$$^) $$(extralibs) $$(EXPORTS_FILE)
  296. endef
  297. #
  298. # Get current configuration
  299. #
  300. ifneq ($(target),)
  301. include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
  302. endif
  303. skip_deps := $(filter %clean,$(MAKECMDGOALS))
  304. skip_deps += $(findstring testdata,$(MAKECMDGOALS))
  305. ifeq ($(strip $(skip_deps)),)
  306. ifeq ($(CONFIG_DEPENDENCY_TRACKING),yes)
  307. # Older versions of make don't like -include directives with no arguments
  308. ifneq ($(filter %.d,$(OBJS-yes:.o=.d)),)
  309. -include $(filter %.d,$(OBJS-yes:.o=.d))
  310. endif
  311. endif
  312. endif
  313. #
  314. # Configuration dependent rules
  315. #
  316. $(call pairmap,install_map_templates,$(INSTALL_MAPS))
  317. DOCS=$(call cond_enabled,CONFIG_INSTALL_DOCS,DOCS)
  318. .docs: $(DOCS)
  319. @touch $@
  320. INSTALL-DOCS=$(call cond_enabled,CONFIG_INSTALL_DOCS,INSTALL-DOCS)
  321. ifeq ($(MAKECMDGOALS),dist)
  322. INSTALL-DOCS+=$(call cond_enabled,CONFIG_INSTALL_DOCS,DIST-DOCS)
  323. endif
  324. .install-docs: .docs $(addprefix $(DIST_DIR)/,$(INSTALL-DOCS))
  325. @touch $@
  326. clean::
  327. rm -f .docs .install-docs $(DOCS)
  328. BINS=$(call enabled,BINS)
  329. .bins: $(BINS)
  330. @touch $@
  331. INSTALL-BINS=$(call cond_enabled,CONFIG_INSTALL_BINS,INSTALL-BINS)
  332. ifeq ($(MAKECMDGOALS),dist)
  333. INSTALL-BINS+=$(call cond_enabled,CONFIG_INSTALL_BINS,DIST-BINS)
  334. endif
  335. .install-bins: .bins $(addprefix $(DIST_DIR)/,$(INSTALL-BINS))
  336. @touch $@
  337. clean::
  338. rm -f .bins .install-bins $(BINS)
  339. LIBS=$(call enabled,LIBS)
  340. .libs: $(LIBS)
  341. @touch $@
  342. $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
  343. $(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
  344. $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_template,$(lib))))
  345. $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dll,$(LIBS)),$(eval $(call dll_template,$(lib))))
  346. INSTALL-LIBS=$(call cond_enabled,CONFIG_INSTALL_LIBS,INSTALL-LIBS)
  347. ifeq ($(MAKECMDGOALS),dist)
  348. INSTALL-LIBS+=$(call cond_enabled,CONFIG_INSTALL_LIBS,DIST-LIBS)
  349. endif
  350. .install-libs: .libs $(addprefix $(DIST_DIR)/,$(INSTALL-LIBS))
  351. @touch $@
  352. clean::
  353. rm -f .libs .install-libs $(LIBS)
  354. ifeq ($(CONFIG_EXTERNAL_BUILD),yes)
  355. PROJECTS=$(call enabled,PROJECTS)
  356. .projects: $(PROJECTS)
  357. @touch $@
  358. INSTALL-PROJECTS=$(call cond_enabled,CONFIG_INSTALL_PROJECTS,INSTALL-PROJECTS)
  359. ifeq ($(MAKECMDGOALS),dist)
  360. INSTALL-PROJECTS+=$(call cond_enabled,CONFIG_INSTALL_PROJECTS,DIST-PROJECTS)
  361. endif
  362. .install-projects: .projects $(addprefix $(DIST_DIR)/,$(INSTALL-PROJECTS))
  363. @touch $@
  364. clean::
  365. rm -f .projects .install-projects $(PROJECTS)
  366. endif
  367. # If there are any source files to be distributed, then include the build
  368. # system too.
  369. ifneq ($(call enabled,DIST-SRCS),)
  370. DIST-SRCS-yes += configure
  371. DIST-SRCS-yes += build/make/configure.sh
  372. DIST-SRCS-yes += build/make/gen_asm_deps.sh
  373. DIST-SRCS-yes += build/make/Makefile
  374. DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_def.sh
  375. DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_sln.sh
  376. DIST-SRCS-$(CONFIG_MSVS) += build/make/gen_msvs_vcxproj.sh
  377. DIST-SRCS-$(CONFIG_MSVS) += build/make/msvs_common.sh
  378. DIST-SRCS-$(CONFIG_RVCT) += build/make/armlink_adapter.sh
  379. DIST-SRCS-$(ARCH_ARM) += build/make/ads2gas.pl
  380. DIST-SRCS-$(ARCH_ARM) += build/make/ads2gas_apple.pl
  381. DIST-SRCS-$(ARCH_ARM) += build/make/ads2armasm_ms.pl
  382. DIST-SRCS-$(ARCH_ARM) += build/make/thumb.pm
  383. DIST-SRCS-yes += $(target:-$(TOOLCHAIN)=).mk
  384. endif
  385. INSTALL-SRCS := $(call cond_enabled,CONFIG_INSTALL_SRCS,INSTALL-SRCS)
  386. ifeq ($(MAKECMDGOALS),dist)
  387. INSTALL-SRCS += $(call cond_enabled,CONFIG_INSTALL_SRCS,DIST-SRCS)
  388. endif
  389. .install-srcs: $(addprefix $(DIST_DIR)/src/,$(INSTALL-SRCS))
  390. @touch $@
  391. clean::
  392. rm -f .install-srcs
  393. ifeq ($(CONFIG_EXTERNAL_BUILD),yes)
  394. BUILD_TARGETS += .projects
  395. INSTALL_TARGETS += .install-projects
  396. endif
  397. BUILD_TARGETS += .docs .libs .bins
  398. INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
  399. all: $(BUILD_TARGETS)
  400. install:: $(INSTALL_TARGETS)
  401. dist: $(INSTALL_TARGETS)
  402. test::
  403. .SUFFIXES: # Delete default suffix rules