Lines 197-216
Link Here
|
197 |
|
197 |
|
198 |
install: all |
198 |
install: all |
199 |
ifeq ($(BUILD_SHARED),yes) |
199 |
ifeq ($(BUILD_SHARED),yes) |
200 |
install -d $(prefix)/lib |
200 |
install -d $(DESTDIR)$(prefix)/lib |
201 |
install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so |
201 |
install -s -m 755 $(SLIB) $(DESTDIR)$(prefix)/lib/libavcodec-$(VERSION).so |
202 |
ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so |
202 |
install -d $(DESTDIR)$(prefix)/include/ffmpeg |
203 |
ldconfig || true |
203 |
install -m 644 $(VPATH)/avcodec.h $(DESTDIR)$(prefix)/include/ffmpeg/avcodec.h |
204 |
mkdir -p $(prefix)/include/ffmpeg |
204 |
install -m 644 $(VPATH)/common.h $(DESTDIR)$(prefix)/include/ffmpeg/common.h |
205 |
install -m 644 $(VPATH)/avcodec.h $(prefix)/include/ffmpeg/avcodec.h |
|
|
206 |
install -m 644 $(VPATH)/common.h $(prefix)/include/ffmpeg/common.h |
207 |
endif |
205 |
endif |
208 |
|
206 |
|
209 |
installlib: all |
207 |
installlib: all |
210 |
install -m 644 $(LIB) $(prefix)/lib |
208 |
install -m 644 $(LIB) $(DESTDIR)$(prefix)/lib |
211 |
mkdir -p $(prefix)/include/ffmpeg |
209 |
install -d $(DESTDIR)$(prefix)/include/ffmpeg |
212 |
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h $(SRC_PATH)/libavcodec/common.h \ |
210 |
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h $(SRC_PATH)/libavcodec/common.h \ |
213 |
$(prefix)/include/ffmpeg |
211 |
$(DESTDIR)$(prefix)/include/ffmpeg |
214 |
|
212 |
|
215 |
# |
213 |
# |
216 |
# include dependency files if they exist |
214 |
# include dependency files if they exist |