2 include $(TOP)/config/make.cfg
4 CLASSES := buttonclass textclass sliderclass arrowclass scrollerclass \
5 stringclass listviewclass checkboxclass cycleclass mxclass \
8 FILES := basicfuncs gadgets menus $(CLASSES)
9 FUNCS := createcontext \
29 #MM workbench-libs-gadtools-includes : \
30 #MM kernel-exec-includes \
31 #MM kernel-dos-includes \
32 #MM kernel-utility-includes \
33 #MM kernel-graphics-includes \
34 #MM kernel-intuition-includes \
35 #MM kernel-layers-includes \
37 #MM- workbench-libs-gadtools : linklibs
39 %build_module mmake=workbench-libs-gadtools \
40 modname=gadtools modtype=library \
41 files="gadtools_init $(FUNCS) $(FILES)" \
44 # (bernie) this hack disables optimization on classes.c to fix a problem in the
45 # current Amiga version of gcc and egcs. Using inline asm macros to perform
46 # shared library calls sometimes leads the optimizer to a dead-end situation
47 # where one of the registers involved in the inline asm macro gets spilled on
50 # stegerg: classes.c file was split into one c file per class. sorry :(
53 #$(OBJDIR)/classes.o : classes.c
54 # %compile_q opt="$(filter-out -O%,$(CFLAGS)) -O0"