annotate loader/dshow/Makefile @ 8910:69816009372d

sync
author nicolas
date Sun, 12 Jan 2003 14:18:15 +0000
parents d48db6256efb
children ce1ba8fd57e7
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
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
7 SRCS = DS_AudioDecoder.c DS_Filter.c DS_VideoDecoder.c allocator.c cmediasample.c guids.c inputpin.c outputpin.c
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
8 OBJS = $(SRCS:.c=.o)
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
9
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
10 # 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
11
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 1234
diff changeset
12 INCLUDE = -I. -I.. $(EXTRA_INC) -DNOAVIFILE_HEADERS
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
13 CFLAGS = $(OPTFLAGS) $(INCLUDE)
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
14
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
15 .SUFFIXES: .c .o
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
16
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
17 # .PHONY: all clean
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
18
3063
004e3199fee0 mplayer integration
arpi
parents: 1545
diff changeset
19 .c.o:
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
20 $(CC) -c $(CFLAGS) -o $@ $<
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
21
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 958
diff changeset
22 $(LIBNAME): $(OBJS)
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
23 $(AR) r $(LIBNAME) $(OBJS)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
24
169
550ebe869cec Added C-C++ interface in DS_VideoDec.h
arpi_esp
parents: 168
diff changeset
25 test: test.c $(LIBNAME)
7148
d48db6256efb use dir/libname.a instead of -Ldir -lname
arpi
parents: 7073
diff changeset
26 $(CC) test.c $(CFLAGS) -o test ./libDS_Filter.a ../libloader.a $(ARCH_LIBS) -lstdc++
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
27
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
28 all: $(LIBNAME)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
29
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
30 clean:
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
31 rm -f *.o *.a *~
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
32
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
33 distclean:
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
34 rm -f Makefile.bak *.o *.a *~ .depend test test.raw
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
35
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
36 dep: depend
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
37
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 958
diff changeset
38 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 189
diff changeset
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
168
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
40
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
41 #
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
42 # include dependency files if they exist
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
43 #
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
44 ifneq ($(wildcard .depend),)
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
45 include .depend
bdc4a8fc04d8 Initial revision
arpi_esp
parents:
diff changeset
46 endif
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents: 1234
diff changeset
47