annotate loader/dmo/Makefile @ 20158:7297d76977be

gcc 2.95 fix
author ods15
date Wed, 11 Oct 2006 20:53:33 +0000
parents eacc821fd889
children 618d1857f4c4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8294
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
1
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
2 LIBNAME = libDMO_Filter.a
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
3
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
4 include ../../config.mak
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
5
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
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 = DMO_AudioDecoder.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 DMO_VideoDecoder.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 buffer.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 dmo.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 dmo_guids.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12
8294
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
13 OBJS = $(SRCS:.c=.o)
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
14
19037
7a9a9748e045 OPTFLAGS already includes EXTRA_INC.
diego
parents: 17943
diff changeset
15 INCLUDE = -I. -I../dshow -I..
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 19037
diff changeset
16 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DNOAVIFILE_HEADERS
8294
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
17
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
18 .SUFFIXES: .c .o
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
19
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
20 # .PHONY: all clean
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
21
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
22 .c.o:
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
23 $(CC) -c $(CFLAGS) -o $@ $<
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
24
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
25 $(LIBNAME): $(OBJS)
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
26 $(AR) r $(LIBNAME) $(OBJS)
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
27
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
28 test: test.c $(LIBNAME)
19496
eacc821fd889 Remove reference to non-existent variable.
diego
parents: 19420
diff changeset
29 $(CC) test.c $(CFLAGS) -o test ./libDMO_Filter.a ../libloader.a -lstdc++
8294
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
30
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
31 all: $(LIBNAME)
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
32
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
33 clean:
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
34 rm -f *.o *.a *~
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
35
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 8325
diff changeset
36 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 8325
diff changeset
37 rm -f .depend test test.raw
8294
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
38
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
39 dep: depend
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
40
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
41 depend:
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
43
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
44 #
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
45 # include dependency files if they exist
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
46 #
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
47 ifneq ($(wildcard .depend),)
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
48 include .depend
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
49 endif
8e00b6a9e40b DMO interfaces (copied/converted(c++->c) from avifile)
arpi
parents:
diff changeset
50