Makefile 668 B

1234567891011121314151617181920
  1. include Makefile.rules
  2. TP_SUBDIRS := pjproject jansson
  3. # Sub directories that contain special install/uninstall targets must be explicitly listed
  4. # to prevent accidentally running the package's default install target.
  5. TP_INSTALL_SUBDIRS := pjproject jansson
  6. .PHONY: all dist-clean distclean install clean moduleinfo makeopts uninstall $(TP_SUBDIRS)
  7. override MAKECMDGOALS?=all
  8. MAKECMDGOALS:=$(subst dist-clean,distclean,$(MAKECMDGOALS))
  9. MAKECMDGOALS:=$(subst tpclean,clean,$(MAKECMDGOALS))
  10. all distclean dist-clean install uninstall tpclean : $(TP_SUBDIRS)
  11. install uninstall: $(TP_INSTALL_SUBDIRS)
  12. $(TP_SUBDIRS):
  13. +$(CMD_PREFIX) $(SUBMAKE) -C $@ $(MAKECMDGOALS)