projects
/
platform
/
upstream
/
zlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
520561c
)
Exit when required parameters not provided to win32/Makefile.gcc.
author
Mark Adler
<madler@alumni.caltech.edu>
Sun, 29 Jan 2012 16:53:53 +0000
(08:53 -0800)
committer
Mark Adler
<madler@alumni.caltech.edu>
Sun, 29 Jan 2012 16:53:53 +0000
(08:53 -0800)
win32/Makefile.gcc
patch
|
blob
|
history
diff --git
a/win32/Makefile.gcc
b/win32/Makefile.gcc
index
fddd78a
..
c4a6589
100644
(file)
--- a/
win32/Makefile.gcc
+++ b/
win32/Makefile.gcc
@@
-123,6
+123,10
@@
zlibrc.o: win32/zlib1.rc
.PHONY: install uninstall clean
install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
+ @if test -z "$(INCLUDE_PATH)" -o -z "$(LIBRARY_PATH)" -o -z "$(BINARY_PATH)"; then \
+ echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \
+ exit 1; \
+ fi
-@mkdir -p $(INCLUDE_PATH)
-@mkdir -p $(LIBRARY_PATH) $(LIBRARY_PATH)/pkgconfig
-if [ "$(SHARED_MODE)" = "1" ]; then \