summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/Makefile.rules
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-04-06 16:22:50 +0300
committerToomas Soome <tsoome@me.com>2019-05-06 23:36:21 +0300
commite616c49c963c6536f26b6d8888bc4bbb54716901 (patch)
treebe85b30df95a1a4871b8d18575157a190fc0209e /usr/src/uts/common/Makefile.rules
parentb73314f0d88fe4dacf23b78935e3b00da66d0989 (diff)
downloadillumos-joyent-e616c49c963c6536f26b6d8888bc4bbb54716901.tar.gz
10697 zmod: use zlib-1.2.11
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/Makefile.rules')
-rw-r--r--usr/src/uts/common/Makefile.rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/uts/common/Makefile.rules b/usr/src/uts/common/Makefile.rules
index 2584bb90fb..c369cd3b63 100644
--- a/usr/src/uts/common/Makefile.rules
+++ b/usr/src/uts/common/Makefile.rules
@@ -46,6 +46,10 @@
#
# Section 1a: C objects build rules
#
+$(OBJS_DIR)/decompress.o := CPPFLAGS += -I$(SRC)/contrib/zlib
+$(OBJS_DIR)/zmod.o := CPPFLAGS += -I$(SRC)/contrib/zlib
+$(OBJS_DIR)/zmod_subr.o := CPPFLAGS += -I$(SRC)/contrib/zlib
+
$(OBJS_DIR)/%.o: $(COMMONBASE)/crypto/aes/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
@@ -1593,6 +1597,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/common/vm/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(OBJS_DIR)/%.o: $(SRC)/contrib/zlib/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(UTSBASE)/common/zmod/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)