Cleanup patches (see PR#321)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2001-03-30 12:21:13 +00:00
parent ad4f24ba12
commit 6a97978504
7 changed files with 9 additions and 5 deletions

View File

@ -448,6 +448,7 @@ runtime:
clean::
cd byterun; $(MAKE) clean
rm -f stdlib/libcamlrun.a
rm -f stdlib/caml
alldepend::
cd byterun; $(MAKE) depend

View File

@ -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)

View File

@ -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

2
configure vendored
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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: