Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / hidds / i2c / mmakefile.src
blob98e4a870589fd6075a1afefe428df759e6d40d32
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- workbench-hidds: hidd-i2c
7 USER_INCLUDES := -I.
9 CFLAGS := $(CFLAGS) -D__KERNEL__
10 USER_LDFLAGS := -static
12 FILES   := i2c_init i2cdeviceclass i2cclass
14 #MM
15 includes-copy : $(AROS_INCLUDES)/hidd/i2c.h $(GENINCDIR)/hidd/i2c.h
17 $(AROS_INCLUDES)/hidd/i2c.h: include/i2c.h
18         $(CP) $< $(AROS_INCLUDES)/hidd/i2c.h
20 $(GENINCDIR)/hidd/i2c.h: include/i2c.h
21         $(CP) $< $(GENINCDIR)/hidd/i2c.h
23 %build_module mmake=hidd-i2c \
24     modname=i2c modtype=hidd \
25     files="$(FILES)"