headers installation

Originally committed as revision 196 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Nick Kurshev 24 years ago
parent 0319c531fb
commit f840692ffb
  1. 4
      libavcodec/Makefile

@ -100,11 +100,13 @@ motion-test: motion_test.o $(LIB)
$(CC) -o $@ $^ $(CC) -o $@ $^
install: all install: all
# install -s -m 644 $(LIB) $(prefix)/lib # install -m 644 $(LIB) $(prefix)/lib
ifeq ($(BUILD_SHARED),yes) ifeq ($(BUILD_SHARED),yes)
install -s -m 755 $(SLIB) $(prefix)/lib install -s -m 755 $(SLIB) $(prefix)/lib
ln -sf $(prefix)/lib/$(SLIB) $(prefix)/lib/libffmpeg.so ln -sf $(prefix)/lib/$(SLIB) $(prefix)/lib/libffmpeg.so
ldconfig ldconfig
mkdir -p $(prefix)/include/libffmpeg
install -m 644 avcodec.h $(prefix)/include/libffmpeg/avcodec.h
endif endif
# #
# include dependency files if they exist # include dependency files if they exist

Loading…
Cancel
Save