annotate loader/dshow/Makefile @ 4823:d25b898c4c44

Make old and new lirc support independant from each other
author albeu
date Sat, 23 Feb 2002 21:18:40 +0000
parents 004e3199fee0
children b69ddd4d3bb9
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)
958
162a78d3cc08 FreeBSD support by Vladimir Kushnir vkushnir@Alfacom.net
arpi_esp
parents: 866
diff changeset
26 $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(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