-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arjun Guha
committed
Jul 6, 2013
1 parent
8edf1f7
commit 184c1cf
Showing
5 changed files
with
119 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
(* OASIS_START *) | ||
(* DO NOT EDIT (digest: ff0c0738209864dae2ec41d0587fb256) *) | ||
This is the INSTALL file for the frenetic distribution. | ||
|
||
This package uses OASIS to generate its build system. See section OASIS for | ||
full information. | ||
|
||
Dependencies | ||
============ | ||
|
||
In order to compile this package, you will need: | ||
* ocaml for all, doc doc | ||
* findlib | ||
* lwt for library netcore, executable frenetic | ||
* cstruct for library netcore | ||
* packet for library netcore, executable Test_Frenetic | ||
* openflow for library netcore | ||
* oUnit for executable Test_Frenetic | ||
|
||
Installing | ||
========== | ||
|
||
1. Uncompress the source archive and go to the root of the package | ||
2. Run 'ocaml setup.ml -configure' | ||
3. Run 'ocaml setup.ml -build' | ||
4. Run 'ocaml setup.ml -install' | ||
|
||
Uninstalling | ||
============ | ||
|
||
1. Go to the root of the package | ||
2. Run 'ocaml setup.ml -uninstall' | ||
|
||
OASIS | ||
===== | ||
|
||
OASIS is a program that generates a setup.ml file using a simple '_oasis' | ||
configuration file. The generated setup only depends on the standard OCaml | ||
installation: no additional library is required. | ||
|
||
(* OASIS_STOP *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: bc1e05bfc8b39b664f29dae8dbd3ebbb) | ||
|
||
SETUP = ocaml setup.ml | ||
|
||
build: setup.data | ||
$(SETUP) -build $(BUILDFLAGS) | ||
|
||
doc: setup.data build | ||
$(SETUP) -doc $(DOCFLAGS) | ||
|
||
test: setup.data build | ||
$(SETUP) -test $(TESTFLAGS) | ||
|
||
all: | ||
$(SETUP) -all $(ALLFLAGS) | ||
|
||
install: setup.data | ||
$(SETUP) -install $(INSTALLFLAGS) | ||
|
||
uninstall: setup.data | ||
$(SETUP) -uninstall $(UNINSTALLFLAGS) | ||
|
||
reinstall: setup.data | ||
$(SETUP) -reinstall $(REINSTALLFLAGS) | ||
|
||
clean: | ||
$(SETUP) -clean $(CLEANFLAGS) | ||
|
||
distclean: | ||
$(SETUP) -distclean $(DISTCLEANFLAGS) | ||
|
||
setup.data: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
.PHONY: build doc test all install uninstall reinstall clean distclean configure | ||
|
||
# OASIS_STOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# OASIS_START | ||
# DO NOT EDIT (digest: 425187ed8bfdbdd207fd76392dd243a7) | ||
set -e | ||
|
||
FST=true | ||
for i in "$@"; do | ||
if $FST; then | ||
set -- | ||
FST=false | ||
fi | ||
|
||
case $i in | ||
--*=*) | ||
ARG=${i%%=*} | ||
VAL=${i##*=} | ||
set -- "$@" "$ARG" "$VAL" | ||
;; | ||
*) | ||
set -- "$@" "$i" | ||
;; | ||
esac | ||
done | ||
|
||
ocaml setup.ml -configure "$@" | ||
# OASIS_STOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters