Mercurial > mplayer.hg
annotate libvo/Makefile @ 15745:3d712cf823c0
Sync with 1.1010
author | gpoirier |
---|---|
date | Fri, 17 Jun 2005 11:31:25 +0000 |
parents | c1a6002fb140 |
children | d3d30585a9d2 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
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 | 7 OBJS_TEMP=$(basename $(SRCS)) |
8 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 9 |
4089 | 10 ifeq ($(VIDIX),yes) |
4168 | 11 SRCS += vosub_vidix.c |
4089 | 12 endif |
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 | 15 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
16 .SUFFIXES: .c .o .m |
1 | 17 |
18 # .PHONY: all clean | |
19 | |
20 .c.o: | |
24 | 21 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 22 |
15291 | 23 .m.o: |
24 $(CC) -c $(CFLAGS) -o $@ $< | |
25 | |
1010 | 26 $(LIBNAME): $(OBJS) |
1 | 27 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 28 $(RANLIB) $(LIBNAME) |
1 | 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 | 33 all: $(LIBNAME) |
34 | |
35 clean: | |
36 rm -f *.o *.a *~ | |
37 | |
38 distclean: | |
24 | 39 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 40 |
41 dep: depend | |
42 | |
1010 | 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 | 45 |
24 | 46 # |
47 # include dependency files if they exist | |
48 # | |
49 ifneq ($(wildcard .depend),) | |
50 include .depend | |
51 endif |