BuildSystem: Remove unused variables.
[asterisk/asterisk.git] / third-party / Makefile
1
2 include Makefile.rules
3
4 TP_SUBDIRS := pjproject
5 # Sub directories that contain special install/uninstall targets must be explicitly listed
6 # to prevent accidentally running the package's default install target.
7 TP_INSTALL_SUBDIRS := pjproject
8
9 .PHONY: all dist-clean distclean install clean moduleinfo makeopts uninstall $(TP_SUBDIRS)
10
11 override MAKECMDGOALS?=all
12
13 MAKECMDGOALS:=$(subst dist-clean,distclean,$(MAKECMDGOALS))
14 MAKECMDGOALS:=$(subst tpclean,clean,$(MAKECMDGOALS))
15
16 all distclean dist-clean install uninstall tpclean : $(TP_SUBDIRS)
17 install uninstall: $(TP_INSTALL_SUBDIRS)
18
19 $(TP_SUBDIRS):
20         +$(CMD_PREFIX) $(SUBMAKE) -C $@ $(MAKECMDGOALS)