Mercurial > mplayer.hg
annotate libvo/Makefile @ 11251:731652167590
-vf fil
author | michael |
---|---|
date | Thu, 23 Oct 2003 21:52:44 +0000 |
parents | efb6dcac967d |
children | 5b9e66e50cdc |
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 | |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
13 CFLAGS = $(OPTFLAGS) -I. -I.. $(FREETYPE_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DIRECTFB_INC) -DMPG12PLAY #-Wall |
4089 | 14 ifeq ($(VIDIX),yes) |
15 CFLAGS += -DVIDIX_PATH='"$(prefix)/lib/mplayer/vidix/"' | |
16 endif | |
1 | 17 # -I/usr/X11R6/include/ |
18 | |
19 .SUFFIXES: .c .o | |
20 | |
21 # .PHONY: all clean | |
22 | |
23 .c.o: | |
24 | 24 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 25 |
1010 | 26 $(LIBNAME): $(OBJS) |
1 | 27 $(AR) r $(LIBNAME) $(OBJS) |
28 | |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
29 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
30 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
31 |
1 | 32 all: $(LIBNAME) |
33 | |
34 clean: | |
35 rm -f *.o *.a *~ | |
36 | |
37 distclean: | |
24 | 38 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 39 |
40 dep: depend | |
41 | |
1010 | 42 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
43 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 44 |
24 | 45 # |
46 # include dependency files if they exist | |
47 # | |
48 ifneq ($(wildcard .depend),) | |
49 include .depend | |
50 endif |