annotate loader/dshow/Makefile @ 17943:c127ce678083

cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines to ease patching in the future.
author diego
date Sat, 25 Mar 2006 10:38:37 +0000
parents ce1ba8fd57e7
children 7a9a9748e045
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
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 1234
diff changeset
20 INCLUDE = -I. -I.. $(EXTRA_INC) -DNOAVIFILE_HEADERS
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
21 CFLAGS = $(OPTFLAGS) $(INCLUDE)
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)
7148
d48db6256efb use dir/libname.a instead of -Ldir -lname
arpi
parents: 7073
diff changeset
34 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a $(ARCH_LIBS) -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