2001-07-23 20:06:54 +00:00
|
|
|
include ../config.mak
|
2001-07-30 23:22:07 +00:00
|
|
|
CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H
|
2001-07-22 14:37:44 +00:00
|
|
|
|
2001-08-15 13:04:23 +00:00
|
|
|
OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \
|
2001-07-22 14:37:44 +00:00
|
|
|
avidec.o ffm.o \
|
|
|
|
avio.o aviobuf.o utils.o \
|
2002-04-08 12:32:01 +00:00
|
|
|
file.o img.o au.o gif.o mov.o
|
2001-08-13 21:37:10 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_GRAB),yes)
|
|
|
|
OBJS+= grab.o audio.o
|
|
|
|
endif
|
2001-07-22 14:37:44 +00:00
|
|
|
|
2001-08-15 22:33:03 +00:00
|
|
|
ifneq ($(CONFIG_WIN32),yes)
|
|
|
|
OBJS+= udp.o http.o
|
|
|
|
endif
|
|
|
|
|
2001-07-22 14:37:44 +00:00
|
|
|
LIB= libav.a
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
rm -f $@
|
|
|
|
$(AR) rcs $@ $(OBJS)
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *~ *.a
|
|
|
|
|