annotate libvo/Makefile @ 11765:e0b096f0e640

linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr> no idea whether this really works :)
author attila
date Sat, 10 Jan 2004 09:48:15 +0000
parents 5b9e66e50cdc
children e03ae519f344
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
7866
732a8bfc7681 Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents: 7122
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_pgm.c vo_md5.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
7 OBJS=$(SRCS:.c=.o)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
9 ifeq ($(VIDIX),yes)
4168
2d8403f1c54e Fix xvidix for non-x11 systems, 10l Alex :)
atmos4
parents: 4124
diff changeset
10 SRCS += vosub_vidix.c
4089
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
11 endif
e1c6178de089 Configurable VIDIX usage
nick
parents: 4088
diff changeset
12
11765
e0b096f0e640 linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents: 11574
diff changeset
13 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
14
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
20 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
22 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 $(AR) r $(LIBNAME) $(OBJS)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
25 vo_mpegpes.o: vo_mpegpes.c
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
26 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $<
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 8136
diff changeset
27
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 distclean:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
34 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 dep: depend
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
38 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
41 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
42 # include dependency files if they exist
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
43 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
44 ifneq ($(wildcard .depend),)
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
45 include .depend
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
46 endif