forked from yziquel/OCaml-R
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to oasis 0.3, Makefile and configure script are now generated …
…by oasis
- Loading branch information
Showing
9 changed files
with
2,497 additions
and
2,153 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 |
---|---|---|
@@ -1,111 +1,38 @@ | ||
################################################################################# | ||
# OCaml-R # | ||
# # | ||
# Copyright (C) 2008-2010 Institut National de Recherche en # | ||
# Informatique et en Automatique. All rights reserved. # | ||
# # | ||
# Copyright (C) 2009-2010 Guillaume Yziquel. All rights reserved. # | ||
# # | ||
# This program is free software; you can redistribute it and/or modify # | ||
# it under the terms of the GNU General Public License as # | ||
# published by the Free Software Foundation; either version 3 of the # | ||
# License, or any later version. # | ||
# # | ||
# This program is distributed in the hope that it will be useful, # | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of # | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | ||
# GNU Library General Public License for more details. # | ||
# # | ||
# You should have received a copy of the GNU General Public # | ||
# License along with this program; if not, write to the Free Software # | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # | ||
# 02111-1307 USA # | ||
# # | ||
# Contact: Maxence.Guesdon@inria.fr # | ||
# guillaume.yziquel@citycable.ch # | ||
################################################################################# | ||
# OASIS_START | ||
# DO NOT EDIT (digest: bc1e05bfc8b39b664f29dae8dbd3ebbb) | ||
|
||
# Compilation | ||
############# | ||
SETUP = ocaml setup.ml | ||
|
||
first: src | ||
all: | ||
cd src && $(MAKE) all | ||
build: setup.data | ||
$(SETUP) -build $(BUILDFLAGS) | ||
|
||
src: dummy | ||
cd src && $(MAKE) | ||
doc: setup.data build | ||
$(SETUP) -doc $(DOCFLAGS) | ||
|
||
install: dummy | ||
cd src && $(MAKE) install | ||
test: setup.data build | ||
$(SETUP) -test $(TESTFLAGS) | ||
|
||
re : depend clean all | ||
all: | ||
$(SETUP) -all $(ALLFLAGS) | ||
|
||
install: setup.data | ||
$(SETUP) -install $(INSTALLFLAGS) | ||
|
||
# Documentation : | ||
################# | ||
doc: dummy | ||
cd src && $(MAKE) doc | ||
uninstall: setup.data | ||
$(SETUP) -uninstall $(UNINSTALLFLAGS) | ||
|
||
# myself | ||
reinstall: setup.data | ||
$(SETUP) -reinstall $(REINSTALLFLAGS) | ||
|
||
master.Makefile: master.Makefile.in config.status | ||
./config.status | ||
clean: | ||
$(SETUP) -clean $(CLEANFLAGS) | ||
|
||
config.status: configure master.Makefile.in | ||
./config.status --recheck | ||
distclean: | ||
$(SETUP) -distclean $(DISTCLEANFLAGS) | ||
|
||
configure: configure.ac | ||
autoconf | ||
setup.data: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
# headers : | ||
########### | ||
HEADFILES= configure.ac configure \ | ||
master.Makefile.in Makefile \ | ||
src/*.ml src/*.mli src/*.c src/math/*.ml src/math/*.mli src/math/*.c \ | ||
src/Makefile | ||
headers: dummy | ||
echo $(HEADFILES) | ||
headache -h header -c .headache_config `ls $(HEADFILES)` | ||
.PHONY: build doc test all install uninstall reinstall clean distclean configure | ||
|
||
noheaders: dummy | ||
headache -r -c .headache_config `ls $(HEADFILES)` | ||
|
||
# backup, clean and depend : | ||
############################ | ||
|
||
distclean: clean | ||
$(RM) config.cache config.log config.status configure.lineno config.status.lineno | ||
$(RM) master.Makefile | ||
$(RM) config_check.log | ||
$(RM) autom4te.cache | ||
|
||
clean:: dummy | ||
$(RM) *~ \#*\# | ||
cd src && $(MAKE) clean | ||
|
||
|
||
depend: dummy | ||
cd src && $(MAKE) depend | ||
|
||
dummy: | ||
|
||
################# | ||
# code count | ||
################# | ||
codecount: | ||
@echo `cat src/*.ml src/*.mli | wc -l` lines | ||
|
||
|
||
################# | ||
# installation | ||
################# | ||
|
||
install: dummy | ||
cd src && $(MAKE) install | ||
|
||
|
||
########################### | ||
# additional dependencies | ||
########################### | ||
|
||
# DO NOT DELETE | ||
# 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
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 |
Oops, something went wrong.