annotate libmenu/Makefile @ 18707:60a60dbf7a88

Remove extern declaration for free_sh_audio() that is both unused and already present from stheader.h. (Would cause a compile error after my next change.)
author uau
date Wed, 14 Jun 2006 13:47:11 +0000
parents c127ce678083
children 7a9a9748e045
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
1
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
2 include ../config.mak
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
3
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
4 LIBNAME = libmenu.a
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
5
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
6 SRCS= menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 vf_menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 menu_cmdlist.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 menu_pt.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 menu_list.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 menu_filesel.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 menu_txt.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 menu_console.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
14 menu_param.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
15
10626
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
16 ifeq ($(DVBIN),yes)
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
17 SRCS += menu_dvbin.c
10791
fdf41cac41ac libmenu is missing the dvb headers, patch by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 10626
diff changeset
18 EXTRA_INC += $(DVB_INC)
10626
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
19 endif
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20 OBJS=$(SRCS:.c=.o)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
21
17381
7af5fe0860a1 This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents: 12632
diff changeset
22 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
23
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24 .SUFFIXES: .c .o
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
27 .c.o:
8224
fefc56153615 Fix freetype. Freetype is highly recommended for a nice output ;)
albeu
parents: 8197
diff changeset
28 $(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $<
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
30 $(LIBNAME): $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
31 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10791
diff changeset
32 $(RANLIB) $(LIBNAME)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34 all: $(LIBNAME)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
35
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
36 clean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
37 rm -f *.o *.a *~
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
38
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
39 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
40 rm -f .depend
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
41
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
42 dep: depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
43
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
44 depend:
8623
440301fef3fe Added/reordered #includes to silence warnings about "implicit declaration".
rathann
parents: 8224
diff changeset
45 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
46
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
47 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
48 # include dependency files if they exist
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
49 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
50 ifneq ($(wildcard .depend),)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
51 include .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
52 endif