1default: all
2
3.PHONY: clean
4
5all: configure
6
7configure: configure.ac m4/arts.m4 m4/nptl_bug.m4 m4/pthread.m4
8	@aclocal -I m4
9	@libtoolize --force --copy
10	@autoheader
11	@automake --add-missing --copy
12	@autoconf
13	@scripts/generate_lscp_parser.sh
14	@scripts/generate_instrument_script_parser.sh
15	@scripts/generate_nksp_editor_parser.sh
16	######################################################################
17	# If you are compiling LinuxSampler from SVN, make sure to use the   #
18	# latest version of libgig from SVN as well !                        #
19	######################################################################
20
21clean:
22	@if [ -f Makefile ]; then make distclean; fi || true
23	@rm -rvf *.cache *.log *.status *.m4 stamp-h* config.*
24	@rm -rvf `find . -name Makefile.in`
25	@rm -rvf missing install-sh mkinstalldirs depcomp ltmain.sh configure
26	@rm -rvf src/scriptvm/parser.cpp src/scriptvm/editor/nksp.cpp
27	@rm -rvf src/scriptvm/parser.cpp src/scriptvm/parser.h
28	@rm -rvf src/scriptvm/scanner.cpp
29	@rm -rvf src/network/lscpparser.cpp src/network/lscpsymbols.h
30	@rm -rvf src/network/lscp_shell_reference.cpp
31	@rm -rvf linuxsampler-*.tar.*
32	@rm -rvf Doxyfile
33