Mercurial > mplayer.hg
annotate Gui/Makefile @ 8635:81dbd28ef7c0
these patches let ,,oldstyle'' and freetype subtitle renderers live
together happily. if an oldstyle subtitle (font.desc) is found, it will
be used. otherwise mplayer will choose subfont.ttf, if freetype was
detected during ./configure.
(also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too)
patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net>
author | arpi |
---|---|
date | Sun, 29 Dec 2002 14:59:23 +0000 |
parents | 226e6866212d |
children | 0a665389cf2b |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
8136 | 7 INCDIR = -I. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) |
1693 | 8 |
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ | |
8273
226e6866212d
reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
rathann
parents:
8255
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 | |
8058 | 17 SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \ |
6625 | 18 skin/skin.c skin/font.c skin/cut.c \ |
8058 | 19 mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c \ |
8181 | 20 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 mplayer/gtk/common.c |
6625 | 21 OBJS = $(SRCS:.c=.o) |
22 | |
1693 | 23 .SUFFIXES: .c .o |
24 | |
25 .c.o: | |
26 $(CC) -c $(CFLAGS) -o $@ $< | |
27 | |
28 ### TARGETS ### | |
29 | |
30 $(LIB): .depend $(OBJS) | |
31 rm -f $(LIB) | |
6036 | 32 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) |
1693 | 33 |
34 all: $(LIB) | |
35 | |
36 clean: | |
37 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
38 | |
39 #dep: depend | |
40 # | |
41 #depend: | |
42 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
43 # | |
44 | |
45 distclean: clean | |
46 | |
47 dep: depend | |
48 | |
49 depend: .depend | |
50 | |
6625 | 51 .depend: Makefile config.mak |
1693 | 52 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
53 | |
54 # | |
55 # include dependency files if they exist | |
56 # | |
57 ifneq ($(wildcard .depend),) | |
58 include .depend | |
59 endif |