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