Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / all-unix / hidd / unixio / mmakefile.src
blob0485c1e180940c18d349c374b61f6b0b5f473daa
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM kernel-unixio : kernel-kernel-includes hidd-unixio-stubs
6 #MM kernel-unixio-kobj : kernel-kernel-includes hidd-unixio-stubs
8 USER_CFLAGS := -DHOST_OS_$(ARCH) -DHOST_OS_$(AROS_TARGET_VARIANT) \
9                -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\"" \
10                -isystem $(GENINCDIR) $(KERNEL_INCLUDES)
12 ifeq ($(ARCH),darwin)
13 USER_CFLAGS += -D_FORTIFY_SOURCE=0
14 endif
16 ## The '-Wno-attributes' is here due to a gcc 4.5.x bug
17 ## where its strcmp() builtin generates a number of spurious
18 ## complaints with -O1 or higher optimizations enabled.
19 USER_CFLAGS += -Wno-attributes
21 USER_LDFLAGS := -static
23 #MM- includes-generate: kernel-unixio-includes
25 %build_module mmake=kernel-unixio \
26     modname=unixio modtype=hidd version=$(AROS_TARGET_PLATFORM) \
27     files="unixio_class unixpkt_class" archspecific=yes
29 MY_INCLS := $(call WILDCARD, include/*.h)
30 DEST_INC := $(foreach f,$(MY_INCLS), $(AROS_INCLUDES)/hidd/$(notdir $f))
31 GEN_INC  := $(foreach f,$(MY_INCLS), $(GENINCDIR)/hidd/$(notdir $f))
33 INCLUDE_FILES    := $(call WILDCARD, include/*.h)
35 %copy_includes path=hidd dir=include
37 %common