diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common.mk b/common.mk index a4fed0f0..48c63c69 100644 --- a/common.mk +++ b/common.mk @@ -86,8 +86,13 @@ include $(SRCDIR)/version.mk # importinc/pam.h (as it did originally) is that it lives on a user's system # as <netpbm/pam.h>, and therefore all _exported_ header files do say # "<netpbm/pam.h>. +ifneq ($(ALL_INTERNAL_HEADER_FILES_ARE_QUALIFIED),Y) + LEGACY_NETPBM_INCLUDE = -Iimportinc/netpbm +else + LEGACY_NETPBM_INCLUDE = +endif -NETPBM_INCLUDES := -Iimportinc -Iimportinc/netpbm -I$(SRCDIR)/$(SUBDIR) +NETPBM_INCLUDES := -Iimportinc $(LEGACY_NETPBM_INCLUDE) -I$(SRCDIR)/$(SUBDIR) # -I. is needed when builddir != srcdir INCLUDES = -I. $(COMP_INCLUDES) $(NETPBM_INCLUDES) $(EXTERN_INCLUDES) |