X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/c7f552fd8888da2f0d8cfb228fe0f28d3df3a12c..b4b6f2ea75b9f0f3ca918f5b84016610bf7a4d4f:/interpretor/preprocessor/faust-0.9.47mr3/Makefile diff --git a/interpretor/preprocessor/faust-0.9.47mr3/Makefile b/interpretor/preprocessor/faust-0.9.47mr3/Makefile new file mode 100644 index 0000000..f184d25 --- /dev/null +++ b/interpretor/preprocessor/faust-0.9.47mr3/Makefile @@ -0,0 +1,142 @@ +version := 0.9.47mr2 + +DESTDIR ?= +PREFIX ?= /usr/local +CROSS=i586-mingw32msvc- + +MAKEFILE := Makefile.unix + +prefix := $(DESTDIR)$(PREFIX) +arch := $(wildcard architecture/*.*) +mfiles := $(wildcard examples/Makefile.*) +vname := faust-$(version)-$(shell date +%y%m%d.%H%M%S) +zname := faust-$(version) + +all : + $(MAKE) -C compiler -f $(MAKEFILE) prefix=$(prefix) + $(MAKE) -C architecture/osclib + +win32 : + $(MAKE) -C compiler -f $(MAKEFILE) prefix=$(prefix) CXX=$(CROSS)g++ + $(MAKE) -C architecture/osclib CXX=$(CROSS)g++ system=Win32 + + +.PHONY: clean depend install ininstall dist parser help + +help : + @echo "make or make all : compiler the faust compiler" + @echo "make parser : generate the parser from the lex and yacc files" + @echo "make clean : remove all object files" + @echo "make doc : generate the documentation using doxygen" + @echo "make install : install the compiler and the architecture files in $(prefix)/bin $(prefix)/lib/faust" + @echo "make uninstall : undo what install did" + @echo "make dist : make a tar.gz file ready for distribution" + @echo "make log : make a changelog file" + @echo "make zip : make a windows binary distribution" + +parser : + $(MAKE) -C compiler -f $(MAKEFILE) parser + +clean : + $(MAKE) -C compiler -f $(MAKEFILE) clean + $(MAKE) -C examples clean + $(MAKE) -C architecture/osclib clean + @(rm -f compiler/preprocess.a) + +depend : + $(MAKE) -C compiler -f $(MAKEFILE) depend + $(MAKE) -C architecture/osclib depend + + +doc : + $(MAKE) -C compiler -f $(MAKEFILE) doc + + +install : + mkdir -p $(prefix)/lib/faust/osclib + mkdir -p $(prefix)/bin/ + install compiler/faust $(prefix)/bin/ + install -m 0644 $(arch) $(prefix)/lib/faust/ + rm -rf $(prefix)/lib/faust/VST + cp -r architecture/VST $(prefix)/lib/faust/ + rm -rf $(prefix)/lib/faust/iPhone + cp -r architecture/iPhone $(prefix)/lib/faust/ + cp -r architecture/audio $(prefix)/lib/faust/ + cp -r architecture/gui $(prefix)/lib/faust/ + cp architecture/osclib/lib*.a $(prefix)/lib/faust/osclib + cp architecture/osclib/faust/include/*.h $(prefix)/lib/faust/osclib + find $(prefix)/lib/faust/ -name CVS | xargs rm -rf + install -m 0644 $(mfiles) $(prefix)/lib/faust/ + make -C tools/faust2appls install + + +uninstall : + rm -rf $(prefix)/lib/faust/ + rm -f $(prefix)/bin/faust + +dist : + $(MAKE) -C compiler -f $(MAKEFILE) clean + $(MAKE) -C examples clean + mkdir -p faust-$(version) + cp README WHATSNEW COPYING Makefile faust-$(version) + cp -r architecture faust-$(version) + cp -r benchmark faust-$(version) + cp -r compiler faust-$(version) + cp -r documentation faust-$(version) + cp -r examples faust-$(version) + cp -r syntax-highlighting faust-$(version) + cp -r tools faust-$(version) + cp -r windows faust-$(version) + find faust-$(version) -name CVS | xargs rm -rf + find faust-$(version) -name "*~" | xargs rm -rf + find faust-$(version) -name ".#*" | xargs rm -rf + find faust-$(version) -name "*.o" | xargs rm -rf + rm -f faust-$(version).tar.gz + tar czfv faust-$(version).tar.gz faust-$(version) + rm -rf faust-$(version) + +# make a faust distribution by cloning the git repository +clonedist : + git clone git://faudiostream.git.sourceforge.net/gitroot/faudiostream/faudiostream faust-$(version) + rm -rf faust-$(version)/.git + rm -f faust-$(version).tar.gz + tar czfv faust-$(version).tar.gz faust-$(version) + rm -rf faust-$(version) + +archive : + $(MAKE) -C compiler -f $(MAKEFILE) clean + $(MAKE) -C examples clean + mkdir -p $(vname) + cp README COPYING Makefile $(vname) + cp -r architecture $(vname) + cp -r benchmark $(vname) + cp -r compiler $(vname) + cp -r documentation $(vname) + cp -r examples $(vname) + cp -r syntax-highlighting $(vname) + cp -r tools $(vname) + cp -r windows $(vname) + find $(vname) -name "*~" | xargs rm -rf + tar czfv $(vname).tar.gz $(vname) + rm -rf $(vname) + +zip : + mkdir -p $(zname) + cp README COPYING Makefile $(zname) + cp -r architecture $(zname) + cp -r benchmark $(zname) + cp compiler/faust.exe $(zname) + cp -r examples $(zname) + cp -r documentation $(zname) + cp -r syntax-highlighting $(zname) + cp -r tools $(zname) + cp -r windows $(zname) + find $(zname) -name "*~" | xargs rm -rf + find $(zname) -name CVS | xargs rm -rf + find $(zname) -name ".#*" | xargs rm -rf + zip -r $(zname).zip $(zname) + rm -rf $(zname) + +log : + cvs2cl --fsf +# DO NOT DELETE