2016-01-18 20:54:28 -07:00
|
|
|
|
|
|
|
|
include Makefile.rules
|
|
|
|
|
|
2018-07-16 16:08:20 -04:00
|
|
|
TP_SUBDIRS := pjproject jansson
|
2016-01-18 20:54:28 -07:00
|
|
|
# Sub directories that contain special install/uninstall targets must be explicitly listed
|
|
|
|
|
# to prevent accidentally running the package's default install target.
|
2018-07-16 16:08:20 -04:00
|
|
|
TP_INSTALL_SUBDIRS := pjproject jansson
|
2016-01-18 20:54:28 -07:00
|
|
|
|
2017-03-24 08:43:05 -04:00
|
|
|
.PHONY: all dist-clean distclean install clean moduleinfo makeopts uninstall $(TP_SUBDIRS)
|
2016-01-18 20:54:28 -07:00
|
|
|
|
|
|
|
|
override MAKECMDGOALS?=all
|
|
|
|
|
|
|
|
|
|
MAKECMDGOALS:=$(subst dist-clean,distclean,$(MAKECMDGOALS))
|
|
|
|
|
MAKECMDGOALS:=$(subst tpclean,clean,$(MAKECMDGOALS))
|
|
|
|
|
|
2016-12-06 11:06:45 -07:00
|
|
|
all distclean dist-clean install uninstall tpclean : $(TP_SUBDIRS)
|
2016-01-18 20:54:28 -07:00
|
|
|
install uninstall: $(TP_INSTALL_SUBDIRS)
|
|
|
|
|
|
|
|
|
|
$(TP_SUBDIRS):
|
|
|
|
|
+$(CMD_PREFIX) $(SUBMAKE) -C $@ $(MAKECMDGOALS)
|