Mercurial > mplayer.hg
annotate Gui/Makefile @ 17972:03170287aea9
10l missing header for strdup
mp_msg.c:103: warning: assignment makes pointer from integer without a cast
author | ods15 |
---|---|
date | Mon, 27 Mar 2006 08:38:32 +0000 |
parents | c127ce678083 |
children | 42e57ea2b91f |
rev | line source |
---|---|
1693 | 1 include ../config.mak |
2 include config.mak | |
3 | |
17396 | 4 LIBNAME = libgui.a |
5 | |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
12707
diff
changeset
|
6 INCDIR = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) |
1693 | 7 |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
13787
diff
changeset
|
8 OPTIMIZE = $(OPTFLAGS) |
1693 | 9 |
10 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
11 | |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
12 SRCS = wm/ws.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
13 wm/wsxdnd.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
14 app.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
15 interface.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
16 cfg.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
17 bitmap.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
18 skin/skin.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
19 skin/font.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
20 skin/cut.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
21 mplayer/widgets.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
22 mplayer/play.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
23 mplayer/mw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
24 mplayer/sw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
25 mplayer/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
26 mplayer/pb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
27 mplayer/common.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
28 mplayer/gtk/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
29 mplayer/gtk/mb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
30 mplayer/gtk/about.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
31 mplayer/gtk/pl.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
32 mplayer/gtk/sb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
33 mplayer/gtk/fs.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
34 mplayer/gtk/opts.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
35 mplayer/gtk/url.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
36 mplayer/gtk/eq.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
37 mplayer/gtk/common.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
38 |
6625 | 39 OBJS = $(SRCS:.c=.o) |
40 | |
1693 | 41 .SUFFIXES: .c .o |
42 | |
43 .c.o: | |
44 $(CC) -c $(CFLAGS) -o $@ $< | |
45 | |
46 ### TARGETS ### | |
47 | |
17396 | 48 $(LIBNAME): .depend $(OBJS) |
49 rm -f $(LIBNAME) | |
50 $(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS) | |
51 $(RANLIB) $(LIBNAME) | |
1693 | 52 |
17396 | 53 all: $(LIBNAME) |
1693 | 54 |
55 clean: | |
17494 | 56 rm -f *.o *.a *~ \ |
57 mplayer/*.o mplayer/*~ \ | |
58 mplayer/gtk/*.o mplayer/gtk/*~ \ | |
59 skin/*.o skin/*~ \ | |
60 wm/*.o wm/*~ | |
1693 | 61 |
62 #dep: depend | |
63 # | |
64 #depend: | |
65 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
66 # | |
67 | |
68 distclean: clean | |
17489
399f91dd4fbe
Make clean/distclean behave uniformly in all directories.
diego
parents:
17396
diff
changeset
|
69 rm -f .depend |
1693 | 70 |
71 dep: depend | |
72 | |
73 depend: .depend | |
74 | |
6625 | 75 .depend: Makefile config.mak |
1693 | 76 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
77 | |
78 # | |
79 # include dependency files if they exist | |
80 # | |
81 ifneq ($(wildcard .depend),) | |
82 include .depend | |
83 endif |