summaryrefslogtreecommitdiff
path: root/builds/exports.mk
diff options
context:
space:
mode:
Diffstat (limited to 'builds/exports.mk')
-rw-r--r--builds/exports.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/builds/exports.mk b/builds/exports.mk
index 9685f1f49..d5a508571 100644
--- a/builds/exports.mk
+++ b/builds/exports.mk
@@ -40,7 +40,11 @@ ifneq ($(EXPORTS_LIST),)
endif
# The list of public headers we're going to parse.
- PUBLIC_HEADERS := $(wildcard $(PUBLIC_DIR)/*.h)
+ PUBLIC_HEADERS := $(filter-out $(PUBLIC_DIR)/ftmac.h, \
+ $(wildcard $(PUBLIC_DIR)/*.h))
+ ifneq ($(ftmac_c),)
+ PUBLIC_HEADERS += $(PUBLIC_DIR)/ftmac.h
+ endif
# The `apinames' source and executable. We use $E_BUILD as the host
# executable suffix, which *includes* the final dot.