Makefile.am 1.07 KB
Newer Older
1 2
ACLOCAL_AMFLAGS = -I support

3 4
AUTOMAKE_OPTIONS = no-dependencies
CLEANFILES = config-stamp svn-commit*.tmp* *~
jhugues's avatar
jhugues committed
5
SUBDIRS = src support tools share include @DOC_DIR@
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 33 34
	$(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(po_hi_doc_dir)/ChangeLog_polyorb_hi_c

uninstall-local:
	$(MAKE) -C examples DESTDIR="$(DESTDIR)" uninstall
	rm -f $(DESTDIR)$(po_hi_doc_dir)/ChangeLog_polyorb_hi_c
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:
	@: