annotate loader/dshow/Makefile @ 20285:9ec1f7cffb3e

more updates on chinese translation patch by Sheldon Jin (jinsh2 yahoo com)
author kraymer
date Wed, 18 Oct 2006 00:29:41 +0000
parents eacc821fd889
children 618d1857f4c4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
1
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
2 LIBNAME = libDS_Filter.a
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
3
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
4 include ../../config.mak
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
5
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
6 # DS_AudioDec.c
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 SRCS = DS_AudioDecoder.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 DS_Filter.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 DS_VideoDecoder.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 allocator.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 cmediasample.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 guids.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 inputpin.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
14 outputpin.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
15
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
16 OBJS = $(SRCS:.c=.o)
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
17
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
18 # OBJS = DS_AudioDec.o DS_VideoDec.o DS_Filter.o allocator.o cmediasample.o guids.o inputpin.o outputpin.o
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
19
19411
45cfff547dbb consistency cosmetics: Add -DNOAVIFILE_HEADERS to CFLAGS instead of to INCLUDE.
diego
parents: 19037
diff changeset
20 INCLUDE = -I. -I..
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 19411
diff changeset
21 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DNOAVIFILE_HEADERS
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
22
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
23 .SUFFIXES: .c .o
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
24
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
25 # .PHONY: all clean
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
26
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
27 .c.o:
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
28 $(CC) -c $(CFLAGS) -o $@ $<
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
29
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 958
diff changeset
30 $(LIBNAME): $(OBJS)
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
31 $(AR) r $(LIBNAME) $(OBJS)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
32
169
550ebe869cec Added C-C++ interface in DS_VideoDec.h
arpi_esp
parents: 168
diff changeset
33 test: test.c $(LIBNAME)
19496
eacc821fd889 Remove reference to non-existent variable.
diego
parents: 19420
diff changeset
34 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a -lstdc++
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
35
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
36 all: $(LIBNAME)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
37
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
38 clean:
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
39 rm -f *.o *.a *~
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
40
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 7148
diff changeset
41 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 7148
diff changeset
42 rm -f .depend test test.raw
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
43
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
44 dep: depend
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
45
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 958
diff changeset
46 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
48
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
49 #
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
50 # include dependency files if they exist
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
51 #
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
52 ifneq ($(wildcard .depend),)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
53 include .depend
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
54 endif
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 1234
diff changeset
55