comparison Makefile @ 25:d25a948e2019 libavutil

Separate header file installation from the general install target.
author diego
date Sat, 11 Feb 2006 17:44:06 +0000
parents 3b56407b3f96
children 254a8d098e95
comparison
equal deleted inserted replaced
24:2b3573111ff0 25:d25a948e2019
59 distclean: clean 59 distclean: clean
60 rm -f .depend 60 rm -f .depend
61 61
62 62
63 ifeq ($(BUILD_SHARED),yes) 63 ifeq ($(BUILD_SHARED),yes)
64 install: all install-headers 64 install: all
65 ifeq ($(CONFIG_WIN32),yes) 65 ifeq ($(CONFIG_WIN32),yes)
66 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" 66 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
67 else 67 else
68 install -d $(libdir) 68 install -d $(libdir)
69 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ 69 install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
76 endif 76 endif
77 else 77 else
78 install: 78 install:
79 endif 79 endif
80 80
81 installlib: all install-headers 81 installlib: all
82 install -m 644 $(LIB) "$(libdir)" 82 install -m 644 $(LIB) "$(libdir)"
83 83
84 install-headers: 84 install-headers:
85 mkdir -p "$(prefix)/include/ffmpeg" 85 mkdir -p "$(prefix)/include/ffmpeg"
86 install -m 644 $(SRC_PATH)/libavutil/avutil.h \ 86 install -m 644 $(SRC_PATH)/libavutil/avutil.h \