blob: e7c4014d3c82d8d5d88211fd180c77433c4723b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- Makefile.orig 2004-08-25 14:34:02.963205056 +0200
+++ Makefile 2004-08-25 14:35:28.916138224 +0200
@@ -55,18 +55,8 @@
rm -f *.o *.a
install:
- mkdir -p $(INSTALLDIR)
- cp zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR)
- if test -f dllcamlzip.so; then \
- cp dllcamlzip.so $(INSTALLDIR); \
- ldconf=`$(OCAMLC) -where`/ld.conf; \
- installdir=$(INSTALLDIR); \
- if test `grep -s -c $$installdir'$$' $$ldconf || :` = 0; \
- then echo $$installdir >> $$ldconf; fi \
- fi
-
-installopt:
- cp zip.cmxa zip.a zip.cmx gzip.cmx $(INSTALLDIR)
+ ocamlfind install camlzip META zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a dllcamlzip.so \
+ zip.cmxa zip.a zip.cmx gzip.cmx
depend:
gcc -MM -I$(ZLIB_INCLUDE) *.c > .depend
|