MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / char / mxhwenp / Makefile.test
blob2bdafa987bdd82485d8c4286828e330ad8dc09fd
1 SRCDIR = .
3 CFLAGS := -O2 -DMODULE -D__KERNEL__ -D__LINUX -DCROSS_COMPILER -DEXPORT_SYMTAB -I$(SRCDIR)/include 
5 CFLAGS += -DIRQUSED
6 include $(SRCDIR)/cpe.mk
7 ENGOBJS := faraday/mxhw_crypto_engine.o
8 BINDIR := /tftpboot
9 CFLAGS += -DCPE_ENGINE 
10 CFLAGS += $(MODULE_CFLAGS) $(ENGINE_CFLAGS)
12 ifdef DEBUG
13 CFLAGS += -DDEBUG
14 endif
17 OBJS = crypto_driver.o
19 all: driver
21 driver: $(OBJS)
22         $(LD) -r $^ -o $(BINDIR)/mxhw_cipher.o
23         
24 clean:
25         rm -f $(OBJS) $(BINDIR)/mxhw_cipher.o $(BINDIR)/io
26         make -C test clean