Mercurial > libavcodec.hg
changeset 3109:6ade7a72ae52 libavcodec
Add installlib and install-headers targets like everywhere else.
author | diego |
---|---|
date | Sat, 11 Feb 2006 16:50:45 +0000 |
parents | 8fae2a0e1674 |
children | b090207c3d18 |
files | libpostproc/Makefile |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpostproc/Makefile Sat Feb 11 16:46:09 2006 +0000 +++ b/libpostproc/Makefile Sat Feb 11 16:50:45 2006 +0000 @@ -48,7 +48,7 @@ $(AR) rc $@ $(OBJS) $(RANLIB) $@ -install: all +install: all install-headers ifeq ($(BUILD_SHARED),yes) ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" @@ -63,6 +63,11 @@ $(LDCONFIG) || true endif endif + +installlib: all install-headers + install -m 644 $(LIB) "$(libdir)" + +install-headers: mkdir -p $(prefix)/include/postproc install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h install -d $(libdir)/pkgconfig