summaryrefslogtreecommitdiffstats
path: root/lib/libz
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libz')
-rw-r--r--lib/libz/Makefile5
-rw-r--r--lib/libz/adler32.c2
-rw-r--r--lib/libz/compress.c2
-rw-r--r--lib/libz/crc32.c2
-rw-r--r--lib/libz/deflate.c2
-rw-r--r--lib/libz/deflate.h2
-rw-r--r--lib/libz/example.c2
-rw-r--r--lib/libz/gzio.c2
-rw-r--r--lib/libz/minigzip.c2
-rw-r--r--lib/libz/trees.c2
-rw-r--r--lib/libz/uncompr.c2
-rw-r--r--lib/libz/zconf.h2
-rw-r--r--lib/libz/zutil.c2
-rw-r--r--lib/libz/zutil.h2
14 files changed, 16 insertions, 15 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index b302afe..7cce380 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -17,8 +17,10 @@ SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
beforeinstall:
- ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} zlib.h zconf.h \
+.for hdr in zconf.h zlib.h
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/${hdr} \
${DESTDIR}/usr/include
+.endfor
minigzip: all minigzip.o
$(CC) -o minigzip minigzip.o -L. -lz
@@ -31,5 +33,4 @@ test: example minigzip
(export LD_LIBRARY_PATH=. ; \
echo hello world | ./minigzip | ./minigzip -d )
-
.include <bsd.lib.mk>
diff --git a/lib/libz/adler32.c b/lib/libz/adler32.c
index c9dcf93..7c35d51 100644
--- a/lib/libz/adler32.c
+++ b/lib/libz/adler32.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: adler32.c,v 1.10 1996/05/22 11:52:18 me Exp $ */
+/* $FreeBSD$ */
#include "zlib.h"
diff --git a/lib/libz/compress.c b/lib/libz/compress.c
index 590c451..686f365 100644
--- a/lib/libz/compress.c
+++ b/lib/libz/compress.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: compress.c,v 1.10 1996/05/23 16:51:12 me Exp $ */
+/* $FreeBSD$ */
#include "zlib.h"
diff --git a/lib/libz/crc32.c b/lib/libz/crc32.c
index 58fc60e..8fa0ee6 100644
--- a/lib/libz/crc32.c
+++ b/lib/libz/crc32.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: crc32.c,v 1.8 1996/01/30 21:59:10 me Exp $ */
+/* $FreeBSD$ */
#include "zlib.h"
diff --git a/lib/libz/deflate.c b/lib/libz/deflate.c
index c6ba9b4..81c649e 100644
--- a/lib/libz/deflate.c
+++ b/lib/libz/deflate.c
@@ -47,7 +47,7 @@
*
*/
-/* $Id: deflate.c,v 1.15 1996/07/24 13:40:58 me Exp $ */
+/* $FreeBSD$ */
#include "deflate.h"
diff --git a/lib/libz/deflate.h b/lib/libz/deflate.h
index a7daf7f..689adea 100644
--- a/lib/libz/deflate.h
+++ b/lib/libz/deflate.h
@@ -8,7 +8,7 @@
subject to change. Applications should only use zlib.h.
*/
-/* $Id: deflate.h,v 1.10 1996/07/02 12:41:00 me Exp $ */
+/* $FreeBSD$ */
#ifndef _DEFLATE_H
#define _DEFLATE_H
diff --git a/lib/libz/example.c b/lib/libz/example.c
index 5e4dc6d..3830842 100644
--- a/lib/libz/example.c
+++ b/lib/libz/example.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: example.c,v 1.16 1996/05/23 17:11:28 me Exp $ */
+/* $FreeBSD$ */
#include <stdio.h>
#include "zlib.h"
diff --git a/lib/libz/gzio.c b/lib/libz/gzio.c
index 6c82677..f62b125 100644
--- a/lib/libz/gzio.c
+++ b/lib/libz/gzio.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: gzio.c,v 1.14 1996/07/24 13:41:01 me Exp $ */
+/* $FreeBSD$ */
#include <stdio.h>
diff --git a/lib/libz/minigzip.c b/lib/libz/minigzip.c
index fcee6a2..9548ab8 100644
--- a/lib/libz/minigzip.c
+++ b/lib/libz/minigzip.c
@@ -13,7 +13,7 @@
* or in pipe mode.
*/
-/* $Id: minigzip.c,v 1.10 1996/07/24 13:41:04 me Exp $ */
+/* $FreeBSD$ */
#include <stdio.h>
#include "zlib.h"
diff --git a/lib/libz/trees.c b/lib/libz/trees.c
index 4c4d6f2..a5a8173 100644
--- a/lib/libz/trees.c
+++ b/lib/libz/trees.c
@@ -29,7 +29,7 @@
* Addison-Wesley, 1983. ISBN 0-201-06672-6.
*/
-/* $Id: trees.c,v 1.11 1996/07/24 13:41:06 me Exp $ */
+/* $FreeBSD$ */
#include "deflate.h"
diff --git a/lib/libz/uncompr.c b/lib/libz/uncompr.c
index c3de969..06cd6a8 100644
--- a/lib/libz/uncompr.c
+++ b/lib/libz/uncompr.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: uncompr.c,v 1.8 1996/01/30 21:59:26 me Exp $ */
+/* $FreeBSD$ */
#include "zlib.h"
diff --git a/lib/libz/zconf.h b/lib/libz/zconf.h
index 5f6e887..858e0a0 100644
--- a/lib/libz/zconf.h
+++ b/lib/libz/zconf.h
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: zconf.h,v 1.20 1996/07/02 15:09:28 me Exp $ */
+/* $FreeBSD$ */
#ifndef _ZCONF_H
#define _ZCONF_H
diff --git a/lib/libz/zutil.c b/lib/libz/zutil.c
index 734e275..5858792 100644
--- a/lib/libz/zutil.c
+++ b/lib/libz/zutil.c
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: zutil.c,v 1.17 1996/07/24 13:41:12 me Exp $ */
+/* $FreeBSD$ */
#include <stdio.h>
diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h
index c81a9f9..14b6f0a 100644
--- a/lib/libz/zutil.h
+++ b/lib/libz/zutil.h
@@ -8,7 +8,7 @@
subject to change. Applications should only use zlib.h.
*/
-/* $Id: zutil.h,v 1.16 1996/07/24 13:41:13 me Exp $ */
+/* $FreeBSD$ */
#ifndef _Z_UTIL_H
#define _Z_UTIL_H
OpenPOWER on IntegriCloud