Makefile.am 1.92 KB
Newer Older
1 2
SUBDIRS = drivers

3 4
# BEGIN: DO NOT DELETE THIS LINE
ADA_SPECS_WITH_BODY = $(srcdir)/polyorb_hi-aperiodic_task.ads	\
5 6 7 8 9 10
	 $(srcdir)/polyorb_hi-background_task.ads		\
	 $(srcdir)/polyorb_hi-hybrid_task.ads			\
	 $(srcdir)/polyorb_hi-hybrid_task_driver.ads		\
	 $(srcdir)/polyorb_hi-isr_task.ads			\
	 $(srcdir)/polyorb_hi-marshallers_g.ads			\
	 $(srcdir)/polyorb_hi-messages.ads			\
11
	 $(srcdir)/polyorb_hi-null_task.ads			\
12 13 14 15 16 17 18 19
	 $(srcdir)/polyorb_hi-output.ads			\
	 $(srcdir)/polyorb_hi-periodic_task.ads			\
	 $(srcdir)/polyorb_hi-port_kinds.ads			\
	 $(srcdir)/polyorb_hi-protocols.ads			\
	 $(srcdir)/polyorb_hi-sporadic_task.ads			\
	 $(srcdir)/polyorb_hi-suspenders.ads			\
	 $(srcdir)/polyorb_hi-thread_interrogators.ads		\
	 $(srcdir)/polyorb_hi-scheduler.ads			\
20
	 $(srcdir)/polyorb_hi-unprotected_queue.ads		\
21
	 $(srcdir)/polyorb_hi-utils.ads
22 23 24 25 26 27 28

ADA_SPECS = $(ADA_SPECS_WITH_BODY) $(srcdir)/polyorb_hi.ads	\
	$(srcdir)/polyorb_hi-errors.ads				\
	$(srcdir)/polyorb_hi_generated.ads			\
	$(srcdir)/polyorb_hi-output_low_level.ads		\
	$(srcdir)/polyorb_hi-port_type_marshallers.ads		\
	$(srcdir)/polyorb_hi-streams.ads			\
yoogx's avatar
yoogx committed
29
	$(srcdir)/polyorb_hi-time_marshallers.ads		\
30 31 32
	$(srcdir)/polyorb_hi-transport_low_level.ads

ADA_BODIES = $(ADA_SPECS_WITH_BODY:.ads=.adb)			\
33
	$(srcdir)/polyorb_hi-output_low_level_gnatruntime.adb	\
34 35 36 37 38 39
	$(srcdir)/polyorb_hi-output_low_level_leon.adb		\
	$(srcdir)/polyorb_hi-output_low_level_native.adb	\
	$(srcdir)/polyorb_hi-transport_low_level_sockets.adb

# END: DO NOT DELETE THIS LINE

40 41
ADA_ADC = $(srcdir)/gnat.adc $(srcdir)/hi-e.adc $(srcdir)/native.adc	\
	$(srcdir)/gnat_runtime.adc
42 43 44 45 46 47 48 49 50 51 52 53 54

EXTRA_DIST = $(ADA_SPECS) $(ADA_BODIES) $(ADA_ADC)

alidir = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-ada'}

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(alidir)
	for f in $(ADA_SPECS) $(ADA_BODIES) $(ADA_ADC) polyorb_hi.gpr; do \
          $(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
        done;

uninstall-local:
	rm -rf $(DESTDIR)$(alidir)