headers installation

Originally committed as revision 196 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Nick Kurshev 2001-10-27 12:40:13 +00:00
parent 0319c531fb
commit f840692ffb
1 changed files with 3 additions and 1 deletions

View File

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