]> Zhao Yanbai Git Server - minix.git/commitdiff
zlib includes in lib/libz, install them too in /usr/include from toplevel makefile.
authorBen Gras <ben@minix3.org>
Thu, 17 Jun 2010 15:05:20 +0000 (15:05 +0000)
committerBen Gras <ben@minix3.org>
Thu, 17 Jun 2010 15:05:20 +0000 (15:05 +0000)
Makefile
include/Makefile
lib/Makefile
lib/libz/Makefile
lib/libz/zconf.h [moved from include/zconf.h with 100% similarity]
lib/libz/zlib.h [moved from include/zlib.h with 100% similarity]

index 1296fe59d44c6f9c03d73adbd47503e69df22c76..e205120f9524b40ccbcb6d4fcb57ae2f7b64a0f2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,7 @@ mkfiles:
 
 includes:
        cd include && $(MAKE) includes
+       cd lib && $(MAKE) includes
 
 libraries:
        cd lib && sh ack_build.sh obj depend all install
index 5211ebb020b9c3348ca6564bda58ec23f645a9bc..bb869cbd791d7c5b6608d03096231863b7a83be9 100644 (file)
@@ -9,7 +9,7 @@ INCS=   alloca.h ansi.h a.out.h ar.h assert.h configfile.h ctype.h \
        stdint.h stdio.h stdlib.h string.h strings.h sysexits.h \
        syslog.h tar.h termcap.h termios.h time.h timers.h tools.h \
        ttyent.h ucontext.h unistd.h utime.h utmp.h wchar.h wctype.h \
-       hgfs.h tzfile.h util.h zconf.h zlib.h
+       hgfs.h tzfile.h util.h
 INCS+= arpa/inet.h
 INCS+= minix/a.out.h minix/bitmap.h minix/callnr.h minix/cdrom.h \
        minix/com.h minix/config.h minix/const.h minix/cpufeature.h \
index f05e9c80b45f5f9994e27aeceed3c8068a0f4620..44129ad70ea601c132644ead8d61041c6863018c 100644 (file)
@@ -1,7 +1,7 @@
 .include <minix.own.mk>
 
 SUBDIR= csu libc libcurses libdriver libnetdriver libend libedit libm libsys \
-       libtimers libutil libbz2 libl libhgfs
+       libtimers libutil libbz2 libl libhgfs libz
 
 .if ${COMPILER_TYPE} == "ack"
 SUBDIR+= ack/libd ack/libe ack/libfp ack/liby
index 5b2dc80398cfa01c258137b49cdc0714e5a4e991..8deaf327b10e0c9db34a43404039d7ff244087ec 100644 (file)
@@ -5,4 +5,7 @@ LIB=            z
 SRCS= adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c \
       gzwrite.c infback.c inffast.c inflate.c inftrees.c trees.c uncompr.c zutil.c
 
+INCSDIR= /usr/include
+INCS=           zconf.h zlib.h
+
 .include <minix.lib.mk>
similarity index 100%
rename from include/zconf.h
rename to lib/libz/zconf.h
similarity index 100%
rename from include/zlib.h
rename to lib/libz/zlib.h