Makefile.am 1.03 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
AUTOMAKE_OPTIONS = no-dependencies
ACLOCAL_AMFLAGS = -I support
CLEANFILES = config-stamp

SUBDIRS = support tools doc src share
DIST_SUBDIRS = $(SUBDIRS) examples

# Force the installation before running the testsuite
examples:: install
	$(MAKE) -C examples build-all

check-local: run-examples

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

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

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

po_hi_doc_dir=${shell $(CYGPATH_U) '$(OCARINA_PREFIX)/share/doc/ocarina'}

install-data-local:
	$(MAKE) -C examples DESTDIR="$(DESTDIR)" install
	$(INSTALL) -d $(DESTDIR)$(po_hi_doc_dir) 
	$(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(po_hi_doc_dir)/ChangeLog_polyorb_hi_ada

uninstall-local:
	$(MAKE) -C examples DESTDIR="$(DESTDIR)" uninstall
	rm -f $(DESTDIR)$(po_hi_doc_dir)/ChangeLog_polyorb_hi_ada

debug-makefile:
	@echo "GNATMAKE           = $(GNATMAKE)"
	@echo "GNATMAKE_FOR_LEON  = $(GNATMAKE_FOR_LEON)"
	@echo "GNATMAKE_FOR_ERC32 = $(GNATMAKE_FOR_ERC32)"
	$(MAKE) -C examples debug-makefile