Disabled, because it makes the nightly builds fail quite often and it's already
[AROS-Contrib.git] / mui / gtk-mui / Makefile.AROS
blobb2b224403a8ffdef60e330ff12a9d329ed2a963f
1 # $Id: Makefile.AROS,v 1.15 2005/12/12 16:23:43 itix Exp $
3 # for aros adapted morphos makefile
5 #CC     = 
6 #RANLIB = 
7 #AR     = 
9 # Copy examples exes to TARGETDIR
10 TARGETDIR=aros
12 # ============== DEBUG OFF ============== 
13 CDEFS = 
14 CFLAGS = $(CDEFS) -O3 -Wall -I. -Iinclude -Iclasses  -I/home/oli/aros/AROS-20050718-i386-linux-system/Development/include/
16 # ============== DEBUG ON ============== 
17 #CDEFS = -DMGTK_DEBUG -DENABLE_RT=1
18 #CDEFS = -DMGTK_DEBUG 
19 #CFLAGS = $(CDEFS) -O3 -g -Wall -I. -Iinclude -Iclasses  -I/home/oli/aros/AROS-20050718-i386-linux-system/Development/include/
21 STATICLIBS = -lmui -larossupport -lamiga -larosc  -larosm
23 OBJS   = debug.o \
24          g_lib.o \
25          glib/gslist.o \
26          glib/g_object.o \
27    glib/gsignal.o \
28    glib/gstrfuncs2.o \
29    gdk/gdk_window.o \
30    gdk/gdk_draw.o \
31    gdk/gdkcolor.o \
32    gdk/gdkgc.o \
33     gdk/gdkmui.o \
34          gtk_init.o \
35          gtk_globals.o \
36          gtk_window.o \
37          gtk_style.o \
38          gtk_grab.o \
39          gtk_hooks.o \
40          gtk_menu.o \
41          gtk_button.o \
42          gtk_checkbutton.o \
43          gtk_table.o \
44          gtk_entry.o \
45          gtk_image.o \
46          gtk_label.o \
47          gtk_radio.o \
48          gtk_separator.o \
49          gtk_scrollbar.o \
50          gtk_arrow.o \
51          gtk_tooltips.o \
52          gtk_filesel.o \
53          gtk_frame.o \
54          gtk_spinbutton.o \
55          gtk_notebook.o \
56          gtk_progressbar.o \
57          gtk_timer.o \
58          gtk_fixed.o \
59          gtk_paint.o \
60          gtk_handle_box.o \
61          gtk_toolbar.o \
62          gtk_object.o \
63          gtk_custom.o \
64          gtk-mui.o \
65          classes/rootgroup.o \
66          classes/custom.o \
67          classes/table.o \
68          classes/notebook.o \
69          classes/progressbar.o \
70          classes/timer.o \
71          classes/fixed.o \
72          classes/button.o \
73          classes/spinbutton.o \
74          classes/checkbutton.o \
75          classes/togglebutton.o \
76          classes/radiobutton.o \
77          classes/menu.o \
78          classes/entry.o \
79          classes/toolbar.o \
80          classes/classext.o
82    
83 ECHO = echo
84 ECHE = echo -e
85 BOLD = 
86 NRML = 
88 COMPILING = @$(ECHE) "compiling $(BOLD)$@$(NRML)..."
89 LINKING = @$(ECHE) "linking $(BOLD)$@$(NRML)..."
90 STRIPPING = @$(ECHE) "stripping $(BOLD)$@$(NRML)..."
91 ARCHIVING = @$(ECHE) "archiving $(BOLD)$@$(NRML)..."
93 %.o: %.c
94         $(COMPILING)
95         $(CC) $(CFLAGS) -o $@ -c $*.c
97 all: libgtk-mui.a
99 classes/rootgroup.o: classes/classes.h
100 classes/table.o: classes/classes.h
102 libgtk-mui.a: $(OBJS)
103         $(ARCHIVING)
104         $(AR) rc libgtk-mui.a $(OBJS)
106 clean: 
107         rm -f $(OBJS) *.a
109 ex-clean:
110         rm -f examples/*.o examples/arrow examples/entry examples/filesel examples/frame examples/menu examples/radiobuttons examples/rangewidgets examples/table examples/tooltips examples/spinbutton examples/notebook examples/progressbar examples/fixed examples/buttons examples/toolbar examples/ttt_test examples/*.o
112 test: examples
113         cp examples/arrow examples/entry examples/filesel examples/frame examples/menu examples/radiobuttons examples/rangewidgets examples/table examples/tooltips examples/spinbutton examples/notebook examples/progressbar examples/fixed examples/ttt_test examples/buttons examples/toolbar examples/gpassutil/gpass examples/eurocalc/eurocalc examples/*.png examples/eurocalc/*.png examples/dial_test $(TARGETDIR)
115 examples: libgtk-mui.a arrow entry filesel frame menu radiobuttons rangewidgets table tooltips spinbutton notebook progressbar fixed tictactoe buttons toolbar gpass eurocalc dial
117 arrow: examples/arrow.c
118         $(CC) $(CFLAGS) examples/arrow.c -o examples/arrow -L. -lgtk-mui $(STATICLIBS)
120 entry: examples/entry.c
121         $(CC) $(CFLAGS) examples/entry.c -o examples/entry -L. -lgtk-mui $(STATICLIBS)
123 filesel: examples/filesel.c
124         $(CC) $(CFLAGS) examples/filesel.c -o examples/filesel -L. -lgtk-mui $(STATICLIBS)
126 frame: examples/frame.c
127         $(CC) $(CFLAGS) examples/frame.c -o examples/frame -L. -lgtk-mui $(STATICLIBS)
129 menu: examples/menu.c
130         $(CC) $(CFLAGS) examples/menu.c -o examples/menu -L. -lgtk-mui $(STATICLIBS)
132 radiobuttons: examples/radiobuttons.c
133         $(CC) $(CFLAGS) examples/radiobuttons.c -o examples/radiobuttons -L. -lgtk-mui $(STATICLIBS)
135 rangewidgets: examples/rangewidgets.c
136         $(CC) $(CFLAGS) examples/rangewidgets.c -o examples/rangewidgets -L. -lgtk-mui $(STATICLIBS)
138 table: examples/table.c
139         $(CC) $(CFLAGS) examples/table.c -o examples/table -L. -lgtk-mui $(STATICLIBS)
141 tooltips: examples/tooltips.c
142         $(CC) $(CFLAGS) examples/tooltips.c -o examples/tooltips -L. -lgtk-mui $(STATICLIBS)
144 spinbutton: examples/spinbutton.c
145         $(CC) $(CFLAGS) examples/spinbutton.c -o examples/spinbutton -L. -lgtk-mui $(STATICLIBS)
147 notebook: examples/notebook.c
148         $(CC) $(CFLAGS) examples/notebook.c -o examples/notebook -L. -lgtk-mui $(STATICLIBS)
150 progressbar: examples/progressbar.c
151         $(CC) $(CFLAGS) examples/progressbar.c -o examples/progressbar -L. -lgtk-mui $(STATICLIBS)
153 fixed: examples/fixed.c
154         $(CC) $(CFLAGS) examples/fixed.c -o examples/fixed -L. -lgtk-mui $(STATICLIBS)
156 buttons: examples/buttons.c
157         $(CC) $(CFLAGS) examples/buttons.c -o examples/buttons -L. -lgtk-mui $(STATICLIBS)
159 toolbar: examples/toolbar.c
160         $(CC) $(CFLAGS) examples/toolbar.c -o examples/toolbar -L. -lgtk-mui $(STATICLIBS)
162 tictactoe: examples/tictactoe.c examples/tictactoe.h examples/ttt_test.c
163         $(CC) examples/tictactoe.c $(CFLAGS)  -c -o examples/tictactoe.o 
164         $(CC) examples/ttt_test.c $(CFLAGS) -c -o examples/ttt_test.o
165         $(CC) examples/ttt_test.o examples/tictactoe.o -o examples/ttt_test -L. -lgtk-mui $(STATICLIBS)
167 dial: libgtk-mui.a examples/dial_test.c examples/gtkdial.c examples/gtkdial.h
168         $(CC) examples/dial_test.c $(CFLAGS)  -c -o examples/dial_test.o 
169         $(CC) examples/gtkdial.c $(CFLAGS)  -c -o examples/gtkdial.o 
170         $(CC) examples/dial_test.o examples/gtkdial.o -o examples/dial_test -L. -lgtk-mui $(STATICLIBS)
172 gpass: libgtk-mui.a
173         (cd examples/gpassutil;make)
175 eurocalc: libgtk-mui.a
176         (cd examples/eurocalc;make)