Cleanup patches (see PR#321)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
ad4f24ba12
commit
6a97978504
1
Makefile
1
Makefile
|
@ -448,6 +448,7 @@ runtime:
|
|||
clean::
|
||||
cd byterun; $(MAKE) clean
|
||||
rm -f stdlib/libcamlrun.a
|
||||
rm -f stdlib/caml
|
||||
alldepend::
|
||||
cd byterun; $(MAKE) depend
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ meta.c: ../byterun/meta.c
|
|||
LINKEDFILES=misc.c freelist.c major_gc.c minor_gc.c memory.c alloc.c array.c \
|
||||
compare.c ints.c floats.c str.c io.c extern.c intern.c hash.c sys.c \
|
||||
parsing.c gc_ctrl.c terminfo.c md5.c obj.c lexing.c printexc.c callback.c \
|
||||
weak.c compact.c finalise.c meta.c
|
||||
weak.c compact.c finalise.c meta.c custom.c main.c
|
||||
|
||||
clean::
|
||||
rm -f $(LINKEDFILES)
|
||||
|
|
|
@ -354,6 +354,7 @@ EOF
|
|||
elif test "${UNAME_MACHINE}" = "osfmach3_ppc" ; then
|
||||
echo powerpc-unknown-linux ; exit 0
|
||||
elif test "${UNAME_MACHINE}" = "sa110" ||
|
||||
test "${UNAME_MACHINE}" = "armv3l" ||
|
||||
test "${UNAME_MACHINE}" = "armv4l" ; then
|
||||
echo arm-unknown-linux ; exit 0
|
||||
else
|
||||
|
|
|
@ -883,6 +883,8 @@ for dir in /usr/include /usr/include/gdbm /usr/include/db1; do
|
|||
dbm_link=""
|
||||
elif sh ./hasgot -lndbm dbm_open; then
|
||||
dbm_link="-cclib -lndbm"
|
||||
elif sh ./hasgot -ldb1 dbm_open; then
|
||||
dbm_link="-cclib -ldb1"
|
||||
else
|
||||
dbm_include="not found"
|
||||
fi
|
||||
|
|
|
@ -37,7 +37,7 @@ ocamllex.opt: $(OBJS:.cmo=.cmx)
|
|||
|
||||
clean::
|
||||
rm -f ocamllex ocamllex.opt
|
||||
rm -f *.cmo *.cmi
|
||||
rm -f *.cmo *.cmi *.cmx *.o
|
||||
|
||||
parser.ml parser.mli: parser.mly
|
||||
$(CAMLYACC) $(YACCFLAGS) parser.mly
|
||||
|
|
|
@ -50,10 +50,10 @@ installopt:
|
|||
cd $(LIBDIR); $(RANLIB) bigarray.a
|
||||
|
||||
partialclean:
|
||||
rm -f *.cm*
|
||||
rm -f *.cm*
|
||||
|
||||
clean: partialclean
|
||||
rm -f libbigarray.a *.o
|
||||
rm -f libbigarray.a *.o bigarray.a
|
||||
|
||||
.SUFFIXES: .ml .mli .cmo .cmi .cmx
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ partialclean:
|
|||
rm -f *.cm*
|
||||
|
||||
clean: partialclean
|
||||
rm -f libthreads*.a *.o
|
||||
rm -f libthreads*.a *.o threads.a
|
||||
rm -f $(GENFILES)
|
||||
|
||||
install:
|
||||
|
|
Loading…
Reference in New Issue