summaryrefslogtreecommitdiff
path: root/source4/lib/zlib/contrib/untgz/Makefile
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-07-29 20:01:23 +0000
committerStefan Metzmacher <metze@samba.org>2008-08-07 19:15:59 +0200
commit05235802f7ae8fb1df952d28629dea26af5f1436 (patch)
tree68000e8b17e2d5e590616d26d71dc6f26108ccfc /source4/lib/zlib/contrib/untgz/Makefile
parent8275d511bc3ea79a14a4704b7d914222adc2d321 (diff)
downloadsamba-05235802f7ae8fb1df952d28629dea26af5f1436.tar.gz
samba-05235802f7ae8fb1df952d28629dea26af5f1436.tar.bz2
samba-05235802f7ae8fb1df952d28629dea26af5f1436.zip
import of zlib-1.2.3
We want to use zlib for the mszip ndr (de)compression later, we'll need to add some new functions to zlib. metze (This used to be commit 65c9e91a1bb24851a030a304d011558562cc50d6)
Diffstat (limited to 'source4/lib/zlib/contrib/untgz/Makefile')
-rw-r--r--source4/lib/zlib/contrib/untgz/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/lib/zlib/contrib/untgz/Makefile b/source4/lib/zlib/contrib/untgz/Makefile
new file mode 100644
index 0000000000..b54266fba2
--- /dev/null
+++ b/source4/lib/zlib/contrib/untgz/Makefile
@@ -0,0 +1,14 @@
+CC=cc
+CFLAGS=-g
+
+untgz: untgz.o ../../libz.a
+ $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz
+
+untgz.o: untgz.c ../../zlib.h
+ $(CC) $(CFLAGS) -c -I../.. untgz.c
+
+../../libz.a:
+ cd ../..; ./configure; make
+
+clean:
+ rm -f untgz untgz.o *~