summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2013-12-17 09:58:47 +0000
committerDamien Doligez <damien.doligez-inria.fr>2013-12-17 09:58:47 +0000
commitc81cc506ecc364b1460a0240541e23e945fae9ac (patch)
treea7f29d790abfddf854456407abd707d5c5eee433
parented52c665b6608f1a5a689ddfd8d23fb12a731332 (diff)
downloadocaml-c81cc506ecc364b1460a0240541e23e945fae9ac.tar.gz
configure: SO must be "so" or "dll" without the dot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--.ignore8
-rw-r--r--Makefile9
-rw-r--r--boot/.ignore2
-rw-r--r--config/.ignore1
-rwxr-xr-xconfigure6
5 files changed, 10 insertions, 16 deletions
diff --git a/.ignore b/.ignore
index 7e8d3f05e2..6dce10ee3e 100644
--- a/.ignore
+++ b/.ignore
@@ -8,12 +8,4 @@ ocamlopt.opt
ocamlcomp.sh
ocamlcompopt.sh
package-macosx
-_boot_log1
-_boot_log2
-_build
-_start
-_buildtest
-_log
-myocamlbuild_config.ml
-ocamlbuild-mixed-boot
ocamlnat
diff --git a/Makefile b/Makefile
index d3b8fa6b6e..8531541d2a 100644
--- a/Makefile
+++ b/Makefile
@@ -829,8 +829,13 @@ depend: beforedepend
alldepend:: depend
distclean:
- ./build/distclean.sh
- rm -f ocaml ocamlcomp.sh testsuite/_log
+ $(MAKE) clean
+ rm -f boot/ocamlrun boot/ocamlrun.exe boot/camlheader boot/ocamlyacc \
+ boot/*.cm* boot/libcamlrun.a
+ rm -f config/Makefile config/m.h config/s.h
+ rm -f tools/*.bak tools/ocamlmklibconfig.ml
+ rm -f ocaml ocamlc ocamlcomp.sh
+ rm -f testsuite/_log
.PHONY: all backup bootstrap checkstack clean
.PHONY: partialclean beforedepend alldepend cleanboot coldstart
diff --git a/boot/.ignore b/boot/.ignore
index 8165156d9a..30c5866b7c 100644
--- a/boot/.ignore
+++ b/boot/.ignore
@@ -4,5 +4,3 @@ ocamlrun.exe
ocamlyacc
ocamlyacc.exe
camlheader
-myocamlbuild
-myocamlbuild.native
diff --git a/config/.ignore b/config/.ignore
index 9fc1c014fc..259ce3f6e3 100644
--- a/config/.ignore
+++ b/config/.ignore
@@ -1,4 +1,3 @@
m.h
s.h
Makefile
-config.sh
diff --git a/configure b/configure
index 7fdfb0a0ce..d45e88f70f 100755
--- a/configure
+++ b/configure
@@ -309,7 +309,7 @@ dllccompopts=""
ostype="Unix"
exe=""
iflexdir=""
-SO=".so"
+SO="so"
TOOLCHAIN="cc"
case "$bytecc,$target" in
@@ -409,7 +409,7 @@ case "$bytecc,$target" in
exe=".exe"
ostype="Win32"
TOOLCHAIN="mingw"
- SO=".dll"
+ SO="dll"
;;
*gcc*,x86_64-*-linux*)
bytecccompopts="-fno-defer-pop $gcc_warnings"
@@ -1696,7 +1696,7 @@ echo "SO=$SO" >> Makefile
echo "EXT_OBJ=.o" >> Makefile
echo "EXT_ASM=.s" >> Makefile
echo "EXT_LIB=.a" >> Makefile
-echo "EXT_DLL=$SO" >> Makefile
+echo "EXT_DLL=.$SO" >> Makefile
echo "EXTRALIBS=" >> Makefile
echo "CCOMPTYPE=cc" >> Makefile
echo "TOOLCHAIN=$TOOLCHAIN" >> Makefile