Makefile.am 943 Bytes
Newer Older
1 2
ACLOCAL_AMFLAGS = -I support

3 4
AUTOMAKE_OPTIONS = no-dependencies
CLEANFILES = config-stamp svn-commit*.tmp* *~
5
SUBDIRS = src support tools share include doc
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
DIST_SUBDIRS = $(SUBDIRS) examples

check-local:: examples

examples:: install
	$(MAKE) -C examples build-all

run-examples::
	$(MAKE) -C examples check-all

clean-examples::
	$(MAKE) -C examples clean

distclean-examples::
	$(MAKE) -C examples distclean

julien.delange's avatar
julien.delange committed
22 23 24
generate-driver-configuration::
	$(MAKE) -C src/drivers/configuration regenerate

25 26 27 28
po_hi_doc_dir = ${shell $(CYGPATH_U) '$(OCARINA_PREFIX)/share/doc/ocarina'}

install-data-local:
	$(MAKE) -C examples DESTDIR="$(DESTDIR)" install
yoogx's avatar
yoogx committed
29
	$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir)
30 31 32

uninstall-local:
	$(MAKE) -C examples DESTDIR="$(DESTDIR)" uninstall
julien.delange's avatar
julien.delange committed
33 34 35 36 37 38

release:
	rm -rf release/
	mkdir release/
	$(MAKE) dist
	cp -f $(DIST_ARCHIVES) release/$(DIST_ARCHIVES)
yoogx's avatar
yoogx committed
39 40 41 42

# We disable checking of the distclean rule, it is a nuisance
distcleancheck:
	@: