Mercurial > mplayer.hg
annotate libmpeg2/Makefile @ 7051:d03fad6123a3
asserts to check buffer size and non overlapingness
author | michael |
---|---|
date | Wed, 21 Aug 2002 19:08:24 +0000 |
parents | 0cdc1388f02f |
children | 47984e3f54ce |
rev | line source |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | |
3 | |
4 include ../config.mak | |
5 | |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
6 SRCS = header.c idct.c idct_mmx.c idct_mlib.c \ |
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
7 motion_comp.c motion_comp_mmx.c motion_comp_mlib.c \ |
5515 | 8 slice.c stats.c # decode.c |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
9 OBJS = $(SRCS:.c=.o) |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
10 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) $(MLIB_INC) |
27 | 11 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
1 | 12 |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
27 | 18 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 19 |
1010 | 20 $(LIBNAME): $(OBJS) |
1 | 21 $(AR) r $(LIBNAME) $(OBJS) |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
27 | 29 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 30 |
27 | 31 dep: depend |
1 | 32 |
1010 | 33 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 35 |
27 | 36 # |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |