Mercurial > mplayer.hg
annotate libvo/Makefile @ 12972:c8900eba2cc7
now use vo_rootwin var to check for -rootwin switch
author | nplourde |
---|---|
date | Sun, 08 Aug 2004 23:22:29 +0000 |
parents | e03ae519f344 |
children | 6cfffb50ea42 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
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 | 8 |
4089 | 9 ifeq ($(VIDIX),yes) |
4168 | 10 SRCS += vosub_vidix.c |
4089 | 11 endif |
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 | 14 |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
24 | 20 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 21 |
1010 | 22 $(LIBNAME): $(OBJS) |
1 | 23 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 24 $(RANLIB) $(LIBNAME) |
1 | 25 |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
26 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
27 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
28 |
1 | 29 all: $(LIBNAME) |
30 | |
31 clean: | |
32 rm -f *.o *.a *~ | |
33 | |
34 distclean: | |
24 | 35 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 36 |
37 dep: depend | |
38 | |
1010 | 39 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 41 |
24 | 42 # |
43 # include dependency files if they exist | |
44 # | |
45 ifneq ($(wildcard .depend),) | |
46 include .depend | |
47 endif |