Mercurial > libavcodec.hg
comparison Makefile @ 2564:ad15cccd015f libavcodec
add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
author | michael |
---|---|
date | Wed, 16 Mar 2005 19:11:58 +0000 |
parents | dd8c4d4b8abc |
children | 99bcd49a3677 |
comparison
equal
deleted
inserted
replaced
2563:1e52ef4887b5 | 2564:ad15cccd015f |
---|---|
300 ifeq ($(BUILD_SHARED),yes) | 300 ifeq ($(BUILD_SHARED),yes) |
301 install: all install-headers | 301 install: all install-headers |
302 ifeq ($(CONFIG_WIN32),yes) | 302 ifeq ($(CONFIG_WIN32),yes) |
303 install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)" | 303 install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)" |
304 else | 304 else |
305 install -d $(prefix)/lib | 305 install -d $(libdir) |
306 install $(INSTALLSTRIP) -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so | 306 install $(INSTALLSTRIP) -m 755 $(SLIB) $(libdir)/libavcodec-$(VERSION).so |
307 ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so | 307 ln -sf libavcodec-$(VERSION).so $(libdir)/libavcodec.so |
308 ldconfig || true | 308 ldconfig || true |
309 endif | 309 endif |
310 ifeq ($(CONFIG_PP),yes) | 310 ifeq ($(CONFIG_PP),yes) |
311 $(MAKE) -C libpostproc $@ | 311 $(MAKE) -C libpostproc $@ |
312 endif | 312 endif |
313 else | 313 else |
314 install: | 314 install: |
315 endif | 315 endif |
316 | 316 |
317 installlib: all install-headers | 317 installlib: all install-headers |
318 install -m 644 $(LIB) "$(prefix)/lib" | 318 install -m 644 $(LIB) "$(libdir)" |
319 | 319 |
320 install-headers: | 320 install-headers: |
321 mkdir -p "$(prefix)/include/ffmpeg" | 321 mkdir -p "$(prefix)/include/ffmpeg" |
322 install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \ | 322 install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \ |
323 $(SRC_PATH)/libavcodec/common.h \ | 323 $(SRC_PATH)/libavcodec/common.h \ |