diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:39:47 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:39:47 +0000 |
commit | 773cefc6026708bb3be62966ecb0c4f5ede21cfd (patch) | |
tree | a3abb8ecd0fe9252ddbbf7ace8617574426758d8 | |
parent | 96707bb78348d5e49ac4f8a08c8fca5a2eb1dc1d (diff) | |
download | ffmpeg-773cefc6026708bb3be62966ecb0c4f5ede21cfd.tar.gz |
added installlib target to install static libraries and includes
Originally committed as revision 683 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 1dcdd3ec5a..fd0903a725 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -10,7 +10,8 @@ VPATH=$(SRC_PATH)/libavcodec CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. LDFLAGS= -g -OBJS= common.o utils.o mpegvideo.o h263.o jrevdct.o jfdctfst.o \ +OBJS= common.o utils.o mem.o allcodecs.o \ + mpegvideo.o h263.o jrevdct.o jfdctfst.o \ mpegaudio.o ac3enc.o mjpeg.o resample.o dsputil.o \ motion_est.o imgconvert.o imgresample.o msmpeg4.o \ mpeg12.o h263dec.o rv10.o mpegaudiodec.o pcm.o simple_idct.o \ @@ -131,7 +132,6 @@ motion-test: motion_test.o $(LIB) $(CC) -o $@ $^ install: all -# install -m 644 $(LIB) $(prefix)/lib ifeq ($(BUILD_SHARED),yes) install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so ln -sf $(prefix)/lib/libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so @@ -140,6 +140,13 @@ ifeq ($(BUILD_SHARED),yes) install -m 644 avcodec.h $(prefix)/include/ffmpeg/avcodec.h install -m 644 common.h $(prefix)/include/ffmpeg/common.h endif + +installlib: all + install -m 644 $(LIB) $(prefix)/lib + mkdir -p $(prefix)/include/ffmpeg + install -m 644 $(SRC_PATH)/libavcodec/avcodec.h $(SRC_PATH)/libavcodec/common.h \ + $(prefix)/include/ffmpeg + # # include dependency files if they exist # |