annotate Gui/Makefile @ 1923:40084ad62591

do_cpuid stored the results of the cpuid instruction in the wrong place (overwriting stack memory) To work around the buggy do_cpuid, localcount_stub was using a bogus test to test for the availability of the TSC register. Both problems fixed.
author jkeil
date Thu, 20 Sep 2001 09:12:29 +0000
parents 32b1bb50a0e8
children 8cb7643ef739
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 LIB = libgui.a
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 include ../config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 include config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 include bitmap/bitmap.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 MPLAYERDIR = mplayer/
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 include gui.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \
1840
07fd7d1b8cc9 gcc 3 error fix
pontscho
parents: 1693
diff changeset
14 -fexpensive-optimizations -malign-double -fschedule-insns2 -Wall
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 $(MAKE) -C mplayer
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 rm -f $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 ar rc $(LIB) $(OBJS) $(MPLAYEROBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 $(MAKE) -C mplayer clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47
1866
32b1bb50a0e8 some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents: 1840
diff changeset
48 .depend: Makefile config.mak gui.mak bitmap/bitmap.mak
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 $(MAKE) -C mplayer depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 endif