~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to ffmpeg/Makefile.null

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-11-15 10:34:50 UTC
  • mfrom: (1.2.1 upstream) (2.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20061115103450-qgafwcks2lkhctlj
* New upstream release.
* Enable video support.
* Fix mismatched #endif in mscommon.h, closes: #398307.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Main ffmpeg Makefile
2
 
# (c) 2000, 2001 Gerard Lantau
3
 
#
4
 
include config.mak
5
 
 
6
 
CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav 
7
 
LDFLAGS= -g 
8
 
ifeq ($(TARGET_GPROF),yes)
9
 
CFLAGS+=-p
10
 
LDFLAGS+=-p
11
 
endif
12
 
 
13
 
PROG= ffmpeg ffserver
14
 
 
15
 
all:
16
 
 
17
 
lib:
18
 
        $(MAKE) -C libavcodec all
19
 
        $(MAKE) -C libav all
20
 
 
21
 
ffmpeg: ffmpeg.o libav/libav.a libavcodec/libavcodec.a
22
 
        gcc $(LDFLAGS) -o $@ $^ -lm
23
 
 
24
 
ffserver: ffserver.o libav/libav.a libavcodec/libavcodec.a
25
 
        gcc $(LDFLAGS) -o $@ $^ -lm
26
 
 
27
 
%.o: %.c
28
 
        gcc $(CFLAGS) -c -o $@ $< 
29
 
 
30
 
install:
31
 
 
32
 
clean: 
33
 
        $(MAKE) -C libavcodec clean
34
 
        $(MAKE) -C libav clean
35
 
        rm -f *.o *~ gmon.out TAGS $(PROG) 
36
 
 
37
 
distclean: clean
38
 
        $(MAKE) -C libavcodec distclean
39
 
        rm -f config.mak config.h
40
 
 
41
 
TAGS:
42
 
        etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
43
 
        
44
 
        
45
 
distdir:
46
 
        cp -rf * $(distdir)/.
47
 
        cd $(distdir); $(MAKE) distclean
48
 
 
49
 
install:
50
 
 
51
 
uninstall: