Mercurial > mplayer.hg
annotate libvo/Makefile @ 2346:7d702c3ef0ad
updated - by zsteva@ptt.yu
author | arpi |
---|---|
date | Sun, 21 Oct 2001 17:34:40 +0000 |
parents | 4e464b527f5a |
children | ec8ff6ea4af6 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
2056 | 6 SRCS=aspect.c aclib.c osd.c font_load.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.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 | 8 |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
9 ifeq ($(TARGET_ARCH_X86),yes) |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
10 SRCS += rgb15to16mmx.c yuv2rgb_mmx.c |
2244 | 11 ifeq ($(TARGET_OS),Linux) |
12 SRCS += vo_vesa.c ../linux/lrmi.c ../linux/vbelib.c | |
13 endif | |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
14 endif |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
15 |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1552
diff
changeset
|
16 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(MLIB_INC) -DMPG12PLAY #-Wall |
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 | |
29 all: $(LIBNAME) | |
30 | |
31 clean: | |
32 rm -f *.o *.a *~ | |
33 | |
34 distclean: | |
24 | 35 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 36 |
37 dep: depend | |
38 | |
1010 | 39 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 41 |
24 | 42 # |
43 # include dependency files if they exist | |
44 # | |
45 ifneq ($(wildcard .depend),) | |
46 include .depend | |
47 endif |