]> CRI, Mines Paris - PSL - Faustine.git/commitdiff
Update configure and Makefiles for the corrected name "interpreter".
authorWANG <wang@wang-OptiPlex-780.(none)>
Mon, 16 Sep 2013 17:00:29 +0000 (19:00 +0200)
committerWANG <wang@wang-OptiPlex-780.(none)>
Mon, 16 Sep 2013 17:00:29 +0000 (19:00 +0200)
Success in test: ./configure + make + sudo make install + make test + make example.

Makefile
README.txt
architecture/morpho.lib
configure
examples/Makefile
interpreter/Makefile
interpreter/preprocessor/faust-0.9.47mr3/compiler/Makefile

index 2743a335327acacf031a1c6597e43400f35a8002..c8c0630585e49792991f7aa6be887e12a2fa879e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Faustine top-level Makefile.
 
 EXEC = faustine
 # Faustine top-level Makefile.
 
 EXEC = faustine
-SRC_DIR = interpretor
+SRC_DIR = interpreter
 PREPROCESSOR_DIR = $(SRC_DIR)/preprocessor/faust-0.9.47mr3
 EXAMPLES_DIR = examples
 SINWAVE_DIR = $(EXAMPLES_DIR)/sinwave
 PREPROCESSOR_DIR = $(SRC_DIR)/preprocessor/faust-0.9.47mr3
 EXAMPLES_DIR = examples
 SINWAVE_DIR = $(EXAMPLES_DIR)/sinwave
@@ -50,7 +50,7 @@ example:
 install :
        mkdir -p $(prefix)/lib/faustine/
        mkdir -p $(prefix)/bin/
 install :
        mkdir -p $(prefix)/lib/faustine/
        mkdir -p $(prefix)/bin/
-       install interpretor/faustine $(prefix)/bin/
+       install $(SRC_DIR)/faustine $(prefix)/bin/
        install -m 0644 $(arch) $(prefix)/lib/faustine/
 
 uninstall :
        install -m 0644 $(arch) $(prefix)/lib/faustine/
 
 uninstall :
index 059818099b6d28d6beeccdfe78ebcae4e53cd0f8..49e9cd377efae4f53c544d1d44a0eb3f4dd460ea 100644 (file)
@@ -30,7 +30,7 @@ CONTENTS
   configure             compilation configuration script
   examples/             vector examples (fft, image processingÉ)
   INSTALL.txt           Faustine installation instructions
   configure             compilation configuration script
   examples/             vector examples (fft, image processingÉ)
   INSTALL.txt           Faustine installation instructions
-  interpretor/          Faustine's interpretor source code
+  interpreter/          Faustine's interpreter source code
   LICENSE.txt           license and copyright notice
   Makefile              main Makefile to compile and install
   README.txt            this file
   LICENSE.txt           license and copyright notice
   Makefile              main Makefile to compile and install
   README.txt            this file
index f81afd63fc5d39ac097a57353ec76c463a74fc38..5c42861c6c5484c53addf9217c3c1b7336ffdce7 100644 (file)
@@ -62,6 +62,6 @@ licenceplate(x, y, o1, c2, t3, t4, t5, t6, o7, o8, d9, d10) = _ <: (opening_line
 //process = erosions(8, 8, 3);
 //process = open(8, 8, 2);
 //process = close(8, 8, 5);
 //process = erosions(8, 8, 3);
 //process = open(8, 8, 2);
 //process = close(8, 8, 5);
-process = licenceplate(4, 4, 15, 8, 1, 50, 150, 255, 4, 4, 2, 20);
+//process = licenceplate(4, 4, 15, 8, 1, 50, 150, 255, 4, 4, 2, 20);
 
 
 
 
index ebb3976556c4ffe9c5eb2d3ba92b92910ae462ef..da512489c218ec4c93727f346856f4ed8de9a41a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
 
 # libsndfile configure
 
 
 # libsndfile configure
 
-LIBSNDFILE_PREFIX=$PWD/interpretor/lib
+LIBSNDFILE_PREFIX=$PWD/interpreter/lib
 LIBSNDFILE_SRCDIR=$LIBSNDFILE_PREFIX/src/libsndfile-1.0.25
 LIBSNDFILE_DESTNAME=libsndfile
 DESTDIR=$LIBSNDFILE_PREFIX/$LIBSNDFILE_DESTNAME
 LIBSNDFILE_SRCDIR=$LIBSNDFILE_PREFIX/src/libsndfile-1.0.25
 LIBSNDFILE_DESTNAME=libsndfile
 DESTDIR=$LIBSNDFILE_PREFIX/$LIBSNDFILE_DESTNAME
index 30cc6faa923fabb371dc5db7805765f76dff30bc..7163a898212fbc1d335c735315ed9f5ec2976291 100644 (file)
@@ -8,3 +8,4 @@ examples::
 
 clean::
        @$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)
 
 clean::
        @$(foreach example, $(EXAMPLES), $(MAKE) -C $(example) clean;)
+       rm -f */*~
index 715aadc19bb14fb5f9e84787cce0af0da66f04ba..785feb60173b013c6244ad0640f7525959d5b8ed 100644 (file)
@@ -27,7 +27,13 @@ PREPROCESSOR_PATH = $(FAUST_PATH)/compiler
 # Path to preprocessor header files
 PREPROCESSOR_INCLUDE_PATH = $(PREPROCESSOR_PATH)/headers
 
 # Path to preprocessor header files
 PREPROCESSOR_INCLUDE_PATH = $(PREPROCESSOR_PATH)/headers
 
-# Path to the interpretor documentation
+# Path to preprocessor cpp files
+PREPROCESSOR_SRC = $(wildcard $(PREPROCESSOR_PATH)/*/*.cpp) $(wildcard $(PREPROCESSOR_PATH)/draw/*/*.cpp)
+
+# Path to preprocessor obj files
+PREPROCESSOR_OBJ = $(PREPROCESSOR_SRC:.cpp=.o)
+
+# Path to the interpreter documentation
 OCAML_DOC_PATH = ../documentation
 
 ########################## Advanced user's variables #####################
 OCAML_DOC_PATH = ../documentation
 
 ########################## Advanced user's variables #####################
@@ -122,7 +128,8 @@ OPTOBJS = $(OBJS:.cmo=.cmx)
 
 CSOURCES = $(filter %.cpp, $(SOURCES))
 COBJS = $(CSOURCES:.cpp=.o)
 
 CSOURCES = $(filter %.cpp, $(SOURCES))
 COBJS = $(CSOURCES:.cpp=.o)
-CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+#CLIBS = $(PREPROCESSOR_PATH)/preprocess.a
+CLIBS = $(PREPROCESSOR_OBJ)
 
 PARSER_MLY = $(filter %.mly, $(SOURCES))
 LEXER_MLL = $(filter %.mll, $(SOURCES))
 
 PARSER_MLY = $(filter %.mly, $(SOURCES))
 LEXER_MLL = $(filter %.mll, $(SOURCES))
index 02ac902bd165785a1ec55740efff7fafc3bc4bb8..36665bf8ee64e50974aeaa15a81dc7b3c17400d5 100755 (executable)
@@ -23,7 +23,7 @@ endif
 CXXFLAGS ?= -O3 -Wall -Wuninitialized $(ARCHFLAGS)
 CXXFLAGS += -Wno-parentheses $(addprefix -I, $(subprojects)) -DINSTALL_PREFIX='"$(prefix)"'
 
 CXXFLAGS ?= -O3 -Wall -Wuninitialized $(ARCHFLAGS)
 CXXFLAGS += -Wno-parentheses $(addprefix -I, $(subprojects)) -DINSTALL_PREFIX='"$(prefix)"'
 
-all : faust preprocess.a # Haisheng WANG adds preprocess.a for multirate faust interpretor
+all : faust preprocess.a # Haisheng WANG adds preprocess.a for multirate faust interpreter
 
 faust : $(objects)
        $(CXX) $(CXXFLAGS) $(objects) -o faust
 
 faust : $(objects)
        $(CXX) $(CXXFLAGS) $(objects) -o faust