Mercurial > mplayer.hg
annotate Gui/Makefile @ 7719:41e8d0916c60
Fix for audio filters on big endian cpus. It's working now on Solaris SPARC &
x86
author | jkeil |
---|---|
date | Sat, 12 Oct 2002 20:02:01 +0000 |
parents | 634d93c68912 |
children | e5dda05f9aab |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
7217 | 7 INCDIR = -I. -I../loader -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 | |
7206 | 17 SRCS = wm/ws.c wm/wsxdnd.c app.c events.c interface.c cfg.c \ |
7265 | 18 bitmap/bitmap.c bitmap/png/png.c \ |
6625 | 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 |