Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
15772 | 6 SRCS=aclib.c \ |
7 aspect.c \ | |
8 font_load.c \ | |
9 font_load_ft.c \ | |
10 geometry.c \ | |
11 osd.c \ | |
12 spuenc.c \ | |
13 sub.c \ | |
14 video_out.c \ | |
15 vo_mpegpes.c \ | |
16 vo_null.c \ | |
17 vo_yuv4mpeg.c \ | |
18 $(OPTIONAL_SRCS) \ | |
19 | |
15291 | 20 OBJS_TEMP=$(basename $(SRCS)) |
21 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 22 |
4089 | 23 ifeq ($(VIDIX),yes) |
4168 | 24 SRCS += vosub_vidix.c |
4089 | 25 endif |
26 | |
15772 | 27 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep \ |
28 $(FREETYPE_INC) \ | |
29 $(SDL_INC) \ | |
30 $(X11_INC) \ | |
31 $(EXTRA_INC) \ | |
32 $(DXR2_INC) \ | |
33 $(DIRECTFB_INC) \ | |
34 -DMPG12PLAY \ | |
35 | |
36 #CFLAGS += -Wall | |
1 | 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 | 39 |
40 # .PHONY: all clean | |
41 | |
42 .c.o: | |
24 | 43 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 44 |
15291 | 45 .m.o: |
46 $(CC) -c $(CFLAGS) -o $@ $< | |
47 | |
1010 | 48 $(LIBNAME): $(OBJS) |
1 | 49 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 50 $(RANLIB) $(LIBNAME) |
1 | 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 | 55 all: $(LIBNAME) |
56 | |
57 clean: | |
58 rm -f *.o *.a *~ | |
59 | |
60 distclean: | |
24 | 61 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 62 |
63 dep: depend | |
64 | |
1010 | 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 | 67 |
24 | 68 # |
69 # include dependency files if they exist | |
70 # | |
71 ifneq ($(wildcard .depend),) | |
72 include .depend | |
73 endif |