From ac4c2701e9b59b551620dbea5f9bdc72fc46e2ab Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 27 Sep 2009 14:59:40 +0000 Subject: New configure var "_port_mk", set to "ports.mk" per default. Ports can overwrite this, and this change finally allows make targets in that file to access all the common mk variables (e.g. EXECUTABLE). svn-id: r44401 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 59624891e6..7b974d08ba 100644 --- a/Makefile +++ b/Makefile @@ -78,4 +78,7 @@ else $(error You need to run $(srcdir)/configure before you can run make. Check $(srcdir)/configure --help for a list of parameters) endif -include $(srcdir)/ports.mk +ifneq ($(origin port_mk), undefined) +include $(srcdir)/$(port_mk) +endif + -- cgit v1.2.3