Revision 0cb8579a

View differences:

Makefile
11 11
       -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
12 12
LDFLAGS+= -g
13 13

  
14
ifeq ($(CONFIG_FFMPEG),yes)
15
MANPAGES=doc/ffmpeg.1
16
PROGS_G+=ffmpeg_g$(EXESUF)
17
PROGS+=ffmpeg$(EXESUF)
18
endif
19

  
20
ifeq ($(CONFIG_FFSERVER),yes)
21
MANPAGES+=doc/ffserver.1
22
PROGS+=ffserver$(EXESUF)
23
endif
14
PROGS-$(CONFIG_FFMPEG)   += ffmpeg
15
PROGS-$(CONFIG_FFPLAY)   += ffplay
16
PROGS-$(CONFIG_FFSERVER) += ffserver
24 17

  
25
ifeq ($(CONFIG_FFPLAY),yes)
26
MANPAGES+=doc/ffplay.1
27
PROGS_G+=ffplay_g$(EXESUF)
28
PROGS+=ffplay$(EXESUF)
29
endif
18
PROGS = $(addsuffix $(EXESUF), $(PROGS-yes))
19
PROGS_G = $(addsuffix _g$(EXESUF), $(PROGS-yes))
20
MANPAGES = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes)))
30 21

  
31 22
BASENAMES=ffmpeg ffplay ffserver
32 23
ALLPROGS=$(addsuffix $(EXESUF), $(BASENAMES))

Also available in: Unified diff