Modules/UDI - Add check for UDI_VERSION to udi.h
[tpg/acess2.git] / KernelLand / Modules / Interfaces / UDI / Makefile
1 #
2 #
3
4 CPPFLAGS = -I../../../../UDI/include -Iinclude -D UDI_VERSION=0x101
5
6 # - UDI Library Files
7 LIB_OBJS := core/logging.o core/strmem.o core/imc.o core/mem.o core/buf.o
8 LIB_OBJS += core/queues.o core/time.o core/attr.o core/mei.o core/cb.o
9 LIB_OBJS += core/layout.o
10 LIB_OBJS += core/meta_mgmt.o core/meta_gio.o
11 LIB_OBJS += physio.o physio/meta_bus.o physio/pio.o physio/dma.o
12 LIB_OBJS += scsi.o
13 LIB_OBJS += udi_nic.o
14 # - UDI->Acess Translation Layer
15 TRANS_OBJS := bus_pci.o nsr.o gio_uart.o
16
17 OBJ  = main.o channels.o deferred_calls.o management_agent.o
18 OBJ += $(LIB_OBJS:%=udi_lib/%) $(TRANS_OBJS:%=trans/%)
19 NAME = UDI
20
21 -include ../Makefile.tpl
22
23 ifeq ($(ARCHDIR),x86)
24  CPPFLAGS += -DUDI_ABI_is_ia32
25 else
26  $(error TODO: Support other UDI ABIs [$(ARCHDIR) unsupported])
27 endif

UCC git Repository :: git.ucc.asn.au