revert between 56095 -> 55830 in arch
[AROS.git] / rom / hidds / mouse / mmakefile.src
blob617a6c84237f14a3004fa6814949d70143060441
1 #$Id$
3 include $(SRCDIR)/config/aros.cfg
5 MY_INCLS    := $(call WILDCARD, include/*.h)
6 DEST_INC    := $(foreach f,$(MY_INCLS), $(AROS_INCLUDES)/hidd/$(notdir $f))
7 GEN_INC     := $(foreach f,$(MY_INCLS), $(GENINCDIR)/hidd/$(notdir $f))
9 #MM
10 includes-copy : $(DEST_INC) $(GEN_INC)
11         @$(NOP)
13 $(AROS_INCLUDES)/hidd/%.h : include/%.h
14         @$(CP) $< $@
16 $(GENINCDIR)/hidd/%.h : include/%.h
17         @$(CP) $< $@
19 #MM
20 setup-includes :
21         %mkdirs_q $(GENINCDIR) $(AROS_INCLUDES) $(GENINCDIR)/hidd $(AROS_INCLUDES)/hidd
23 #MM
24 clean ::
25         -$(RM) $(OBJDIR) *.err $(LIB) *.s
27 FILES := mouse_init driverdata mouseclass subsystem
29 USER_CPPFLAGS += -D__OOP_NOLIBBASE__ -D__UTILITY_NOLIBBASE__
30 USER_LDFLAGS := -static
32 %build_module mmake=kernel-hidd-mouse \
33     modname=mouse modtype=hidd \
34     files="$(FILES)"
36 %common