annotate libvo/Makefile @ 15305:d185d5391694

compilation fix for codecs2html
author diego
date Sat, 30 Apr 2005 16:15:07 +0000
parents 21e7332ea44e
children c1a6002fb140
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
13744
d66e3d5865b8 Add --enable and --disable options for vo_pnm and vo_md5sum to configure.
ivo
parents: 13507
diff changeset
6 SRCS=geometry.c aspect.c aclib.c osd.c font_load.c gtf.c spuenc.c video_out.c vo_null.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c
15291
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
7 OBJS_TEMP=$(basename $(SRCS))
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
8 OBJS=$(OBJS_TEMP:%=%.o)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
10 ifeq ($(VIDIX),yes)
4168
2d8403f1c54e Fix xvidix for non-x11 systems, 10l Alex :)
atmos4
parents: 4124
diff changeset
11 SRCS += vosub_vidix.c
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
12 endif
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
13
11765
e0b096f0e640 linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents: 11574
diff changeset
14 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep $(FREETYPE_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DIRECTFB_INC) -DMPG12PLAY #-Wall
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
15291
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
23 .m.o:
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
24 $(CC) -c $(CFLAGS) -o $@ $<
21e7332ea44e macosx core video module
nplourde
parents: 13744
diff changeset
25
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
26 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 $(AR) r $(LIBNAME) $(OBJS)
12634
e03ae519f344 ranlib cleanup
alex
parents: 11765
diff changeset
28 $(RANLIB) $(LIBNAME)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
30 vo_mpegpes.o: vo_mpegpes.c
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
31 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $<
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
32
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 distclean:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
39 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 dep: depend
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
43 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
44 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
46 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
47 # include dependency files if they exist
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
48 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
49 ifneq ($(wildcard .depend),)
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
50 include .depend
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
51 endif