* Makefile.am:
[monodevelop.git] / Makefile
blobedd6a7fe293afcac689f45b455a0ba3e325201e9
2 EXTRA_DIST = configure
4 all: all-recursive
6 top_srcdir=.
7 include $(top_srcdir)/config.make
9 CONFIG_MAKE=$(top_srcdir)/config.make
11 %-recursive: $(CONFIG_MAKE)
12 @set . $$MAKEFLAGS; final_exit=:; \
13 case $$2 in --unix) shift ;; esac; \
14 case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
15 for dir in $(SUBDIRS); do \
16 case $$dir in \
17 .) make $*-local || { final_exit="exit 1"; $$dk; };;\
18 *) (cd $$dir && make $*) || { final_exit="exit 1"; $$dk; };;\
19 esac \
20 done
21 $$final_exit
23 $(CONFIG_MAKE): $(top_srcdir)/configure
24 @if test -e "$(CONFIG_MAKE)"; then exec $(top_srcdir)/configure; \
25 else \
26 echo "You must run configure first"; \
27 exit 1; \
30 clean: clean-recursive
31 install: install-recursive
32 uninstall: uninstall-recursive
33 distcheck: distcheck-recursive
35 distclean: distclean-recursive
36 rm -rf config.make local-config
39 dist: dist-recursive
40 mkdir -p tarballs
41 for t in $(SUBDIRS); do \
42 if test -a $$t/*.tar.gz; then \
43 mv -f $$t/*.tar.gz tarballs ;\
44 fi \
45 done
47 run:
48 cd main && make run
50 test:
51 cd main/tests/UnitTests && make test fixture=$(fixture)
53 check-addins:
54 cd main && make check-addins
56 app-dir:
57 cd main && make app-dir