Mercurial > mplayer.hg
annotate Gui/Makefile @ 7194:6df5abe8d967
fix flip handling bug
author | alex |
---|---|
date | Sat, 31 Aug 2002 13:29:26 +0000 |
parents | 0dc9cb756b68 |
children | 09722d199d83 |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
7122
0dc9cb756b68
freetype 2.0/2.1+ support - disabled by default until bugs fixed
arpi
parents:
6967
diff
changeset
|
7 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC) $(FREETYPE_INC) |
1693 | 8 |
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ | |
2024
8cb7643ef739
Remved cpu specific compiler optimizations, these should if at all be added dynamically by configure.
atmos4
parents:
1866
diff
changeset
|
10 -fexpensive-optimizations -fschedule-insns2 -Wall |
2025
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
11 ifeq ($(TARGET_ARCH_X86),yes) |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
12 OPTIMIZE += -malign-double |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
13 endif |
1693 | 14 |
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
16 | |
6967
0fa27966ac47
add xdnd support (from Gregory Kovriga <gkovriga@techunix.technion.ac.il>) and fix -subdelay bug
pontscho
parents:
6794
diff
changeset
|
17 SRCS = wm/ws.c wm/wsconv.c wm/wsxdnd.c app.c events.c interface.c cfg.c \ |
6625 | 18 bitmap/bitmap.c bitmap/tga/tga.c bitmap/bmp/bmp.c bitmap/png/png.c \ |
19 skin/skin.c skin/font.c skin/cut.c \ | |
20 mplayer/mplayer.c mplayer/widgets.c mplayer/play.c \ | |
21 mplayer/gtk/menu.c mplayer/gtk/mb.c mplayer/gtk/about.c mplayer/gtk/pl.c mplayer/gtk/sb.c mplayer/gtk/fs.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/gtk/eq.c | |
22 OBJS = $(SRCS:.c=.o) | |
23 | |
1693 | 24 .SUFFIXES: .c .o |
25 | |
26 .c.o: | |
27 $(CC) -c $(CFLAGS) -o $@ $< | |
28 | |
29 ### TARGETS ### | |
30 | |
31 $(LIB): .depend $(OBJS) | |
32 rm -f $(LIB) | |
6036 | 33 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) |
1693 | 34 |
35 all: $(LIB) | |
36 | |
37 clean: | |
38 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
39 | |
40 #dep: depend | |
41 # | |
42 #depend: | |
43 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
44 # | |
45 | |
46 distclean: clean | |
47 | |
48 dep: depend | |
49 | |
50 depend: .depend | |
51 | |
6625 | 52 .depend: Makefile config.mak |
1693 | 53 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
54 | |
55 # | |
56 # include dependency files if they exist | |
57 # | |
58 ifneq ($(wildcard .depend),) | |
59 include .depend | |
60 endif |