2 include $(TOP)/config/make.cfg
4 #MM- workbench-hidds : workbench-hidd-graphics
5 #MM- workbench-hidd-graphics : kernel-oop-linklib
6 #MM- workbench-hidd-graphics-kobj : kernel-oop-linklib
7 #MM- linklibs : workbench-hidd-graphics-stubs
9 FILES := graphics_init GraphicsClass BM_Class CM_Class GC_Class \
10 planarbm chunkybm convertpixels memblit \
13 USER_CFLAGS := -DAROS_USE_OOP
14 %build_module mmake=workbench-hidd-graphics \
15 modname=graphics modtype=hidd \
17 uselibs="hiddgraphicsstubs oop rom"
20 STUBS := $(LIBNAME)_stubs
21 STUB_FILE := $(LIBDIR)/libhidd$(LIBNAME)stubs.a
22 STUB_OBJS := $(foreach f,$(STUBS), $(OBJDIR)/$(f).o)
24 #MM workbench-hidd-graphics-setup :
25 workbench-hidd-graphics-setup : setup
27 #MM workbench-hidd-graphics-stubs : workbench-hidd-graphics-setup
28 workbench-hidd-graphics-stubs : $(STUB_FILE)
30 $(STUB_FILE) : $(STUB_OBJS) $(MY_INCLS)
31 %mklib_q from=$(STUB_OBJS)
33 $(STUB_OBJS) : | $(OBJDIR)
34 $(STUB_OBJS) : $(OBJDIR)/%.o : %.c
38 INCLUDE_FILES := $(wildcard include/*.h)
40 %copy_includes path=hidd dir=include
44 -$(RM) $(OBJDIR) *.err $(LIB) *.s