annotate libvo/Makefile @ 958:162a78d3cc08

FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net
author arpi_esp
date Sun, 03 Jun 2001 00:31:41 +0000
parents 91087aaea5c7
children 6d3a6d42c831
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
698
f0fbf1a9bf31 Moving fast_memcpy to separate file (Size optimization)
nickols_k
parents: 326
diff changeset
6 SRCS=aclib.c osd.c font_load.c rgb15to16mmx.c yuv2rgb_mmx.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c x11_common.c $(OPTIONAL_SRCS)
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
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. -DMPG12PLAY
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 # -I/usr/X11R6/include/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
19 $(LIBNAME): .depend $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 distclean:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 dep: depend
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
31 depend: .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
33 .depend: Makefile config.mak ../config.mak ../config.h
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
36 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
37 # include dependency files if they exist
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
38 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
39 ifneq ($(wildcard .depend),)
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
40 include .depend
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
41 endif