Revision c11c2bc2 Makefile

View differences:

Makefile
6 6

  
7 7
VPATH=$(SRC_PATH)
8 8

  
9
CFLAGS=$(OPTFLAGS) -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
9
CFLAGS=$(OPTFLAGS) -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
10 10
LDFLAGS+= -g 
11 11

  
12 12
ifeq ($(TARGET_GPROF),yes)
......
91 91

  
92 92
OBJS = ffmpeg.o ffserver.o cmdutils.o $(FFPLAY_O)
93 93
SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
94
FFLIBS = -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF)
94
FFLIBS = -L./libavformat -lavformat$(BUILDSUF) -L./libavcodec -lavcodec$(BUILDSUF) -L./libavutil -lavutil$(BUILDSUF)
95 95

  
96 96
all: lib $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC)
97 97

  
98 98
lib:
99
	$(MAKE) -C libavutil all
99 100
	$(MAKE) -C libavcodec all
100 101
	$(MAKE) -C libavformat all
101 102

  
......
140 141
.PHONY: install
141 142

  
142 143
install: all install-man $(INSTALLVHOOK)
144
	$(MAKE) -C libavutil install
143 145
	$(MAKE) -C libavcodec install
144 146
	$(MAKE) -C libavformat install
145 147
	install -d "$(bindir)"
......
162 164
	$(MAKE) -C vhook install
163 165

  
164 166
installlib:
167
	$(MAKE) -C libavutil installlib
165 168
	$(MAKE) -C libavcodec installlib
166 169
	$(MAKE) -C libavformat installlib
167 170

  
......
182 185
	@for i in $(DEP_LIBS) ; do if $(TEST) $$i -nt .libs ; then touch .libs; fi ; done
183 186

  
184 187
clean: $(CLEANVHOOK)
188
	$(MAKE) -C libavutil clean
185 189
	$(MAKE) -C libavcodec clean
186 190
	$(MAKE) -C libavformat clean
187 191
	$(MAKE) -C tests clean

Also available in: Unified diff