Mercurial > libavformat.hg
annotate Makefile @ 16:863c1133ba73 libavformat
libav -> libavformat in Makefile patch by (Thomas Jarosch <tomj at simonv dot com>)
author | michaelni |
---|---|
date | Mon, 30 Dec 2002 01:07:47 +0000 |
parents | 06b1347b3c8e |
children | 3d52de18ecc3 |
rev | line source |
---|---|
0 | 1 # |
2 # libavformat Makefile | |
3 # (c) 2000, 2001, 2002 Fabrice Bellard | |
4 # | |
5 include ../config.mak | |
6 | |
2 | 7 VPATH=$(SRC_PATH)/libavformat |
0 | 8 |
9 CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE | |
10 | |
11 OBJS= utils.o cutils.o allformats.o | |
12 | |
13 # mux and demuxes | |
14 OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o asf.o \ | |
15 avienc.o avidec.o wav.o swf.o au.o gif.o mov.o jpeg.o dv.o framehook.o | |
16 # file I/O | |
17 OBJS+= avio.o aviobuf.o file.o | |
18 | |
19 ifeq ($(BUILD_STRPTIME),yes) | |
20 OBJS+= strptime.o | |
21 endif | |
22 | |
23 ifeq ($(CONFIG_VIDEO4LINUX),yes) | |
24 OBJS+= grab.o | |
25 endif | |
26 | |
27 ifeq ($(CONFIG_AUDIO_OSS),yes) | |
28 OBJS+= audio.o | |
29 endif | |
30 | |
31 ifeq ($(CONFIG_AUDIO_BEOS),yes) | |
32 OBJS+= beosaudio.o | |
33 endif | |
34 | |
35 ifeq ($(CONFIG_NETWORK),yes) | |
36 OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o | |
37 # BeOS network stuff | |
1
464f4e8aa417
More changes to make things compile on more platforms
philipjsg
parents:
0
diff
changeset
|
38 ifeq ($(NEED_INET_ATON),yes) |
0 | 39 OBJS+= barpainet.o |
40 endif | |
41 endif | |
42 | |
43 ifeq ($(CONFIG_VORBIS),yes) | |
44 OBJS+= ogg.o | |
45 endif | |
46 | |
47 LIB= libavformat.a | |
48 | |
49 all: $(LIB) | |
50 | |
51 $(LIB): $(OBJS) | |
52 rm -f $@ | |
53 $(AR) rc $@ $(OBJS) | |
54 $(RANLIB) $@ | |
55 | |
56 installlib: all | |
57 install -m 644 $(LIB) $(prefix)/lib | |
58 mkdir -p $(prefix)/include/ffmpeg | |
16
863c1133ba73
libav -> libavformat in Makefile patch by (Thomas Jarosch <tomj at simonv dot com>)
michaelni
parents:
2
diff
changeset
|
59 install -m 644 $(SRC_PATH)/libavformat/avformat.h $(SRC_PATH)/libavformat/avio.h \ |
863c1133ba73
libav -> libavformat in Makefile patch by (Thomas Jarosch <tomj at simonv dot com>)
michaelni
parents:
2
diff
changeset
|
60 $(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \ |
863c1133ba73
libav -> libavformat in Makefile patch by (Thomas Jarosch <tomj at simonv dot com>)
michaelni
parents:
2
diff
changeset
|
61 $(SRC_PATH)/libavformat/rtspcodes.h \ |
0 | 62 $(prefix)/include/ffmpeg |
63 | |
64 %.o: %.c | |
65 $(CC) $(CFLAGS) -c -o $@ $< | |
66 | |
67 # BeOS: remove -Wall to get rid of all the "multibyte constant" warnings | |
68 %.o: %.cpp | |
69 g++ $(subst -Wall,,$(CFLAGS)) -c -o $@ $< | |
70 | |
71 clean: | |
72 rm -f *.o *~ *.a |