annotate vidix/Makefile @ 9344:bd7b5078475e

1) codecs.conf changed recently and demux_gif no longer needs to spit out BGR8 upside-down. the workaround for this is removed. 2) fixes a bug so that streaming gifs now works, and removes a workaround no longer needed. now libgif uses mplayer's stream_read function and thus http streaming, etc, works with demux_gif. 3) cosmetic clean-up because i no longer plan to support certain GIF extensions that would be more difficult to implement. patch by Joey Parrish <joey@nicewarrior.org>
author arpi
date Sat, 08 Feb 2003 15:49:03 +0000
parents b69ddd4d3bb9
children 80973aa180a5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
1 LIBNAME = libvidix.a
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
2 SUBDIRS = drivers
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
3 DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
4
dcc632dd2097 preliminary version
nick
parents:
diff changeset
5 include ../config.mak
dcc632dd2097 preliminary version
nick
parents:
diff changeset
6
dcc632dd2097 preliminary version
nick
parents:
diff changeset
7 SRCS = vidixlib.c
dcc632dd2097 preliminary version
nick
parents:
diff changeset
8 OBJS = $(SRCS:.c=.o)
dcc632dd2097 preliminary version
nick
parents:
diff changeset
9
7073
b69ddd4d3bb9 removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents: 4030
diff changeset
10 CFLAGS = $(OPTFLAGS)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
11
dcc632dd2097 preliminary version
nick
parents:
diff changeset
12 .SUFFIXES: .c .o
dcc632dd2097 preliminary version
nick
parents:
diff changeset
13
dcc632dd2097 preliminary version
nick
parents:
diff changeset
14 # .PHONY: all clean
dcc632dd2097 preliminary version
nick
parents:
diff changeset
15
dcc632dd2097 preliminary version
nick
parents:
diff changeset
16 .c.o:
dcc632dd2097 preliminary version
nick
parents:
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
dcc632dd2097 preliminary version
nick
parents:
diff changeset
18
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
19 all: $(SUBDIRS) $(LIBNAME)
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
20 $(DO_MAKE)
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
21
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
22 $(LIBNAME): $(OBJS)
dcc632dd2097 preliminary version
nick
parents:
diff changeset
23 $(AR) r $(LIBNAME) $(OBJS)
dcc632dd2097 preliminary version
nick
parents:
diff changeset
24
dcc632dd2097 preliminary version
nick
parents:
diff changeset
25
dcc632dd2097 preliminary version
nick
parents:
diff changeset
26 clean:
dcc632dd2097 preliminary version
nick
parents:
diff changeset
27 rm -f *.o *.a *~
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
28 $(DO_MAKE)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
29
dcc632dd2097 preliminary version
nick
parents:
diff changeset
30 distclean:
dcc632dd2097 preliminary version
nick
parents:
diff changeset
31 rm -f test *.o *.a *~ .depend
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
32 $(DO_MAKE)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
33
dcc632dd2097 preliminary version
nick
parents:
diff changeset
34 dep: depend
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
35 $(DO_MAKE)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
36
dcc632dd2097 preliminary version
nick
parents:
diff changeset
37 depend:
dcc632dd2097 preliminary version
nick
parents:
diff changeset
38 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
dcc632dd2097 preliminary version
nick
parents:
diff changeset
39
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
40 install:
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
41 $(DO_MAKE)
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
42
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
43 #
dcc632dd2097 preliminary version
nick
parents:
diff changeset
44 # include dependency files if they exist
dcc632dd2097 preliminary version
nick
parents:
diff changeset
45 #
dcc632dd2097 preliminary version
nick
parents:
diff changeset
46 ifneq ($(wildcard .depend),)
dcc632dd2097 preliminary version
nick
parents:
diff changeset
47 include .depend
dcc632dd2097 preliminary version
nick
parents:
diff changeset
48 endif