Makefile.targets 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # $Id$
  3. #
  4. #
  5. # Makefile targets that should be treated specially,
  6. # e.g.: non obj/executable affecting targets => don't build dependencies for
  7. # them or don't try any action that would be useful only for generating
  8. # actual code
  9. #
  10. # History:
  11. # --------
  12. # 2008-06-26 initial version (andrei)
  13. #
  14. ifeq (,$(strip $(modules_dirs)))
  15. include $(COREPATH)/Makefile.dirs
  16. endif
  17. clean_targets:= clean proper distclean realclean maintainer-clean local-clean \
  18. clean-all proper-all distclean-all realclean-all \
  19. clean_cfg clean-cfg clean_modules_cfg clean-modules-cfg \
  20. clean-modules proper-modules realclean-modules \
  21. distclean-modules maintainer-clean-modules \
  22. clean-utils proper-utils realclean-utils distclean-utils \
  23. maintaner-clean-utils \
  24. clean-libs proper-libs realclean-libs distclean-libs \
  25. maintainer-clean-libs \
  26. clean-tmp clean_doxygen clean-extra-names
  27. doc_targets:= README man install-doc install-man install-ser-man \
  28. install-every-module-doc install-every-module-man \
  29. $(foreach m,$(modules_dirs),$(m)-doc $(m)-readme $(m)-man) \
  30. $(foreach m,$(modules_dirs),install-$(m)-doc install-$(m)-man)
  31. # auxiliary: maintance, debugging, etc. (don't affect code/objects)
  32. aux_targets:= TAGS tar dist cfg-defs cfg config config.mak print-modules \
  33. dbg dbinstall librpath.lst makecfg.lst modules.lst modules-cfg \
  34. modules-list modules-lst mk-install_dirs autover.h deb
  35. # other targets that don't produce code in the current directory ("external")
  36. ext_targets:= every-module modules-all $(modules_dirs) libs utils \
  37. install-cfg install-utils install-modules-all install-every-module\
  38. $(foreach m,$(modules_dirs),install-$(m)) \
  39. install-share
  40. # all the targets that don't require code dependecies in the current dir.
  41. nodep_targets:= $(clean_targets) $(doc_targets) $(aux_targets) $(ext_targets)