Makefile.am 987 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
DIST_SUBDIRS = $(SUBDIRS) examples

8 9
EXTRA_DIST = $(top_srcdir)/Makefile.common

10 11 12 13 14 15 16 17 18 19 20 21 22 23
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

24 25 26
generate-driver-configuration::
	$(MAKE) -C src/drivers/configuration regenerate

27 28 29 30
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
31
	$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir)
32 33 34

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

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

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