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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1 include ../config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
3 LIBNAME = libgui.a
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
4
19190
1ea5c31932fd Unify include paths in the build system, part I.
diego
parents: 19072
diff changeset
5 INCDIR = -I. -I.. -I../loader -I./wm -I./skin
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
19052
6866e768aef8 Streamline GUI build.
diego
parents: 19037
diff changeset
7 CFLAGS = $(OPTFLAGS) $(INCDIR) -DDEBUG
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
9 ifeq ($(TARGET_WIN32),yes)
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
10 SRCS = win32/dialogs.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
11 win32/gui.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
12 win32/interface.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
13 win32/playlist.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
14 win32/preferences.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
15 win32/skinload.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
16 win32/widgetrender.c \
19072
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
17 win32/wincfg.c \
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
18
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
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
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
45 mplayer/gtk/common.c \
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
46
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
47 endif
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
48 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
49
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56
18483
42e57ea2b91f Make depend targets consistent: Remove redirection through .depend target.
diego
parents: 17943
diff changeset
57 $(LIBNAME): $(OBJS)
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
58 rm -f $(LIBNAME)
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
59 $(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS)
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
60 $(RANLIB) $(LIBNAME)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
62 all: $(LIBNAME)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
63
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
64 clean:
17494
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
65 rm -f *.o *.a *~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
66 mplayer/*.o mplayer/*~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
67 mplayer/gtk/*.o mplayer/gtk/*~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
68 skin/*.o skin/*~ \
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
69 wm/*.o wm/*~ \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
70 win32/*.o
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
72 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
78 distclean: clean
17489
399f91dd4fbe Make clean/distclean behave uniformly in all directories.
diego
parents: 17396
diff changeset
79 rm -f .depend
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
80
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
81 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
82
18483
42e57ea2b91f Make depend targets consistent: Remove redirection through .depend target.
diego
parents: 17943
diff changeset
83 depend:
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
84 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
85
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
86 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
87 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
88 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
89 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
90 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
91 endif