You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
Add installlib and install-headers targets like everywhere else.
Originally committed as revision 4977 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -48,7 +48,7 @@ $(LIB): $(OBJS)
|
|||||||
$(AR) rc $@ $(OBJS)
|
$(AR) rc $@ $(OBJS)
|
||||||
$(RANLIB) $@
|
$(RANLIB) $@
|
||||||
|
|
||||||
install: all
|
install: all install-headers
|
||||||
ifeq ($(BUILD_SHARED),yes)
|
ifeq ($(BUILD_SHARED),yes)
|
||||||
ifeq ($(CONFIG_WIN32),yes)
|
ifeq ($(CONFIG_WIN32),yes)
|
||||||
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
|
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
|
||||||
@@ -63,6 +63,11 @@ else
|
|||||||
$(LDCONFIG) || true
|
$(LDCONFIG) || true
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
installlib: all install-headers
|
||||||
|
install -m 644 $(LIB) "$(libdir)"
|
||||||
|
|
||||||
|
install-headers:
|
||||||
mkdir -p $(prefix)/include/postproc
|
mkdir -p $(prefix)/include/postproc
|
||||||
install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h
|
install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h
|
||||||
install -d $(libdir)/pkgconfig
|
install -d $(libdir)/pkgconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user