Allow multiple volumes with the same name if their creation dates differ.
[AROS.git] / workbench / libs / gadtools / mmakefile.src
blob50db057da7a1c295735adf5bbce6da48682d1090
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 CLASSES :=  buttonclass textclass sliderclass arrowclass scrollerclass \
5             stringclass listviewclass checkboxclass cycleclass mxclass \
6             paletteclass
7                    
8 FILES   :=  basicfuncs gadgets menus $(CLASSES)
9 FUNCS   :=  createcontext \
10             creategadgeta \
11             createmenusa \
12             drawbevelboxa \
13             freegadgets \
14             freemenus \
15             freevisualinfo \
16             getvisualinfoa \
17             gt_beginrefresh \
18             gt_endrefresh \
19             gt_filterimsg \
20             gt_getgadgetattrsa \
21             gt_getimsg \
22             gt_postfilterimsg \
23             gt_refreshwindow \
24             gt_replyimsg \
25             gt_setgadgetattrsa \
26             layoutmenuitemsa \
27             layoutmenusa
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 \
36 #MM     includes-copy
37 #MM- workbench-libs-gadtools : linklibs
38 #MM- core-linklibs : linklibs-gadtools
40 USER_CFLAGS := -D__NOLIBBASE__
41 USER_LDFLAGS := -static
43 %build_module mmake=workbench-libs-gadtools \
44     modname=gadtools modtype=library \
45     files="gadtools_init $(FUNCS) $(FILES)"
47 # (bernie) this hack disables optimization on classes.c to fix a problem in the
48 # current Amiga version of gcc and egcs. Using inline asm macros to perform
49 # shared library calls sometimes leads the optimizer to a dead-end situation
50 # where one of the registers involved in the inline asm macro gets spilled on
51 # the frame.
53 # stegerg: classes.c file was split into one c file per class. sorry :(
55 #ifeq ($(ARCH),amiga)
56 #$(OBJDIR)/classes.o : classes.c
57 #       %compile_q opt="$(filter-out -O%,$(CFLAGS)) -O0"
58 #endif
60 %common