diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-16 02:21:06 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-06-16 02:21:06 +0000 |
commit | f2bc3f905af4da518e86823c3aa4e1251c28a185 (patch) | |
tree | c05dc913a842d957fe9c774aedf25cbe1dbf5bc9 /converter/other/jpeg2000/Makefile | |
parent | 9dc829f60d164490182b1a80af89d037297f2c9a (diff) | |
download | netpbm-mirror-f2bc3f905af4da518e86823c3aa4e1251c28a185.tar.gz netpbm-mirror-f2bc3f905af4da518e86823c3aa4e1251c28a185.tar.xz netpbm-mirror-f2bc3f905af4da518e86823c3aa4e1251c28a185.zip |
Make null value properly indicate 'in system search path' for JBIGHDR_DIR and JASPERHDR_DIR
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2201 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpeg2000/Makefile')
-rw-r--r-- | converter/other/jpeg2000/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/converter/other/jpeg2000/Makefile b/converter/other/jpeg2000/Makefile index 4afe4ffd..009232d7 100644 --- a/converter/other/jpeg2000/Makefile +++ b/converter/other/jpeg2000/Makefile @@ -10,16 +10,18 @@ SUBDIRS = libjasper include $(BUILDDIR)/config.mk EXTERN_INCLUDES = -ifneq ($(JASPERHDR_DIR),NONE) - EXTERN_INCLUDES += -I$(JASPERHDR_DIR) -endif - # INTERNAL_JASPERLIB must be relative to the current directory, because it # may end up in MERGE_OBJECTS, which must be relative. INTERNAL_JASPERLIB = libjasper/libjasper.a INTERNAL_JASPERHDR_DIR = $(SRCDIR)/$(SUBDIR)/libjasper/include +ifneq ($(JASPERHDR_DIR),NONE) + ifneq ($(JASPERHDR_DIR)x,x) + EXTERN_INCLUDES += -I$(JASPERHDR_DIR) + endif +endif + ifeq ($(JASPERLIB),$(INTERNAL_JASPERLIB)) ifeq ($(HAVE_INT64),Y) JASPERLIB_DEP = $(JASPERLIB) |