Makefile.am 1.48 KB
Newer Older
yoogx's avatar
yoogx committed
1
2
include $(top_srcdir)/Makefile.common

3
AUTOMAKE_OPTIONS = no-dependencies
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
EXTRA_DIST = $(srcdir)/po_hi_driver_linux_serial.h			\
	     $(srcdir)/po_hi_driver_leon_serial.h			\
	     $(srcdir)/po_hi_driver_leon_eth.h				\
	     $(srcdir)/po_hi_driver_serial_common.h			\
	     $(srcdir)/po_hi_driver_exarm.h				\
	     $(srcdir)/po_hi_driver_exarm_ni_6071e_analog.h		\
	     $(srcdir)/po_hi_driver_exarm_ni_6071e_digital.h		\
	     $(srcdir)/po_hi_driver_usbbrick_spacewire.h		\
	     $(srcdir)/po_hi_driver_rasta_spacewire.h			\
	     $(srcdir)/po_hi_driver_rasta_1553.h			\
	     $(srcdir)/po_hi_driver_rasta_1553_brmlib.h			\
	     $(srcdir)/po_hi_driver_xc4v_fpga.h				\
	     $(srcdir)/po_hi_driver_rasta_serial.h			\
	     $(srcdir)/po_hi_driver_rasta_common.h			\
	     $(srcdir)/po_hi_driver_sockets.h				\
	     $(srcdir)/po_hi_driver_keyboard.h				\
	     $(srcdir)/po_hi_rtems_utils.h $(srcdir)/grspw_api.h	\
	     $(srcdir)/grspw_pkt_lib.h					\
	     $(srcdir)/po_hi_driver_drvmgr_common.h

24
25
CLEANFILES = *~

julien.delange's avatar
julien.delange committed
26
27
SUBDIRS=configuration

28
hsrc = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/include/drivers'}
29
hsrc2 = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/include'}
30
31
32
33
34
35

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(hsrc)
	for f in $(EXTRA_DIST); do \
	  $(INSTALL) -m 444 $$f $(DESTDIR)$(hsrc) ; \
	done
36
37
38
39
	$(INSTALL) -d $(DESTDIR)$(hsrc2)
	for f in $(EXTRA_DIST); do \
	  $(INSTALL) -m 444 $$f $(DESTDIR)$(hsrc2) ; \
	done
40
41
42

uninstall-local:
	rm -rf $(DESTDIR)$(hsrc)
43
	rm -rf $(DESTDIR)$(hsrc2)