Build system: properly install pervasives.h.

master
Adrien Guatto 13 years ago
parent 1a9dc17618
commit 8b1f4bbe87

2936
configure vendored

File diff suppressed because it is too large Load Diff

@ -3,11 +3,11 @@ AC_INIT(heptagon,1.0)
AC_PROG_INSTALL
AC_ARG_ENABLE(simulator,
[ --enable-simulator enable Why3 IDE],,
[ --enable-simulator enable the graphical simulator],,
enable_simulator=no)
AC_ARG_ENABLE(local_stdlib,
[ --enable-local-stdlib Use the standard library in the source tree],,
[ --enable-local-stdlib use the in-sources standard library],,
enable_local_stdlib=no)
AC_PROG_OCAML
@ -57,4 +57,4 @@ AC_SUBST(stdlib_dir)
AC_SUBST(enable_simulator)
AC_OUTPUT(config)
AC_OUTPUT(config)

@ -3,7 +3,7 @@ include ../config
STDLIB_INTERFACE=pervasives.epi
STDLIB_OBJ=$(STDLIB_INTERFACE:.epi=.epci)
C_DIR=C
C_DIR=c
C_OBJ=pervasives.h
.SUFFIXES: .epi .epci
@ -18,7 +18,7 @@ all: $(STDLIB_OBJ)
install: all
$(INSTALL) -d $(INSTALL_LIBDIR)
$(INSTALL) $(STDLIB_OBJ) $(STDLIB_INTERFACE) $(INSTALL_LIBDIR)
$(INSTALL) -d $(INSTALL_LIBDIR)
$(INSTALL) -d $(INSTALL_LIBDIR)/$(C_DIR)
(cd c/; $(INSTALL) $(C_OBJ) $(INSTALL_LIBDIR)/$(C_DIR))
clean:
clean:

Loading…
Cancel
Save