Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
7 include bitmap/bitmap.mak | |
8 MPLAYERDIR = mplayer/ | |
9 include gui.mak | |
10 | |
11 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) | |
12 | |
13 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ | |
1840 | 14 -fexpensive-optimizations -malign-double -fschedule-insns2 -Wall |
1693 | 15 |
16 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
17 | |
18 .SUFFIXES: .c .o | |
19 | |
20 .c.o: | |
21 $(CC) -c $(CFLAGS) -o $@ $< | |
22 | |
23 ### TARGETS ### | |
24 | |
25 $(LIB): .depend $(OBJS) | |
26 $(MAKE) -C mplayer | |
27 rm -f $(LIB) | |
28 ar rc $(LIB) $(OBJS) $(MPLAYEROBJS) | |
29 | |
30 all: $(LIB) | |
31 | |
32 clean: | |
33 $(MAKE) -C mplayer clean | |
34 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
35 | |
36 #dep: depend | |
37 # | |
38 #depend: | |
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
40 # | |
41 | |
42 distclean: clean | |
43 | |
44 dep: depend | |
45 | |
46 depend: .depend | |
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 | 49 $(MAKE) -C mplayer depend |
50 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
51 | |
52 # | |
53 # include dependency files if they exist | |
54 # | |
55 ifneq ($(wildcard .depend),) | |
56 include .depend | |
57 endif |