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

3 4
AUTOMAKE_OPTIONS = no-dependencies

julien.delange's avatar
julien.delange committed
5 6
SUBDIRS=configuration

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
C_FILES = $(srcdir)/po_hi_driver_linux_serial.c				\
	    $(srcdir)/po_hi_driver_leon_serial.c			\
	    $(srcdir)/po_hi_driver_leon_eth.c				\
	    $(srcdir)/po_hi_driver_sockets.c				\
	    $(srcdir)/po_hi_driver_rtems_ne2000.c			\
	    $(srcdir)/po_hi_driver_rasta_spacewire.c			\
	    $(srcdir)/po_hi_driver_rasta_common.c			\
	    $(srcdir)/po_hi_driver_exarm.c				\
	    $(srcdir)/po_hi_driver_usbbrick_spacewire.c			\
	    $(srcdir)/po_hi_driver_serial_common.c			\
	    $(srcdir)/po_hi_driver_keyboard.c				\
	    $(srcdir)/po_hi_driver_exarm_ni_6071e_analog.c		\
	    $(srcdir)/po_hi_driver_exarm_ni_6071e_digital.c		\
	    $(srcdir)/po_hi_driver_rasta_1553.c				\
	    $(srcdir)/po_hi_driver_xc4v_fpga.c				\
	    $(srcdir)/po_hi_driver_rasta_1553_brmlib.c			\
	    $(srcdir)/po_hi_driver_rasta_serial.c			\
	    $(srcdir)/grspw_api.c $(srcdir)/grspw_pkt_lib.c		\
	    $(srcdir)/config.c $(srcdir)/config_leon3_drvmgr.c		\
	    $(srcdir)/spwrouter_custom_config.c				\
	    $(srcdir)/po_hi_driver_drvmgr_common.c			\
	    $(srcdir)/po_hi_driver_rtems_drvmgr_spacewire.c		\
	    $(srcdir)/po_hi_driver_rtems_drvmgr_serial.c		\
	    $(srcdir)/po_hi_driver_rtems_drvmgr_ethernet.c		\
yoogx's avatar
yoogx committed
31
	    $(srcdir)/config_leon4_n2x.c $(srcdir)/star_dundee_api.c	\
yoogx's avatar
yoogx committed
32
	    $(srcdir)/po_hi_driver_stardundee.c
33 34

csrc = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/src/drivers'}
yoogx's avatar
yoogx committed
35
csrc2 = ${shell $(CYGPATH_U) '$(OCARINA_RUNTIME)/polyorb-hi-c/src'}
36 37 38 39

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(csrc)
	for f in $(C_FILES); do $(INSTALL) -m 444 $$f $(DESTDIR)$(csrc) ; done
yoogx's avatar
yoogx committed
40 41
	$(INSTALL) -d $(DESTDIR)$(csrc2)
	for f in $(C_FILES); do $(INSTALL) -m 444 $$f $(DESTDIR)$(csrc2) ; done
42 43 44 45 46 47 48

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

EXTRA_DIST = $(C_FILES)

CLEANFILES = *~