annotate libvo/Makefile @ 16264:7949a0c4e5ad

gtf.{c,h} is used by vesa only
author alex
date Thu, 18 Aug 2005 12:59:19 +0000
parents d3d30585a9d2
children 96be528902fd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 include config.mak
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 LIBNAME = libvo.a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
6 SRCS=aclib.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
7 aspect.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
8 font_load.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
9 font_load_ft.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
10 geometry.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
11 osd.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
12 spuenc.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
13 sub.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
14 video_out.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
15 vo_mpegpes.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
16 vo_null.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
17 vo_yuv4mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
18 $(OPTIONAL_SRCS) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
19
15291
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
20 OBJS_TEMP=$(basename $(SRCS))
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
21 OBJS=$(OBJS_TEMP:%=%.o)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
23 ifeq ($(VIDIX),yes)
4168
2d8403f1c54e Fix xvidix for non-x11 systems, 10l Alex :)
atmos4
parents: 4124
diff changeset
24 SRCS += vosub_vidix.c
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
25 endif
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
26
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
27 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
28 $(FREETYPE_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
29 $(SDL_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
30 $(X11_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
31 $(EXTRA_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
32 $(DXR2_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
33 $(DIRECTFB_INC) \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
34 -DMPG12PLAY \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
35
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15473
diff changeset
36 #CFLAGS += -Wall
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37
15473
c1a6002fb140 If we use .m suffix we really should include it in .SUFFIXES
wight
parents: 15291
diff changeset
38 .SUFFIXES: .c .o .m
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
43 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44
15291
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
45 .m.o:
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
46 $(CC) -c $(CFLAGS) -o $@ $<
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
47
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
48 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 $(AR) r $(LIBNAME) $(OBJS)
12634
e03ae519f344 ranlib cleanup
alex
parents: 11765
diff changeset
50 $(RANLIB) $(LIBNAME)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
52 vo_mpegpes.o: vo_mpegpes.c
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
53 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $<
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
54
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 distclean:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
61 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63 dep: depend
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
65 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
66 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
68 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
69 # include dependency files if they exist
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
70 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
71 ifneq ($(wildcard .depend),)
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
72 include .depend
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
73 endif