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
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
7217
7527dc997596 rewrite eq interface and add *.rm to fs
pontscho
parents: 7206
diff changeset
7 INCDIR = -I. -I../loader -I./wm -I./skin $(GTKINC) $(EXTRA_INC) $(FREETYPE_INC)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16
7206
09722d199d83 remove obsoleted files
pontscho
parents: 7122
diff changeset
17 SRCS = wm/ws.c wm/wsxdnd.c app.c events.c interface.c cfg.c \
7265
634d93c68912 - add workaround for fuckin locale
pontscho
parents: 7217
diff changeset
18 bitmap/bitmap.c bitmap/png/png.c \
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
19 skin/skin.c skin/font.c skin/cut.c \
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
20 mplayer/mplayer.c mplayer/widgets.c mplayer/play.c \
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
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
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
22 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
23
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 rm -f $(LIB)
6036
5d543521dd06 patchs by Bj«Órn Sandell <biorn@dce.chalmers.se>:
pl
parents: 2112
diff changeset
33 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
52 .depend: Makefile config.mak
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 endif