annotate libvo/Makefile @ 2830:596a6ba3520f

never include files from public headers...
author arpi
date Sun, 11 Nov 2001 13:47:42 +0000
parents ae79207a3055
children 107d9e9e5bd1
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
2732
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2727
diff changeset
6 SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.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
1309
598e3047ce13 Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents: 1234
diff changeset
9 ifeq ($(TARGET_ARCH_X86),yes)
2244
4e464b527f5a vo_vesa support
nick
parents: 2056
diff changeset
10 ifeq ($(TARGET_OS),Linux)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents: 2244
diff changeset
11 SRCS += vo_vesa.c
2244
4e464b527f5a vo_vesa support
nick
parents: 2056
diff changeset
12 endif
1309
598e3047ce13 Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents: 1234
diff changeset
13 endif
598e3047ce13 Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents: 1234
diff changeset
14
2732
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2727
diff changeset
15 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 # -I/usr/X11R6/include/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
23 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
25 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 $(AR) r $(LIBNAME) $(OBJS)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27
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