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

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