2 include $(TOP)/config/make.cfg
4 USER_CFLAGS := -I$(GENINCDIR) -D__AROS__
5 %build_module mmake=kernel-unixio \
6 modname=unixio modtype=hidd \
12 %make_hidd_stubs hidd=unixio parenttarget=kernel-unixio-hidd
14 MY_INCLS := $(wildcard include/*.h)
15 DEST_INC := $(foreach f,$(MY_INCLS), $(AROS_INCLUDES)/hidd/$(notdir $f))
16 GEN_INC := $(foreach f,$(MY_INCLS), $(GENINCDIR)/hidd/$(notdir $f))
19 includes-copy : $(DEST_INC) $(GEN_INC)
21 $(AROS_INCLUDES)/hidd/%.h : include/%.h
22 $(CP) include/$(notdir $<) $@
24 $(GENINCDIR)/hidd/%.h : include/%.h
25 $(CP) include/$(notdir $<) $@
29 %mkdirs_q $(GENINCDIR) $(AROS_INCLUDES) $(GENINCDIR)/hidd $(AROS_INCLUDES)/hidd