revert between 56095 -> 55830 in arch
[AROS.git] / workbench / hidds / i2c / mmakefile.src
blob31d4ec98236307fd8b35d9a50afc9057797bce72
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-hidds: hidd-i2c
6 #MM hidd-i2c : kernel-hidd-bus-includes
8 USER_INCLUDES := -I.
10 USER_CPPFLAGS := -D__KERNEL__
11 USER_LDFLAGS := -static
13 FILES   := i2c_init i2cdeviceclass i2cclass
15 #MM
16 includes-copy : $(AROS_INCLUDES)/hidd/i2c.h $(GENINCDIR)/hidd/i2c.h
18 $(AROS_INCLUDES)/hidd/i2c.h: include/i2c.h
19         $(CP) $< $(AROS_INCLUDES)/hidd/i2c.h
21 $(GENINCDIR)/hidd/i2c.h: include/i2c.h
22         $(CP) $< $(GENINCDIR)/hidd/i2c.h
24 %build_module mmake=hidd-i2c \
25     modname=i2c modtype=hidd \
26     files="$(FILES)"