diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-29 20:23:37 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-29 20:23:37 +0000 |
commit | ec1fad6acbc8836a04bf6a9a033e2ce526e90e88 (patch) | |
tree | 0443672b9338e2516c1f37d5e85ff276fc0aaa92 /Makethird | |
parent | 1a86f447a42b786d8c23b08044d033682ba9718d (diff) | |
download | mupdf-ec1fad6acbc8836a04bf6a9a033e2ce526e90e88.tar.xz |
Copy jconfig.txt to jconfig.h when building third party libjpeg.
Diffstat (limited to 'Makethird')
-rw-r--r-- | Makethird | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -80,6 +80,10 @@ THIRD_LIBS += $(JPEG_LIB) THIRD_INCS += -I$(jpeg_dir) LIBS := $(filter-out -ljpeg, $(LIBS)) +# jconfig.h does not exist in the pristine source +$(jpeg_dir)/jconfig.h: + cp $(jpeg_dir)/jconfig.txt $(jpeg_dir)/jconfig.h + JPEG_SRC=$(addprefix $(jpeg_dir)/, \ jaricom.c \ jcapimin.c \ @@ -129,6 +133,7 @@ JPEG_SRC=$(addprefix $(jpeg_dir)/, \ jmemansi.c) JPEG_OBJ=$(JPEG_SRC:$(jpeg_dir)/%.c=$(OBJDIR)/jpeg_%.o) JPEG_LIB=$(OBJDIR)/libjpeg.a +$(JPEG_OBJ): $(jpeg_dir)/jconfig.h $(JPEG_LIB): $(JPEG_OBJ) $(AR_CMD) $(OBJDIR)/jpeg_%.o: $(jpeg_dir)/%.c |