Make sure that tif_config.h is produced prior to entering the port

directory and add an include path so that the port files can include
tif_config.h.  Do not actually include tif_config.h at this time
since CMake and Autotools builds are not prepared for that.  This
issue could be handled by updating the CMake and Autotools builds
or by adding a define which directs libport.h to include tif_config.h.
This commit is contained in:
Bob Friesenhahn 2020-01-28 08:16:05 -06:00
parent 550f8708d2
commit ed3b07c4e2
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,9 @@
all: port lib tools
port::
cd libtiff
$(MAKE) /f Makefile.vc tif_config.h
cd..
cd port
$(MAKE) /f Makefile.vc
cd..

View File

@ -55,6 +55,8 @@ EXTRAFLAGS = -DHAVE_STRTOULL $(EXTRAFLAGS)
STRTOULL_OBJ = strtoull.obj
!ENDIF
INCL = -I..\libtiff
OBJ = \
snprintf.obj \
strcasecmp.obj \