Mercurial > mplayer.hg
annotate Gui/Makefile @ 20962:a95ed9a69caf
Put files fully owned by my under GPL v2 "or later"
author | reimar |
---|---|
date | Fri, 17 Nov 2006 10:03:33 +0000 |
parents | b1cebdd78625 |
children | 618d1857f4c4 |
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 |
19998 | 7 CFLAGS = $(INCDIR) $(OPTFLAGS) |
8 #CFLAGS += -DDEBUG | |
1693 | 9 |
18913 | 10 ifeq ($(TARGET_WIN32),yes) |
11 SRCS = win32/dialogs.c \ | |
12 win32/gui.c \ | |
13 win32/interface.c \ | |
14 win32/playlist.c \ | |
15 win32/preferences.c \ | |
16 win32/skinload.c \ | |
17 win32/widgetrender.c \ | |
19072 | 18 win32/wincfg.c \ |
19 | |
18913 | 20 else |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
21 SRCS = wm/ws.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
22 wm/wsxdnd.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
23 app.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
24 interface.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
25 cfg.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
26 bitmap.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
27 skin/skin.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
28 skin/font.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
29 skin/cut.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
30 mplayer/widgets.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
31 mplayer/play.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
32 mplayer/mw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
33 mplayer/sw.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
34 mplayer/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
35 mplayer/pb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
36 mplayer/common.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
37 mplayer/gtk/menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
38 mplayer/gtk/mb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
39 mplayer/gtk/about.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
40 mplayer/gtk/pl.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
41 mplayer/gtk/sb.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
42 mplayer/gtk/fs.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
43 mplayer/gtk/opts.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
44 mplayer/gtk/url.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17494
diff
changeset
|
45 mplayer/gtk/eq.c \ |
19072 | 46 mplayer/gtk/common.c \ |
47 | |
18913 | 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/*~ \ |
19493 | 71 win32/*.o win32/*~ \ |
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 |