Mercurial > mplayer.hg
annotate Gui/Makefile @ 19022:e03e218c592a
- svn sync tag added
- small updates
author | boskicinek |
---|---|
date | Wed, 12 Jul 2006 13:13:16 +0000 |
parents | 2dc84d07332c |
children | 9fd34039e6df |
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 | |
18913 | 12 ifeq ($(TARGET_WIN32),yes) |
13 SRCS = win32/dialogs.c \ | |
14 win32/gui.c \ | |
15 win32/interface.c \ | |
16 win32/playlist.c \ | |
17 win32/preferences.c \ | |
18 win32/skinload.c \ | |
19 win32/widgetrender.c \ | |
20 win32/wincfg.c | |
21 else | |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
22 SRCS = wm/ws.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
23 wm/wsxdnd.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
24 app.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
25 interface.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
26 cfg.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
27 bitmap.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
28 skin/skin.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
29 skin/font.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
30 skin/cut.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
31 mplayer/widgets.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
32 mplayer/play.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
33 mplayer/mw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
34 mplayer/sw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
35 mplayer/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
36 mplayer/pb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
37 mplayer/common.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
38 mplayer/gtk/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
39 mplayer/gtk/mb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
40 mplayer/gtk/about.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
41 mplayer/gtk/pl.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
42 mplayer/gtk/sb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
43 mplayer/gtk/fs.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
44 mplayer/gtk/opts.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
45 mplayer/gtk/url.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
46 mplayer/gtk/eq.c \ |
18913 | 47 mplayer/gtk/common.c |
48 endif | |
6625 | 49 OBJS = $(SRCS:.c=.o) |
50 | |
1693 | 51 .SUFFIXES: .c .o |
52 | |
53 .c.o: | |
54 $(CC) -c $(CFLAGS) -o $@ $< | |
55 | |
56 ### TARGETS ### | |
57 | |
18483
42e57ea2b91f
Make depend targets consistent: Remove redirection through .depend target.
diego
parents:
17943
diff
changeset
|
58 $(LIBNAME): $(OBJS) |
17396 | 59 rm -f $(LIBNAME) |
60 $(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS) | |
61 $(RANLIB) $(LIBNAME) | |
1693 | 62 |
17396 | 63 all: $(LIBNAME) |
1693 | 64 |
65 clean: | |
17494 | 66 rm -f *.o *.a *~ \ |
67 mplayer/*.o mplayer/*~ \ | |
68 mplayer/gtk/*.o mplayer/gtk/*~ \ | |
69 skin/*.o skin/*~ \ | |
18913 | 70 wm/*.o wm/*~ \ |
71 win32/*.o | |
1693 | 72 |
73 #dep: depend | |
74 # | |
75 #depend: | |
76 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
77 # | |
78 | |
79 distclean: clean | |
17489
399f91dd4fbe
Make clean/distclean behave uniformly in all directories.
diego
parents:
17396
diff
changeset
|
80 rm -f .depend |
1693 | 81 |
82 dep: depend | |
83 | |
18483
42e57ea2b91f
Make depend targets consistent: Remove redirection through .depend target.
diego
parents:
17943
diff
changeset
|
84 depend: |
1693 | 85 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
86 | |
87 # | |
88 # include dependency files if they exist | |
89 # | |
90 ifneq ($(wildcard .depend),) | |
91 include .depend | |
92 endif |